aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-03-21 10:52:24 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-22 07:44:15 +0100
commit43f20196716b68d334447c73e0221a6eacdfdb25 (patch)
tree3cc825233e13557b20fa1588a714200878c600b5 /hw
parent663dc4e7bbda2527e5dbf45fb1e0ed2b5a92d806 (diff)
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')
-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]);