summaryrefslogtreecommitdiffstats
path: root/hw/vfio/amd-xgbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/amd-xgbe.c')
-rw-r--r--hw/vfio/amd-xgbe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/amd-xgbe.c b/hw/vfio/amd-xgbe.c
index 0c4ec4ba25..ee64a3b4a2 100644
--- a/hw/vfio/amd-xgbe.c
+++ b/hw/vfio/amd-xgbe.c
@@ -20,6 +20,7 @@ static void amd_xgbe_realize(DeviceState *dev, Error **errp)
VFIOAmdXgbeDeviceClass *k = VFIO_AMD_XGBE_DEVICE_GET_CLASS(dev);
vdev->compat = g_strdup("amd,xgbe-seattle-v1a");
+ vdev->num_compat = 1;
k->parent_realize(dev, errp);
}