diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 12:20:55 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-01 12:43:49 +0200 |
commit | 2bce0400579f58ccb33d201cde9e63c39750faf4 (patch) | |
tree | d8dfaf0fc5a24355c3fe9b7b328f72d6df3191fc /hw/ps2.c | |
parent | 8b92e2989eddaca0bef5076135d2dee3c06f6700 (diff) | |
download | qemu-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/ps2.c')
0 files changed, 0 insertions, 0 deletions