[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Dom0 crash after bad use of gntdev


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.