]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/vfio/vfio-platform.h
Merge remote-tracking branch 'remotes/vivier/tags/m68k-next-pull-request' into staging
[mirror_qemu.git] / include / hw / vfio / vfio-platform.h
index 9baaa2db09b84f3e1bd487c8f1d7d68397602f7e..4ec70c813a2ce69cd543048de19df342427ce313 100644 (file)
@@ -20,7 +20,6 @@
 #include "hw/vfio/vfio-common.h"
 #include "qemu/event_notifier.h"
 #include "qemu/queue.h"
-#include "hw/irq.h"
 
 #define TYPE_VFIO_PLATFORM "vfio-platform"
 
@@ -53,8 +52,9 @@ typedef struct VFIOPlatformDevice {
     VFIORegion **regions;
     QLIST_HEAD(, VFIOINTp) intp_list; /* list of IRQs */
     /* queue of pending IRQs */
-    QSIMPLEQ_HEAD(pending_intp_queue, VFIOINTp) pending_intp_queue;
-    char *compat; /* compatibility string */
+    QSIMPLEQ_HEAD(, VFIOINTp) pending_intp_queue;
+    char *compat; /* DT compatible values, separated by NUL */
+    unsigned int num_compat; /* number of compatible values */
     uint32_t mmap_timeout; /* delay to re-enable mmaps after interrupt */
     QEMUTimer *mmap_timer; /* allows fast-path resume after IRQ hit */
     QemuMutex intp_mutex; /* protect the intp_list IRQ state */