diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index a205c6b113..aab02ebb98 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -2987,7 +2987,7 @@ static void vfio_realize(PCIDevice *pdev, Error **errp) int groupid; int i, ret; bool is_mdev; - char uuid[UUID_FMT_LEN]; + char uuid[UUID_STR_LEN]; char *name; if (!vbasedev->sysfsdev) {