Re: kern/171118: [xen] FreeBSD XENHVM guest doesn#39; t shutdown cleanly
The following reply was made to PR kern/171118; it has been noted by GNATS. From: Mark Felder f...@feld.me To: =?ISO-8859-1?Q?Roger=20Pau=20Monn=E9?= roger@citrix.com, bug-follo...@freebsd.org Cc: Subject: Re: kern/171118: [xen] FreeBSD XENHVM guest doesn#39;t shutdown cleanly Date: Thu, 31 Oct 2013 09:59:18 -0500 Your patch works. It would be appreciated if this could make its way into 10.0-RELEASE. ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org
Re: kern/171118: [xen] FreeBSD XENHVM guest doesn
The following reply was made to PR kern/171118; it has been noted by GNATS. From: Mark Felder f...@feld.me To: shidj sh...@arraynetworks.com.cn, bug-followup bug-follo...@freebsd.org Cc: Subject: Re: kern/171118: [xen] FreeBSD XENHVM guest doesn Date: Mon, 21 Oct 2013 08:00:43 -0500 On Tue, Aug 13, 2013, at 21:01, Jason Shi wrote: Though you may not get exactly what you expect when you really want your VMs to halt. I'm struggling to think of a scenario where I want a VM to halt and not shutdown. ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org
Re: kern/171118: [xen] FreeBSD XENHVM guest doesn
The following reply was made to PR kern/171118; it has been noted by GNATS. From: Mark Felder f...@feld.me To: bug-followup bug-follo...@freebsd.org Cc: Subject: Re: kern/171118: [xen] FreeBSD XENHVM guest doesn Date: Mon, 21 Oct 2013 08:25:47 -0500 Quoting this in a reply to the PR -- it seems Jason's message was rejected by spam perhaps and didn't make it into GNATS? On Tue, Aug 13, 2013, at 21:01, Jason Shi wrote: After we lanuch a shutdown operation in Xen Center, Xen Server issues a clean_shutdown operation. And actually the signal sended to VM is halt. We can see that from the xen source log on dom0. e.g.: Aug 13 15:03:48 xenserver-lxpwbbml xenopsd: [debug|xenserver-lxpwbbml|7|Async.VM.clean_shutdown R:832f756cad74|xenops] VM = dc401e38-97af-5972-7150-d067d701fa88; domid = 115; Requesting domain halt FreeBSD VM receives the signal and do shutdown_nice(RB_HALT). This is a halt action which will not lead to a poweroff ending. So the VM domain will not be destroyed. Xen Server expected the target domain to be destroyed until it times out. Then Xen Center gets a timeout and it logs shutdown failed then. I think this a xen bug. But as a workaround, you can modify the xctrl_halt function from: shutdown_nice(RB_HALT); to shutdown_nice(RB_POWEROFF|RB_HALT); Though you may not get exactly what you expect when you really want your VMs to halt. Jason Shi ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org
Re: kern/171118: [xen] FreeBSD XENHVM guest doesn#39;t shutdown cleanly
The following reply was made to PR kern/171118; it has been noted by GNATS. From: Mark Felder f...@feld.me To: bug-follo...@freebsd.org Cc: Subject: Re: kern/171118: [xen] FreeBSD XENHVM guest doesn#39;t shutdown cleanly Date: Mon, 8 Oct 2012 16:35:26 -0500 NetBSD's documentation mentions a similar issue and their workaround is to enable the NetBSD powerd daemon in rc.conf. Perhaps we can figure out what their powerd daemon is doing so we can have a workaround? We can't run powerd as a domU because it's looking for cpufreq settings that aren't in sysctl. http://www.netbsd.org/ports/xen/howto.html It is also desirable to add powerd=YES in rc.conf. This way, the domain will be properly shut down if xm shutdown -Ror xm shutdown -H is used on the domain0. ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org