Home
last modified time | relevance | path

Searched hist:"2 bce0400579f58ccb33d201cde9e63c39750faf4" (Results 1 – 2 of 2) sorted by relevance

/qemu/hw/display/
H A Dqxl.h2bce0400579f58ccb33d201cde9e63c39750faf4 Wed Jul 20 09:20:55 UTC 2011 Gerd Hoffmann <kraxel@redhat.com> qxl: error handling fixes and cleanups.

Add qxl_guest_bug() function which is supposed to be called in case
sanity checks of guest requests fail. It raises an error IRQ and
logs a message in case guest debugging is enabled.

Make PANIC_ON() abort instead of exit. That macro should be used
for qemu bugs only, any guest-triggerable stuff should use the new
qxl_guest_bug() function instead.

Convert a few easy cases from PANIC_ON() to qxl_guest_bug() to
show intended usage.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
H A Dqxl.c2bce0400579f58ccb33d201cde9e63c39750faf4 Wed Jul 20 09:20:55 UTC 2011 Gerd Hoffmann <kraxel@redhat.com> qxl: error handling fixes and cleanups.

Add qxl_guest_bug() function which is supposed to be called in case
sanity checks of guest requests fail. It raises an error IRQ and
logs a message in case guest debugging is enabled.

Make PANIC_ON() abort instead of exit. That macro should be used
for qemu bugs only, any guest-triggerable stuff should use the new
qxl_guest_bug() function instead.

Convert a few easy cases from PANIC_ON() to qxl_guest_bug() to
show intended usage.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>