summary refs log tree commit diff stats
path: root/python/qemu/utils/qemu_ga_client.py
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2025-08-22 02:40:42 -0400
committerCédric Le Goater <clg@redhat.com>2025-09-08 16:46:31 +0200
commitbb1a6f1f43374a1850c314c4d0e945667d013d07 (patch)
treeabf7b0185b16aa9284bebfb3fba42107a93a6420 /python/qemu/utils/qemu_ga_client.py
parent1b50621881241ac5bc75ae7f8aa4c278ada8a668 (diff)
downloadfocaccia-qemu-bb1a6f1f43374a1850c314c4d0e945667d013d07.tar.gz
focaccia-qemu-bb1a6f1f43374a1850c314c4d0e945667d013d07.zip
vfio: Introduce helper vfio_pci_from_vfio_device()
Introduce helper vfio_pci_from_vfio_device() to transform from VFIODevice
to VFIOPCIDevice, also to hide low level VFIO_DEVICE_TYPE_PCI type check.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250822064101.123526-5-zhenzhong.duan@intel.com
[ clg: Added documentation ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions