diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-03-21 10:52:24 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-22 07:44:15 +0100 |
commit | 43f20196716b68d334447c73e0221a6eacdfdb25 (patch) | |
tree | 3cc825233e13557b20fa1588a714200878c600b5 /hw | |
parent | 663dc4e7bbda2527e5dbf45fb1e0ed2b5a92d806 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]); |