summaryrefslogtreecommitdiffstats
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorMarkus Armbruster2015-01-19 15:52:28 +0100
committerMichael S. Tsirkin2015-02-26 12:42:15 +0100
commit133e9b228df16d11de01529c217417e78d1d9370 (patch)
tree0be3b27cb459ba0edbb62439f6640fc9dc30ca26 /hw/display/vga-pci.c
parentacpi: drop min-bytes in build_package() (diff)
downloadqemu-133e9b228df16d11de01529c217417e78d1d9370.tar.gz
qemu-133e9b228df16d11de01529c217417e78d1d9370.tar.xz
qemu-133e9b228df16d11de01529c217417e78d1d9370.zip
pci: Convert core to realize
Implement DeviceClass methods realize() and unrealize() instead of init() and exit(). The core's initialization errors now get propagated properly, and QMP sends them instead of an unspecific "Device initialization failed" error. Unrealize can't fail, so no change there. PCIDeviceClass is unchanged: it still provides init() and exit(). Therefore, device models' errors are still not propagated. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Diffstat (limited to 'hw/display/vga-pci.c')
0 files changed, 0 insertions, 0 deletions