From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: xm/xl shutdown does not work with HVM guest Date: Wed, 19 Feb 2014 14:24:33 -0500 Message-ID: <20140219192433.GB12602@phenom.dumpdata.com> References: <20140219185621.GC12300@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Saurabh Mishra Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 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 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 > > > >