George Dunlap
2014-Apr-22 10:44 UTC
Re: [Xen-devel] substantial shutdown delay for PV guests with PCI -passthrough
On Sat, Apr 19, 2014 at 7:59 PM, Atom2 <ariel.atom2@web2web.at> wrote:> Hi Konrad, > thanks for your quick reply. I have re-added the other recipients that were > in the list prior to my reply from 2 April as I just saw that I somehow have > managed to drop those guys - which might also explain their silence to my > reply. > All: sorry for dropping you from my earlier reply. For your convenience I > have added my reply from 2 April at the end of this mail. > > Am 19.04.14 02:12, schrieb Konrad Rzeszutek Wilk: > >> On Fri, Apr 18, 2014 at 11:47:46PM +0200, Atom2 wrote: >>> >>> This is just a (very) gentle ping ... or have I missed out on a reply? >> >> >> I ran an PV guest with PCI passthrough this week and it had no trouble - >> didn't see 10 seconds or so. But I did the shutdown from within the >> guest (poweroff). > > For me it makes no difference timewise whether I issue a > xl shutdown guest > from dom0 or whether I issue > shutdown -h now > from a connection (i.e. ssh or screen or console) to the guest. The main > difference being that for the latter the delay is visible whereas for the > former, the delay is not so obvious because 'xl shutdown guest' from dom0 > due to its asynchronous nature returns immediately even when the guest is > still alive. > > One difference that I have noticed however is that for the shutdown from > _within_ the guest (i.e. shutdown -h now) the state of the guest remains 's' > in 'xl list' from the time the "system halted" message appears on screen > until the prompt returns in dom0 whereas for a shutdown from dom0 with 'xl > shutdown guest' the state changes from 's' to 'ps' for a number of seconds > before it is finally gone.Does it look anything like this? marc.info/?i=<CAFLBxZbOdU=uSwNBVRTB7_7yhPyRShda0asSOvv9J+xfoGxRnA@mail.gmail.com> (the log in question is /var/log/xen/xl-$DOMAINNAME.log) -George