summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hw/device-assignment.h')
-rw-r--r--hw/device-assignment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/device-assignment.h b/hw/device-assignment.h
index 0be62f450..a7b34e8cf 100644
--- a/hw/device-assignment.h
+++ b/hw/device-assignment.h
@@ -30,7 +30,7 @@
#include <sys/mman.h>
#include "qemu-common.h"
-#include "sys-queue.h"
+#include "qemu-queue.h"
#include "pci.h"
/* From include/linux/pci.h in the kernel sources */
@@ -104,7 +104,7 @@ struct AssignedDevInfo {
int dev;
int func;
AssignedDevice *assigned_dev;
- LIST_ENTRY(AssignedDevInfo) next;
+ QLIST_ENTRY(AssignedDevInfo) next;
int disable_iommu;
};