]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/vfio/vfio-common.h
vfio/ccw/pci: Allow devices to opt-in for ballooning
[mirror_qemu.git] / include / hw / vfio / vfio-common.h
index a9036929b2208f563ed8a7ba6a927238e39a0234..15ea6c26fdbc347f0dd330afd890297a38fe60be 100644 (file)
@@ -112,6 +112,7 @@ typedef struct VFIODevice {
     bool reset_works;
     bool needs_reset;
     bool no_mmap;
+    bool balloon_allowed;
     VFIODeviceOps *ops;
     unsigned int num_irqs;
     unsigned int num_regions;
@@ -131,6 +132,7 @@ typedef struct VFIOGroup {
     QLIST_HEAD(, VFIODevice) device_list;
     QLIST_ENTRY(VFIOGroup) next;
     QLIST_ENTRY(VFIOGroup) container_next;
+    bool balloon_allowed;
 } VFIOGroup;
 
 typedef struct VFIODMABuf {