summary refs log tree commit diff stats
path: root/hw/vfio/helpers.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-22 12:40:11 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-22 10:04:22 +0200
commit0a0bda0acd529161d5cbed6c603ab89674a9af8c (patch)
tree809aec09cdae42f226ca5b3f1166d4f4cc1bab35 /hw/vfio/helpers.c
parentd3c6a18bc7affd3b89903d98d8a3125a3e1c9861 (diff)
downloadfocaccia-qemu-0a0bda0acd529161d5cbed6c603ab89674a9af8c.tar.gz
focaccia-qemu-0a0bda0acd529161d5cbed6c603ab89674a9af8c.zip
vfio/pci-quirks: Make vfio_add_*_cap() return bool
This is to follow the coding standand in qapi/error.h to return bool
for bool-valued functions.

Include below functions:
vfio_add_virt_caps()
vfio_add_nv_gpudirect_cap()
vfio_add_vmd_shadow_cap()

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>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions