WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] how to prevent crashes in notify_via_xen_event_channel durin

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how to prevent crashes in notify_via_xen_event_channel during shutdown/crash
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 7 Sep 2010 21:52:07 +0200
Delivery-date: Tue, 07 Sep 2010 12:52:52 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1283889129; l=459; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=YRh4Jp3FjqsC60vUXwn8AgT0pA8=; b=DpWqyaSmIscDTfX8WIDWdRVEA0GZvHq5mwE50F4Ny4W2JzDtTqbF/zmaZ4pniJO769J Ne6Q+8vg0VhgueJFcFIQxDRTflCE+l6D901KhDR2E7cAs70s3PjdkhCNIKeY+5Ur2nZHs ZWu+uV/cayknZBAby9mPhmliXZ7t5/7NjZo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hello,

I'm seeing crashes with 4.0.1 in notify_via_xen_event_channel() after
evtchn_destroy() was already executed, the ASSERT triggers.
There are a few calls to notify_via_xen_event_channel(), only
hvm_send_assist_req() seems to check the domain->is_shutting_down flag.
xen-unstable is not much different in that area.

How should a check for an already destroyed eventchannel look like?
Maybe like its done in free_xen_event_channel()?

Olaf


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>