]> Git Repo - qemu.git/blobdiff - hw/misc/vmport.c
Merge remote-tracking branch 'remotes/famz/tags/docker-and-block-pull-request' into...
[qemu.git] / hw / misc / vmport.c
index c763811a9f0bbddd3991586ef8ec238213a4fbba..165500223fe474318afb12e2130b17ffa8145533 100644 (file)
@@ -25,7 +25,7 @@
 #include "hw/hw.h"
 #include "hw/isa/isa.h"
 #include "hw/i386/pc.h"
-#include "sysemu/kvm.h"
+#include "sysemu/hw_accel.h"
 #include "hw/qdev.h"
 
 //#define VMPORT_DEBUG
@@ -163,7 +163,7 @@ static void vmport_class_initfn(ObjectClass *klass, void *data)
 
     dc->realize = vmport_realizefn;
     /* Reason: realize sets global port_state */
-    dc->cannot_instantiate_with_device_add_yet = true;
+    dc->user_creatable = false;
 }
 
 static const TypeInfo vmport_info = {
This page took 0.024016 seconds and 4 git commands to generate.