From 43f20196716b68d334447c73e0221a6eacdfdb25 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 21 Mar 2011 10:52:24 +0100 Subject: vmmouse: Fix initialization Latest refactorings left vmmouse nonfunctional behind. Fix it by adding the required device initialization. Signed-off-by: Jan Kiszka Signed-off-by: Aurelien Jarno --- hw/pc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/pc.c b/hw/pc.c index 4d67d9f..6939c04 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]); -- cgit v1.1