summary refs log tree commit diff stats
path: root/hw/input/vmmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/vmmouse.c')
-rw-r--r--hw/input/vmmouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/input/vmmouse.c b/hw/input/vmmouse.c
index 600e4a23d5..6a5053352a 100644
--- a/hw/input/vmmouse.c
+++ b/hw/input/vmmouse.c
@@ -282,10 +282,11 @@ static void vmmouse_class_initfn(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = vmmouse_realizefn;
-    dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
     dc->reset = vmmouse_reset;
     dc->vmsd = &vmstate_vmmouse;
     dc->props = vmmouse_properties;
+    /* Reason: pointer property "ps2_mouse" */
+    dc->cannot_instantiate_with_device_add_yet = true;
 }
 
 static const TypeInfo vmmouse_info = {