Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Yoder Stuart-B08248 <B08248@freescale.com>
Cc: Alexander Graf <agraf@suse.de>,
	Bhushan Bharat-R65777 <R65777@freescale.com>,
	Wood Scott-B07421 <B07421@freescale.com>,
	"kvm@vger.kernel.org list" <kvm@vger.kernel.org>,
	"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>
Subject: Re: RFC: proposal for VM reset & shutdown hcall (v2)
Date: Tue, 2 Jul 2013 11:56:21 -0500	[thread overview]
Message-ID: <1372784181.8183.108@snotra> (raw)
In-Reply-To: <9F6FE96B71CF29479FF1CDC8046E1503633123@039-SN1MPN1-004.039d.mgd.msft.net> (from B08248@freescale.com on Tue Jul  2 10:33:58 2013)

On 07/02/2013 10:33:58 AM, Yoder Stuart-B08248 wrote:
> 
> 
> > -----Original Message-----
> > From: Alexander Graf [mailto:agraf@suse.de]
> > Sent: Tuesday, July 02, 2013 10:23 AM
> > To: Yoder Stuart-B08248
> > Cc: Bhushan Bharat-R65777; Wood Scott-B07421; kvm@vger.kernel.org  
> list; kvm-ppc@vger.kernel.org
> > Subject: Re: RFC: proposal for VM reset & shutdown hcall (v2)
> >
> > On 07/02/2013 05:07 PM, Yoder Stuart-B08248 wrote:
> > >  
> ------------------------------------------------------------------------
> > > Advertising reset and shutdown in device tree.
> > >
> > > A virtual machine can detect the availability of the reset
> > > and shutdown hcalls by looking at properties on the /hypervisor
> > > node.
> > >
> > >      Property name: has-reset
> >
> > I don't remember how ePAPR specifies this. Aren't keys in  
> /hypervisor
> > supposed to be common throughout hypervisors? So if Windriver wants  
> to
> > add a reset hypercall, they'd also add "has-reset"? How does the  
> guest
> > know which hcall number to issue?
> 
> ePAPR does not define how additional hypervisor specific properties
> are defined.
> 
> Since these are KVM-specific hcalls we should probably not name these
> generically and call them kvm-has-reset and kvm-has-shutdown.

kvm,has-reset and kvm,has-shutdown would be more stylistically correct.

This assumes that we're going to put this in Documentation/virtual/kvm/  
-- otherwise the prefix should be "qemu".

-Scott

  reply	other threads:[~2013-07-02 16:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 15:07 RFC: proposal for VM reset & shutdown hcall (v2) Yoder Stuart-B08248
2013-07-02 15:23 ` Alexander Graf
2013-07-02 15:33   ` Yoder Stuart-B08248
2013-07-02 16:56     ` Scott Wood [this message]
2013-07-02 19:11       ` Yoder Stuart-B08248

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=1372784181.8183.108@snotra \
    --to=scottwood@freescale.com \
    --cc=B07421@freescale.com \
    --cc=B08248@freescale.com \
    --cc=R65777@freescale.com \
    --cc=agraf@suse.de \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox