From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Levon Subject: SHUTDOWN_crash and vcpu deferrals Date: Fri, 20 Feb 2009 16:01:55 -0500 Message-ID: <20090220210155.GA5872@movementarian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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