aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/calxeda-xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/calxeda-xgmac.c')
-rw-r--r--hw/vfio/calxeda-xgmac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vfio/calxeda-xgmac.c b/hw/vfio/calxeda-xgmac.c
index bb15d588e5..7bb17af7ad 100644
--- a/hw/vfio/calxeda-xgmac.c
+++ b/hw/vfio/calxeda-xgmac.c
@@ -38,6 +38,8 @@ static void vfio_calxeda_xgmac_class_init(ObjectClass *klass, void *data)
dc->realize = calxeda_xgmac_realize;
dc->desc = "VFIO Calxeda XGMAC";
dc->vmsd = &vfio_platform_calxeda_xgmac_vmstate;
+ /* Supported by TYPE_VIRT_MACHINE */
+ dc->user_creatable = true;
}
static const TypeInfo vfio_calxeda_xgmac_dev_info = {