summary refs log tree commit diff stats
path: root/include/hw/misc/iosb.h
diff options
context:
space:
mode:
authorJing Liu <jing2.liu@intel.com>2023-09-25 22:14:04 -0400
committerCédric Le Goater <clg@redhat.com>2023-10-05 22:04:51 +0200
commit45d85f6228117dbe01d3680f1ad834389f69012f (patch)
tree20f1ac692221dafc24ae4dc8217bc249f9c625b8 /include/hw/misc/iosb.h
parentc06327c9db960158edc8756dbc0eb25fab920656 (diff)
downloadfocaccia-qemu-45d85f6228117dbe01d3680f1ad834389f69012f.tar.gz
focaccia-qemu-45d85f6228117dbe01d3680f1ad834389f69012f.zip
vfio/pci: detect the support of dynamic MSI-X allocation
Kernel provides the guidance of dynamic MSI-X allocation support of
passthrough device, by clearing the VFIO_IRQ_INFO_NORESIZE flag to
guide user space.

Fetch the flags from host to determine if dynamic MSI-X allocation is
supported.

Originally-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Jing Liu <jing2.liu@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw/misc/iosb.h')
0 files changed, 0 insertions, 0 deletions