]> git.proxmox.com Git - qemu.git/commit
hw/qxl: exit on failure to register qxl interface
authorAlon Levy <alevy@redhat.com>
Wed, 3 Oct 2012 18:13:58 +0000 (20:13 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 8 Oct 2012 10:15:17 +0000 (12:15 +0200)
commite25a0651f4be22099122b5e14c77c354be0aa88b
tree5050076e4c00a68822d7b87c9f142c837ed5fc17
parentffe01e599f106bedf13ba0e0f6956735b1942a0c
hw/qxl: exit on failure to register qxl interface

This prevents a segfault later on when the device reset handler
tries to access a NULL ssd.worker since interface_attach_worker has
not been called.

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c