* Dom0 crash after bad use of gntdev
@ 2010-12-06 5:43 James Harper
2010-12-06 18:18 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: James Harper @ 2010-12-06 5:43 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Dom0 crash after bad use of gntdev
2010-12-06 5:43 Dom0 crash after bad use of gntdev James Harper
@ 2010-12-06 18:18 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2010-12-06 18:18 UTC (permalink / raw)
To: James Harper; +Cc: xen-devel
On 12/05/2010 09:43 PM, James Harper wrote:
> 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.
In principle the kernel shouldn't crash as a result from misuse of an
ABI, and it often indicates some problem which might affect things in a
more subtle way under other circumstances. Can you post the details of
your crash and what your program is doing?
Thanks,
J
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-06 18:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06 5:43 Dom0 crash after bad use of gntdev James Harper
2010-12-06 18:18 ` Jeremy Fitzhardinge
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.