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 13:56:21 -0500 Message-ID: <20140219185621.GC12300@phenom.dumpdata.com> References: 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 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