]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: add vfio_pci_config_space_read/write()
authorJohn Levon <john.levon@nutanix.com>
Wed, 7 May 2025 15:20:12 +0000 (16:20 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 9 May 2025 10:42:28 +0000 (12:42 +0200)
commitcae04b56347be59718f1a778d0ad588a205bf409
treeccafbf12957fa0c6149ce4bc73a38952fc837482
parent5363a1a117ea6e1af520d1faed303f944975f760
vfio: add vfio_pci_config_space_read/write()

Add these helpers that access config space and return an -errno style
return.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-8-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci.c