aboutsummaryrefslogtreecommitdiff
path: root/hw/input/vmmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/vmmouse.c')
-rw-r--r--hw/input/vmmouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/vmmouse.c b/hw/input/vmmouse.c
index abd032b794..600e4a23d5 100644
--- a/hw/input/vmmouse.c
+++ b/hw/input/vmmouse.c
@@ -282,7 +282,7 @@ static void vmmouse_class_initfn(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = vmmouse_realizefn;
- dc->no_user = 1;
+ dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
dc->reset = vmmouse_reset;
dc->vmsd = &vmstate_vmmouse;
dc->props = vmmouse_properties;