summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorJan Kiszka2011-03-21 10:52:24 +0100
committerAurelien Jarno2011-03-22 07:44:15 +0100
commit43f20196716b68d334447c73e0221a6eacdfdb25 (patch)
tree3cc825233e13557b20fa1588a714200878c600b5 /hw/pc.c
parentvmmouse: Fix typo preventing x86-64 build (diff)
downloadqemu-43f20196716b68d334447c73e0221a6eacdfdb25.tar.gz
qemu-43f20196716b68d334447c73e0221a6eacdfdb25.tar.xz
qemu-43f20196716b68d334447c73e0221a6eacdfdb25.zip
vmmouse: Fix initialization
Latest refactorings left vmmouse nonfunctional behind. Fix it by adding the required device initialization. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 4d67d9f9be..6939c04560 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1142,6 +1142,7 @@ void pc_basic_device_init(qemu_irq *isa_irq,
vmmouse = isa_try_create("vmmouse");
if (vmmouse) {
qdev_prop_set_ptr(&vmmouse->qdev, "ps2_mouse", i8042);
+ qdev_init_nofail(&vmmouse->qdev);
}
port92 = isa_create_simple("port92");
port92_init(port92, &a20_line[1]);