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] Dom0 crash after bad use of gntdev

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Dom0 crash after bad use of gntdev
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 6 Dec 2010 16:43:36 +1100
Delivery-date: Sun, 05 Dec 2010 21:44:30 -0800
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
Thread-index: AcuVCIcB2STz2+CXQWih+B5c6Z6m4Q==
Thread-topic: Dom0 crash after bad use of gntdev
I have a bug in some code running in Dom0 that uses gntdev and it's
crashing Dom0 when it goes wrong. I'm not sure exactly what it's doing
wrong but is it acceptable for this to happen? The things I know are
that I'm passing an invalid array to xc_gnttab_map_grant_refs and then
unmapping it without checking the result of the mapping. I'm not sure
what else is going on aside from those two things.

James


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

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