qemu-e2k/hw/xen
Peter Maydell bcb40db010 xen: Don't pass MemoryListener around by value
Coverity points out (CID 1513106, 1513107) that MemoryListener is a
192 byte struct which we are passing around by value.  Switch to
passing a const pointer into xen_register_ioreq() and then to
xen_do_ioreq_register().  We can also make the file-scope
MemoryListener variables const, since nothing changes them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230718101057.1110979-1-peter.maydell@linaro.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2023-08-01 10:22:33 +01:00
..
Kconfig
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
trace-events xen-hvm: reorganize xen-hvm and move common function to xen-hvm-common 2023-06-15 16:45:59 -07:00
trace.h
xen_devconfig.c
xen_pt_config_init.c
xen_pt_graphics.c
xen_pt_load_rom.c
xen_pt_msi.c
xen_pt_stub.c
xen_pt.c exec/memory: Add symbolic value for memory listener priority for accel 2023-06-28 14:27:59 +02:00
xen_pt.h
xen_pvdev.c
xen-backend.c
xen-bus-helper.c
xen-bus.c xen-block: fix segv on unrealize 2023-06-07 15:07:10 +01:00
xen-host-pci-device.c
xen-host-pci-device.h
xen-hvm-common.c xen: Don't pass MemoryListener around by value 2023-08-01 10:22:33 +01:00
xen-legacy-backend.c
xen-mapcache.c hw/i386/xen/: move xen-mapcache.c to hw/xen/ 2023-06-15 16:45:58 -07:00
xen-operations.c xen: Drop support for Xen versions below 4.7.1 2023-06-07 15:07:10 +01:00