All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Saurabh Mishra <saurabh.globe@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: xm/xl shutdown does not work with HVM guest
Date: Wed, 19 Feb 2014 14:24:33 -0500	[thread overview]
Message-ID: <20140219192433.GB12602@phenom.dumpdata.com> (raw)
In-Reply-To: <CAMnwyJ2DTYtPFYdmkdXRidSPt_0fsZSY8s_6oEHoAemaWyV4bA@mail.gmail.com>

On Wed, Feb 19, 2014 at 11:02:25AM -0800, Saurabh Mishra wrote:
> > I'm use SLES SuSE 11 SP3.
> > As you initial domain or your guests? If it is with SLES does the issue
> > show up if you use the latest version of Xen?
> 
> We have two VMs. One is a WindRiver based VM and the other one a SLES SuSE
> 11 SP2 VM.
> 
> SuSE 11 SP2 VM shutdown properly with xen_platform_pci=0 however WR one
> does not and hence the question what config or driver do I need to enable
> in WR HVM guest such that it accepts 'xl/xm trigger <vm> power'?

Lets step back a minute. What is the version of Xen you are running.

> 
> Thanks,
> /Saurabh
> 
> 
> On Wed, Feb 19, 2014 at 10:56 AM, Konrad Rzeszutek Wilk <
> konrad.wilk@oracle.com> wrote:
> 
> > On Wed, Feb 19, 2014 at 10:50:12AM -0800, Saurabh Mishra wrote:
> > > Hi,
> > >
> > > I'd like to know what should be configured in the HVM guest such that it
> > > accepts 'xm/xl shutdown' graceful shutdown signal.
> > >
> > > 'xm/xl shutdown' works great when I have xen_platform_pci=1 (PV on HVM)
> > > however whenever I disable xen_platform_pci=0, it does not work.
> >
> > Right. That is expected.
> >
> > >
> > > I also tried 'xl/xm trigger <vm> power' and this too does not work if
> > > xen_platform_pci=0 is set. We do have lot of PCI pass-through devices.
> >
> > Oh, that looks to be a bug then.
> >
> > >
> > > Our Xen cfg file looks like this :-
> > >
> > > # HVM specific
> > > kernel = "hvmloader"
> > > builder = "hvm"
> > > device_model = "qemu-dm"
> > >
> > > # Enable ACPI support
> > > acpi = 1
> > >
> > > # Enable serial console
> > > serial = "pty"
> > >
> > > # Enable VNC
> > > vnc = 1
> > > vnclisten = "0.0.0.0"
> > >
> > > pci_msitranslate = 0
> > >
> > > xen_platform_pci = 1
> > >
> > > # Default behavior for following events
> > > on_reboot = "destroy"
> > >
> > >
> > > I'm use SLES SuSE 11 SP3.
> >
> > As you initial domain or your guests? If it is with SLES does the issue
> > show up if you use the latest version of Xen?
> > >
> > > Thanks,
> > > /Saurabh
> >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xen.org
> > > http://lists.xen.org/xen-devel
> >
> >

  reply	other threads:[~2014-02-19 19:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 18:50 xm/xl shutdown does not work with HVM guest Saurabh Mishra
2014-02-19 18:56 ` Konrad Rzeszutek Wilk
2014-02-19 19:02   ` Saurabh Mishra
2014-02-19 19:24     ` Konrad Rzeszutek Wilk [this message]
2014-02-19 19:33       ` Saurabh Mishra
2014-02-19 19:52         ` Konrad Rzeszutek Wilk
2014-02-19 19:55           ` Saurabh Mishra
2014-02-20  9:15     ` Ian Campbell
2014-02-21  0:26       ` Saurabh Mishra
2014-02-21 17:51         ` Saurabh Mishra
2014-02-21 21:13           ` Konrad Rzeszutek Wilk
2014-02-21 22:04             ` Saurabh Mishra
2014-02-24 11:05           ` Ian Campbell
2014-02-20  9:14   ` Ian Campbell

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=20140219192433.GB12602@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=saurabh.globe@gmail.com \
    --cc=xen-devel@lists.xen.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.