All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Razvan Cojocaru <rcojocaru@bitdefender.com>
Cc: xen-devel@lists.xenproject.org
Subject: Re: Pausing / unpausing a single domain VCPU via libxc
Date: Thu, 26 Jan 2017 08:53:30 -0700	[thread overview]
Message-ID: <588A298A02000078001344B9@prv-mh.provo.novell.com> (raw)
In-Reply-To: <a00c455c-7706-ef92-0d17-33a05712cf77@bitdefender.com>

>>> On 26.01.17 at 13:08, <rcojocaru@bitdefender.com> wrote:
> I see that there's currently no xc_vcpu_pause() (there's only
> xc_domain_pause(), which freezes all the VCPUs), but there's
> XEN_DOMCTL_gdbsx_pausevcpu, which is only used by
> tools/debugger/gdbsx/xg/xg_main.c.
> 
> Wouldn't it make sense to have a "regular" DOMCTL in libxc that the
> debugger, as well as other clients, would make use of (said
> xc_vcpu_pause() / xc_vcpu_unpause())?

I could imagine the main reason for it to not exist being that using
it may confuse the guest (seeing one or more of its vCPU-s no
longer respond for some arbitrary time period).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

      parent reply	other threads:[~2017-01-26 15:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 12:08 Pausing / unpausing a single domain VCPU via libxc Razvan Cojocaru
2017-01-26 15:14 ` Dario Faggioli
2017-01-26 15:42   ` Razvan Cojocaru
2017-01-26 16:00     ` Dario Faggioli
2017-01-26 16:03       ` Razvan Cojocaru
2017-01-26 15:53 ` Jan Beulich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=588A298A02000078001344B9@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=rcojocaru@bitdefender.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.