qemu-e2k/include/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
..
interface include: import Xen public headers to hw/xen/interface 2023-03-01 08:22:49 +00:00
arch_hvm.h hw/arm: introduce xenpvh machine 2023-06-15 16:46:47 -07:00
start_info.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
xen_backend_ops.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen_native.h include/hw/xen/xen_common: return error from xen_create_ioreq_server 2023-06-15 16:46:03 -07:00
xen_pvdev.h hw/xen: Rename xen_common.h to xen_native.h 2023-03-07 17:04:30 +00:00
xen-backend.h xen-bus: reduce scope of backend watch 2020-10-19 16:32:41 +01:00
xen-block.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
xen-bus-helper.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen-bus.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen-hvm-common.h xen: Don't pass MemoryListener around by value 2023-08-01 10:22:33 +01:00
xen-legacy-backend.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen-x86.h hw/xen: Split x86-specific declaration from generic hardware ones 2020-09-30 19:11:36 +02:00
xen.h include/hw/xen/xen: Rename xen_piix3_set_irq() to xen_intx_set_irq() 2023-06-07 15:07:10 +01:00