aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/vmport.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/vmport.c')
-rw-r--r--hw/misc/vmport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/misc/vmport.c b/hw/misc/vmport.c
index 94ae6ae..cd5716a 100644
--- a/hw/misc/vmport.c
+++ b/hw/misc/vmport.c
@@ -162,7 +162,8 @@ static void vmport_class_initfn(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = vmport_realizefn;
- dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
+ /* Reason: realize sets global port_state */
+ dc->cannot_instantiate_with_device_add_yet = true;
}
static const TypeInfo vmport_info = {