qemu-e2k/hw/i386
Eugenio Pérez 69292a8e40 util: accept iova_tree_remove_parameter by value
It's convenient to call iova_tree_remove from a map returned from
iova_tree_find or iova_tree_find_iova. With the current code this is not
possible, since we will free it, and then we will try to search for it
again.

Fix it making accepting the map by value, forcing a copy of the
argument. Not applying a fixes tag, since there is no use like that at
the moment.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2022-09-02 10:22:39 +08:00
..
kvm
xen
acpi-build.c
acpi-build.h
acpi-common.c
acpi-common.h
acpi-microvm.c
acpi-microvm.h
amd_iommu.c
amd_iommu.h
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c
fw_cfg.h
generic_event_device_x86.c
intel_iommu_internal.h
intel_iommu.c util: accept iova_tree_remove_parameter by value 2022-09-02 10:22:39 +08:00
Kconfig
kvmvapic.c
meson.build
microvm-dt.c
microvm-dt.h
microvm.c
multiboot.c
multiboot.h
pc_piix.c hw: Add compat machines for 7.2 2022-08-25 21:59:04 +02:00
pc_q35.c hw: Add compat machines for 7.2 2022-08-25 21:59:04 +02:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c hw: Add compat machines for 7.2 2022-08-25 21:59:04 +02:00
port92.c
sgx-epc.c
sgx-stub.c
sgx.c
trace-events
trace.h
vmmouse.c
vmport.c
x86-iommu-stub.c
x86-iommu.c
x86.c