All of lore.kernel.org
 help / color / mirror / Atom feed
* SHUTDOWN_crash and vcpu deferrals
@ 2009-02-20 21:01 John Levon
  2009-02-20 21:35 ` Keir Fraser
  0 siblings, 1 reply; 7+ messages in thread
From: John Levon @ 2009-02-20 21:01 UTC (permalink / raw)
  To: xen-devel


If an HVM guest is waiting for an ioemu assist, when qemu isn't running, and
domain_shutdown(SHUTDOWN_crash) is called, then the domain isn't crashed
properly:

446 void domain_shutdown(struct domain *d, u8 reason)
447 { 
...
466  for_each_vcpu ( d, v )
467  {
468   if ( v->defer_shutdown )
469    continue; 

Nothing will ever end the deferral. I added code to bust through the
deferral if SHUTDOWN_crash was the reason, and it seemed to help, but
I'm not sure it's the right fix.

regards
john

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-23 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-20 21:01 SHUTDOWN_crash and vcpu deferrals John Levon
2009-02-20 21:35 ` Keir Fraser
2009-02-20 22:03   ` John Levon
2009-02-21  9:01     ` Keir Fraser
2009-02-23 16:51     ` Ian Jackson
2009-02-23 16:54       ` John Levon
2009-02-23 16:58         ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.