diff options
author | 2023-10-09 11:09:07 +0200 | |
---|---|---|
committer | 2023-10-18 10:10:49 +0200 | |
commit | a33832b1948561bb2606371de0c5e2ef03921d93 (patch) | |
tree | 8e2f92ae98781fbb69bdb1f729d41b1d942c1dae /hw/core/machine-hmp-cmds.c | |
parent | vfio/common: Propagate KVM_SET_DEVICE_ATTR error if any (diff) | |
download | qemu-a33832b1948561bb2606371de0c5e2ef03921d93.tar.xz qemu-a33832b1948561bb2606371de0c5e2ef03921d93.zip |
vfio/common: Introduce vfio_container_add|del_section_window()
Introduce helper functions that isolate the code used for
VFIO_SPAPR_TCE_v2_IOMMU.
Those helpers hide implementation details beneath the container object
and make the vfio_listener_region_add/del() implementations more
readable. No code change intended.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.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/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions