aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2025-05-07 16:20:16 +0100
committerCédric Le Goater <clg@redhat.com>2025-05-09 12:42:28 +0200
commit95cdb024515b107e2574c5cbef0a43cafa0db77f (patch)
treee2038e47dadf6d74de9ff47fbea76610a87224d8 /rust/qemu-api-macros
parent38bf025d0dc80c1ae6e8f36093c5145c08b332d9 (diff)
downloadqemu-95cdb024515b107e2574c5cbef0a43cafa0db77f.zip
qemu-95cdb024515b107e2574c5cbef0a43cafa0db77f.tar.gz
qemu-95cdb024515b107e2574c5cbef0a43cafa0db77f.tar.bz2
vfio: add region info cache
Instead of requesting region information on demand with VFIO_DEVICE_GET_REGION_INFO, maintain a cache: this will become necessary for performance for vfio-user, where this call becomes a message over the control socket, so is of higher overhead than the traditional path. We will also need it to generalize region accesses, as that means we can't use ->config_offset for configuration space accesses, but must look up the region offset (if relevant) each time. Originally-by: John Johnson <john.g.johnson@oracle.com> Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-12-john.levon@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions