qemu/include/hw/xen
Philippe Mathieu-Daudé 4702dcd4ee hw/xen/xen-pvh: Reduce included headers
Have "hw/xen/xen-pvh-common.h" include the bare minimal set
of headers. Adapt sources to avoid errors when refactoring
unrelated headers such:

    hw/i386/xen/xen-pvh.c: In function ‘xen_pvh_machine_class_init’:
    hw/i386/xen/xen-pvh.c:84:28: error: ‘TARGET_DEFAULT_CPU_TYPE’ undeclared (first use in this function)
       84 |     mc->default_cpu_type = TARGET_DEFAULT_CPU_TYPE;
          |                            ^~~~~~~~~~~~~~~~~~~~~~~
    hw/xen/xen-pvh-common.c: In function ‘xen_pvh_init’:
    hw/xen/xen-pvh-common.c:217:43: error: ‘MiB’ undeclared (first use in this function)
      217 |         if (s->cfg.pci_ecam.size != 256 * MiB) {
          |                                           ^~~
    hw/xen/xen-hvm-common.c:18:6: error: no previous prototype for ‘xen_mr_is_memory’ [-Werror=missing-prototypes]
       18 | bool xen_mr_is_memory(MemoryRegion *mr)
          |      ^~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20250218162618.46167-5-philmd@linaro.org>
2025-03-04 14:45:34 +01:00
..
interface include: update Xen public headers to Xen 4.17.2 release 2023-11-07 08:54:20 +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.h hw/xen: do not repeatedly try to create a failing backend device 2023-11-07 08:54:20 +00:00
xen-block.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xen-bus-helper.h hw/xen: Add xs_node_read() helper function 2025-01-15 17:05:56 +00:00
xen-bus.h xen: do not use '%ms' scanf specifier 2025-01-15 17:06:49 +00:00
xen-hvm-common.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xen-legacy-backend.h hw/xen: Remove deadcode 2024-10-03 15:24:42 +02:00
xen-pvh-common.h hw/xen/xen-pvh: Reduce included headers 2025-03-04 14:45:34 +01:00
xen-x86.h hw/xen: Split x86-specific declaration from generic hardware ones 2020-09-30 19:11:36 +02:00
xen.h hw/xen: Remove unnecessary 'exec/cpu-common.h' header 2024-12-20 17:44:57 +01: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_igd.h hw/xen: Extract 'xen_igd.h' from 'xen_pt.h' 2024-03-09 18:51:45 +01:00
xen_native.h hw/xen: Expose handle_bufioreq in xen_register_ioreq 2024-10-03 19:37:34 +02:00
xen_pvdev.h hw/xen: Have legacy Xen backend inherit from DYNAMIC_SYS_BUS_DEVICE 2025-02-16 14:25:08 +01:00