aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-bt.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-07-20 12:20:55 +0300
committerGerd Hoffmann <kraxel@redhat.com>2011-08-01 12:43:49 +0200
commit2bce0400579f58ccb33d201cde9e63c39750faf4 (patch)
treed8dfaf0fc5a24355c3fe9b7b328f72d6df3191fc /hw/usb-bt.c
parent8b92e2989eddaca0bef5076135d2dee3c06f6700 (diff)
downloadqemu-2bce0400579f58ccb33d201cde9e63c39750faf4.zip
qemu-2bce0400579f58ccb33d201cde9e63c39750faf4.tar.gz
qemu-2bce0400579f58ccb33d201cde9e63c39750faf4.tar.bz2
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>
Diffstat (limited to 'hw/usb-bt.c')
0 files changed, 0 insertions, 0 deletions