Date: Thu, 2 Feb 2012 14:37:38 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Richard Kojedzinszky <krichy@tvnetwork.hu> Cc: freebsd-xen@freebsd.org Subject: Re: amd64 xen hvm shutdown Message-ID: <0ECDE507-94CF-4330-ABCE-59F9079B46F9@scsiguy.com> In-Reply-To: <alpine.DEB.2.02.1202022029300.6796@krichy.tvnetwork.hu> References: <alpine.DEB.2.02.1201251107330.19074@krichy.tvnetwork.hu> <4F1FD67B.3080305@freebsd.org> <alpine.DEB.2.02.1201251137001.19606@krichy.tvnetwork.hu> <alpine.DEB.2.02.1201260855210.30780@krichy.tvnetwork.hu> <alpine.DEB.2.02.1202022029300.6796@krichy.tvnetwork.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 2, 2012, at 12:31 PM, Richard Kojedzinszky wrote: > Dear users, >=20 > I am trying to compare the 8.2 i386 PV mode and 9.0 amd64 hvm mode, = regarding >=20 > $ xm shutdown >=20 > from outside. >=20 > While 8.2 PV shuts down well, 9.0 hvm does not. Is it an issue of the = xen hypervisor, or of freebsd? >=20 > What experience do others have? If you are using a FreeBSD amd64 kernel with Xen PV drivers installed, = shutdown behavior is controlled by the PV "control" driver. This driver notices updates to the = "control/shutdown" node in the XenStore and is supposed to act accordingly. For a reboot or power off event, it = simply calls shutdown_nice(RB_POWEROFF|RB_HALT), or shutdown_nice(0) as appropriate. = If you can capture the value of the shutdown node in the XenStore, it should be pretty easy to = debug this. -- Justin=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ECDE507-94CF-4330-ABCE-59F9079B46F9>