* [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-18 16:35 ` Edgar E. Iglesias
2025-02-18 16:26 ` [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary Philippe Mathieu-Daudé
` (7 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
XenPVH requires the PCIe/GPEX device. Add it to Kconfig
to avoid when configuring using --without-default-devices:
/usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-pvh-common.c.o: in function `xenpvh_gpex_init':
hw/xen/xen-pvh-common.c:174: undefined reference to `gpex_set_irq_num'
/usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in function `pci_dev_bus_num':
include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
/usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
/usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
/usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
/usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
/usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in function `cpu_ioreq_config':
hw/xen/xen-hvm-common.c:412: undefined reference to `pci_host_config_read_common'
/usr/bin/ld: hw/xen/xen-hvm-common.c:428: undefined reference to `pci_host_config_read_common'
/usr/bin/ld: hw/xen/xen-hvm-common.c:438: undefined reference to `pci_host_config_write_common'
Fixes: f22e598a72c ("hw/xen: pvh-common: Add support for creating PCIe/GPEX")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
accel/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/accel/Kconfig b/accel/Kconfig
index 794e0d18d21..4263cab7227 100644
--- a/accel/Kconfig
+++ b/accel/Kconfig
@@ -16,4 +16,5 @@ config KVM
config XEN
bool
select FSDEV_9P if VIRTFS
+ select PCI_EXPRESS_GENERIC_BRIDGE
select XEN_BUS
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge
2025-02-18 16:26 ` [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge Philippe Mathieu-Daudé
@ 2025-02-18 16:35 ` Edgar E. Iglesias
0 siblings, 0 replies; 17+ messages in thread
From: Edgar E. Iglesias @ 2025-02-18 16:35 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Anthony PERARD, Stefano Stabellini, Paul Durrant, Andrew Cooper,
Juergen Gross, Daniel P. Berrangé, Paolo Bonzini,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]
On Tue, Feb 18, 2025 at 10:26 AM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:
> XenPVH requires the PCIe/GPEX device. Add it to Kconfig
> to avoid when configuring using --without-default-devices:
>
> /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-pvh-common.c.o: in
> function `xenpvh_gpex_init':
> hw/xen/xen-pvh-common.c:174: undefined reference to `gpex_set_irq_num'
> /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in
> function `pci_dev_bus_num':
> include/hw/pci/pci.h:337: undefined reference to `pci_bus_num'
> /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to
> `pci_bus_num'
> /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to
> `pci_bus_num'
> /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to
> `pci_bus_num'
> /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to
> `pci_bus_num'
> /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in
> function `cpu_ioreq_config':
> hw/xen/xen-hvm-common.c:412: undefined reference to
> `pci_host_config_read_common'
> /usr/bin/ld: hw/xen/xen-hvm-common.c:428: undefined reference to
> `pci_host_config_read_common'
> /usr/bin/ld: hw/xen/xen-hvm-common.c:438: undefined reference to
> `pci_host_config_write_common'
>
> Fixes: f22e598a72c ("hw/xen: pvh-common: Add support for creating
> PCIe/GPEX")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
> ---
> accel/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/accel/Kconfig b/accel/Kconfig
> index 794e0d18d21..4263cab7227 100644
> --- a/accel/Kconfig
> +++ b/accel/Kconfig
> @@ -16,4 +16,5 @@ config KVM
> config XEN
> bool
> select FSDEV_9P if VIRTFS
> + select PCI_EXPRESS_GENERIC_BRIDGE
> select XEN_BUS
> --
> 2.47.1
>
>
[-- Attachment #2: Type: text/html, Size: 2594 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
2025-02-18 16:26 ` [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-18 16:52 ` Edgar E. Iglesias
2025-02-18 16:26 ` [PATCH 3/8] hw/arm/xen-pvh: Do not allow specifying any CPU type Philippe Mathieu-Daudé
` (6 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
Since the Virt machine is useless under Xen, do not even
try to build it there.
A Xen-only binary now only offers the XenPVH machine:
$ qemu-system-aarch64 -M help
Supported machines are:
none empty machine
xenpvh Xen PVH ARM machine
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 256013ca808..e5f4b1d84d3 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -2,6 +2,7 @@ config ARM_VIRT
bool
default y
depends on ARM
+ depends on TCG || KVM || HVF
imply PCI_DEVICES
imply TEST_DEVICES
imply VFIO_AMD_XGBE
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary
2025-02-18 16:26 ` [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary Philippe Mathieu-Daudé
@ 2025-02-18 16:52 ` Edgar E. Iglesias
0 siblings, 0 replies; 17+ messages in thread
From: Edgar E. Iglesias @ 2025-02-18 16:52 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Anthony PERARD, Stefano Stabellini, Paul Durrant, Andrew Cooper,
Juergen Gross, Daniel P. Berrangé, Paolo Bonzini,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
On Tue, Feb 18, 2025 at 10:26 AM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:
> Since the Virt machine is useless under Xen, do not even
> try to build it there.
> A Xen-only binary now only offers the XenPVH machine:
>
> $ qemu-system-aarch64 -M help
> Supported machines are:
> none empty machine
> xenpvh Xen PVH ARM machine
>
>
Makes sense to me.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> hw/arm/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 256013ca808..e5f4b1d84d3 100644
> --- a/hw/arm/Kconfig
> +++ b/hw/arm/Kconfig
> @@ -2,6 +2,7 @@ config ARM_VIRT
> bool
> default y
> depends on ARM
> + depends on TCG || KVM || HVF
> imply PCI_DEVICES
> imply TEST_DEVICES
> imply VFIO_AMD_XGBE
> --
> 2.47.1
>
>
[-- Attachment #2: Type: text/html, Size: 1659 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 3/8] hw/arm/xen-pvh: Do not allow specifying any CPU type
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
2025-02-18 16:26 ` [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge Philippe Mathieu-Daudé
2025-02-18 16:26 ` [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-18 16:26 ` [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers Philippe Mathieu-Daudé
` (5 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
No CPU can be selected by the PHV machine.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/xen-pvh.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/xen-pvh.c b/hw/arm/xen-pvh.c
index d1509bd235d..2557d520307 100644
--- a/hw/arm/xen-pvh.c
+++ b/hw/arm/xen-pvh.c
@@ -53,6 +53,7 @@ static void xen_arm_machine_class_init(ObjectClass *oc, void *data)
{
XenPVHMachineClass *xpc = XEN_PVH_MACHINE_CLASS(oc);
MachineClass *mc = MACHINE_CLASS(oc);
+ static const char * const valid_cpu_types[] = { NULL };
mc->desc = "Xen PVH ARM machine";
@@ -75,6 +76,7 @@ static void xen_arm_machine_class_init(ObjectClass *oc, void *data)
* mc->max_cpus, QEMU will bail out with an error message.
*/
mc->max_cpus = GUEST_MAX_VCPUS;
+ mc->valid_cpu_types = valid_cpu_types;
/* Xen/ARM does not use buffered IOREQs. */
xpc->handle_bufioreq = HVM_IOREQSRV_BUFIOREQ_OFF;
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (2 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 3/8] hw/arm/xen-pvh: Do not allow specifying any CPU type Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-18 16:53 ` Edgar E. Iglesias
2025-02-18 16:26 ` [PATCH 5/8] hw/xen/xen-hvm: " Philippe Mathieu-Daudé
` (4 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
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>
---
include/hw/xen/xen-pvh-common.h | 8 ++++----
hw/i386/xen/xen-pvh.c | 1 +
hw/xen/xen-pvh-common.c | 6 ++----
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/include/hw/xen/xen-pvh-common.h b/include/hw/xen/xen-pvh-common.h
index 5cdd23c2f4d..17c5a58a5a4 100644
--- a/include/hw/xen/xen-pvh-common.h
+++ b/include/hw/xen/xen-pvh-common.h
@@ -9,11 +9,11 @@
#ifndef XEN_PVH_COMMON_H__
#define XEN_PVH_COMMON_H__
-#include <assert.h>
-#include "hw/sysbus.h"
-#include "hw/hw.h"
-#include "hw/xen/xen-hvm-common.h"
+#include "exec/memory.h"
+#include "qom/object.h"
+#include "hw/boards.h"
#include "hw/pci-host/gpex.h"
+#include "hw/xen/xen-hvm-common.h"
#define TYPE_XEN_PVH_MACHINE MACHINE_TYPE_NAME("xen-pvh-base")
OBJECT_DECLARE_TYPE(XenPVHMachineState, XenPVHMachineClass,
diff --git a/hw/i386/xen/xen-pvh.c b/hw/i386/xen/xen-pvh.c
index 33c10279763..f6356f2a7ed 100644
--- a/hw/i386/xen/xen-pvh.c
+++ b/hw/i386/xen/xen-pvh.c
@@ -14,6 +14,7 @@
#include "hw/xen/arch_hvm.h"
#include <xen/hvm/hvm_info_table.h>
#include "hw/xen/xen-pvh-common.h"
+#include "target/i386/cpu.h"
#define TYPE_XEN_PVH_X86 MACHINE_TYPE_NAME("xenpvh")
OBJECT_DECLARE_SIMPLE_TYPE(XenPVHx86State, XEN_PVH_X86)
diff --git a/hw/xen/xen-pvh-common.c b/hw/xen/xen-pvh-common.c
index 9c21fa858d3..19876ad7e8d 100644
--- a/hw/xen/xen-pvh-common.c
+++ b/hw/xen/xen-pvh-common.c
@@ -7,15 +7,13 @@
*/
#include "qemu/osdep.h"
-#include "qemu/error-report.h"
-#include "qapi/error.h"
+#include "qemu/units.h"
#include "qapi/visitor.h"
#include "hw/boards.h"
#include "hw/irq.h"
-#include "hw/sysbus.h"
-#include "system/system.h"
#include "system/tpm.h"
#include "system/tpm_backend.h"
+#include "system/runstate.h"
#include "hw/xen/xen-pvh-common.h"
#include "trace.h"
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers
2025-02-18 16:26 ` [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers Philippe Mathieu-Daudé
@ 2025-02-18 16:53 ` Edgar E. Iglesias
0 siblings, 0 replies; 17+ messages in thread
From: Edgar E. Iglesias @ 2025-02-18 16:53 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Anthony PERARD, Stefano Stabellini, Paul Durrant, Andrew Cooper,
Juergen Gross, Daniel P. Berrangé, Paolo Bonzini,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
On Tue, Feb 18, 2025 at 10:26 AM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:
> 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)
> | ^~~~~~~~~~~~~~~~
>
>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> include/hw/xen/xen-pvh-common.h | 8 ++++----
> hw/i386/xen/xen-pvh.c | 1 +
> hw/xen/xen-pvh-common.c | 6 ++----
> 3 files changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/include/hw/xen/xen-pvh-common.h
> b/include/hw/xen/xen-pvh-common.h
> index 5cdd23c2f4d..17c5a58a5a4 100644
> --- a/include/hw/xen/xen-pvh-common.h
> +++ b/include/hw/xen/xen-pvh-common.h
> @@ -9,11 +9,11 @@
> #ifndef XEN_PVH_COMMON_H__
> #define XEN_PVH_COMMON_H__
>
> -#include <assert.h>
> -#include "hw/sysbus.h"
> -#include "hw/hw.h"
> -#include "hw/xen/xen-hvm-common.h"
> +#include "exec/memory.h"
> +#include "qom/object.h"
> +#include "hw/boards.h"
> #include "hw/pci-host/gpex.h"
> +#include "hw/xen/xen-hvm-common.h"
>
> #define TYPE_XEN_PVH_MACHINE MACHINE_TYPE_NAME("xen-pvh-base")
> OBJECT_DECLARE_TYPE(XenPVHMachineState, XenPVHMachineClass,
> diff --git a/hw/i386/xen/xen-pvh.c b/hw/i386/xen/xen-pvh.c
> index 33c10279763..f6356f2a7ed 100644
> --- a/hw/i386/xen/xen-pvh.c
> +++ b/hw/i386/xen/xen-pvh.c
> @@ -14,6 +14,7 @@
> #include "hw/xen/arch_hvm.h"
> #include <xen/hvm/hvm_info_table.h>
> #include "hw/xen/xen-pvh-common.h"
> +#include "target/i386/cpu.h"
>
> #define TYPE_XEN_PVH_X86 MACHINE_TYPE_NAME("xenpvh")
> OBJECT_DECLARE_SIMPLE_TYPE(XenPVHx86State, XEN_PVH_X86)
> diff --git a/hw/xen/xen-pvh-common.c b/hw/xen/xen-pvh-common.c
> index 9c21fa858d3..19876ad7e8d 100644
> --- a/hw/xen/xen-pvh-common.c
> +++ b/hw/xen/xen-pvh-common.c
> @@ -7,15 +7,13 @@
> */
>
> #include "qemu/osdep.h"
> -#include "qemu/error-report.h"
> -#include "qapi/error.h"
> +#include "qemu/units.h"
> #include "qapi/visitor.h"
> #include "hw/boards.h"
> #include "hw/irq.h"
> -#include "hw/sysbus.h"
> -#include "system/system.h"
> #include "system/tpm.h"
> #include "system/tpm_backend.h"
> +#include "system/runstate.h"
> #include "hw/xen/xen-pvh-common.h"
> #include "trace.h"
>
> --
> 2.47.1
>
>
[-- Attachment #2: Type: text/html, Size: 4334 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 5/8] hw/xen/xen-hvm: Reduce included headers
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (3 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-28 15:46 ` Anthony PERARD
2025-02-18 16:26 ` [PATCH 6/8] hw/xen/xen-bus: " Philippe Mathieu-Daudé
` (3 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
Have "hw/xen/xen-hvm-common.h" include the bare minimal set
of headers. Adapt sources to avoid errors when refactoring
unrelated headers such:
include/hw/xen/xen-hvm-common.h:71:5: error: unknown type name ‘xenevtchn_handle’
71 | xenevtchn_handle *xce_handle;
| ^~~~~~~~~~~~~~~~
hw/xen/xen-hvm-common.c: In function ‘cpu_get_ioreq’:
hw/xen/xen-hvm-common.c:227:13: error: implicit declaration of function ‘hw_error’
227 | hw_error("Fatal error while trying to get io event!\n");
| ^~~~~~~~
| herror
hw/xen/xen-hvm-common.c: In function ‘handle_ioreq’:
hw/xen/xen-hvm-common.c:446:34: error: ‘target_ulong’ undeclared (first use in this function)
446 | (req->size < sizeof (target_ulong))) {
| ^~~~~~~~~~~~
hw/i386/xen/xen-hvm.c: In function ‘xen_add_to_physmap’:
hw/i386/xen/xen-hvm.c:298:22: error: implicit declaration of function ‘xen_replace_cache_entry’
298 | uint8_t *p = xen_replace_cache_entry(phys_offset, start_addr, size);
| ^~~~~~~~~~~~~~~~~~~~~~~
hw/i386/xen/xen-hvm.c: In function ‘xen_log_global_start’:
hw/i386/xen/xen-hvm.c:465:9: error: implicit declaration of function ‘xen_enabled’
465 | if (xen_enabled()) {
| ^~~~~~~~~~~
hw/i386/xen/xen-hvm.c: In function ‘regs_to_cpu’:
hw/i386/xen/xen-hvm.c:487:5: error: unknown type name ‘X86CPU’
487 | X86CPU *cpu;
| ^~~~~~
hw/i386/xen/xen-hvm.c:492:15: error: ‘R_EAX’ undeclared (first use in this function)
492 | env->regs[R_EAX] = req->data;
| ^~~~~
| REG_RAX
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/xen/xen-hvm-common.h | 14 +++-----------
hw/arm/xen-stubs.c | 5 ++---
hw/i386/xen/xen-hvm.c | 5 +++++
hw/xen/xen-hvm-common.c | 6 ++++++
4 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/include/hw/xen/xen-hvm-common.h b/include/hw/xen/xen-hvm-common.h
index c1ea2c0d787..19df5600a39 100644
--- a/include/hw/xen/xen-hvm-common.h
+++ b/include/hw/xen/xen-hvm-common.h
@@ -1,18 +1,10 @@
#ifndef HW_XEN_HVM_COMMON_H
#define HW_XEN_HVM_COMMON_H
-#include "qemu/units.h"
-
-#include "cpu.h"
-#include "hw/pci/pci.h"
-#include "hw/hw.h"
+#include "qemu/queue.h"
+#include "exec/hwaddr.h"
#include "hw/xen/xen_native.h"
-#include "hw/xen/xen-legacy-backend.h"
-#include "system/runstate.h"
-#include "system/system.h"
-#include "system/xen.h"
-#include "system/xen-mapcache.h"
-#include "qemu/error-report.h"
+#include "hw/xen/xen_backend_ops.h"
#include <xen/hvm/ioreq.h>
extern MemoryRegion xen_memory;
diff --git a/hw/arm/xen-stubs.c b/hw/arm/xen-stubs.c
index 34beb8b08cb..5551584dc20 100644
--- a/hw/arm/xen-stubs.c
+++ b/hw/arm/xen-stubs.c
@@ -5,10 +5,9 @@
*/
#include "qemu/osdep.h"
-#include "qemu/error-report.h"
#include "qapi/qapi-commands-migration.h"
-#include "hw/boards.h"
-#include "system/system.h"
+#include "system/xen.h"
+#include "hw/hw.h"
#include "hw/xen/xen-hvm-common.h"
#include "hw/xen/arch_hvm.h"
diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c
index d3df488c483..67b7c223aee 100644
--- a/hw/i386/xen/xen-hvm.c
+++ b/hw/i386/xen/xen-hvm.c
@@ -14,6 +14,7 @@
#include "qapi/qapi-commands-migration.h"
#include "trace.h"
+#include "hw/hw.h"
#include "hw/i386/pc.h"
#include "hw/irq.h"
#include "hw/i386/apic-msidef.h"
@@ -24,6 +25,10 @@
#include "hw/xen/arch_hvm.h"
#include <xen/hvm/e820.h>
#include "exec/target_page.h"
+#include "target/i386/cpu.h"
+#include "system/runstate.h"
+#include "system/xen-mapcache.h"
+#include "system/xen.h"
static MemoryRegion ram_640k, ram_lo, ram_hi;
static MemoryRegion *framebuffer;
diff --git a/hw/xen/xen-hvm-common.c b/hw/xen/xen-hvm-common.c
index 7ffbbfea23b..3828105c95e 100644
--- a/hw/xen/xen-hvm-common.c
+++ b/hw/xen/xen-hvm-common.c
@@ -1,14 +1,20 @@
#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qapi/error.h"
+#include "exec/target_long.h"
#include "exec/target_page.h"
#include "trace.h"
+#include "hw/hw.h"
#include "hw/pci/pci_host.h"
#include "hw/xen/xen-hvm-common.h"
#include "hw/xen/xen-bus.h"
#include "hw/boards.h"
#include "hw/xen/arch_hvm.h"
+#include "system/runstate.h"
+#include "system/system.h"
+#include "system/xen.h"
+#include "system/xen-mapcache.h"
MemoryRegion xen_memory, xen_grants;
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 5/8] hw/xen/xen-hvm: Reduce included headers
2025-02-18 16:26 ` [PATCH 5/8] hw/xen/xen-hvm: " Philippe Mathieu-Daudé
@ 2025-02-28 15:46 ` Anthony PERARD
0 siblings, 0 replies; 17+ messages in thread
From: Anthony PERARD @ 2025-02-28 15:46 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Stefano Stabellini, Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
On Tue, Feb 18, 2025 at 05:26:15PM +0100, Philippe Mathieu-Daudé wrote:
> Have "hw/xen/xen-hvm-common.h" include the bare minimal set
> of headers. Adapt sources to avoid errors when refactoring
> unrelated headers such:
>
> include/hw/xen/xen-hvm-common.h:71:5: error: unknown type name ‘xenevtchn_handle’
> 71 | xenevtchn_handle *xce_handle;
> | ^~~~~~~~~~~~~~~~
> hw/xen/xen-hvm-common.c: In function ‘cpu_get_ioreq’:
> hw/xen/xen-hvm-common.c:227:13: error: implicit declaration of function ‘hw_error’
> 227 | hw_error("Fatal error while trying to get io event!\n");
> | ^~~~~~~~
> | herror
> hw/xen/xen-hvm-common.c: In function ‘handle_ioreq’:
> hw/xen/xen-hvm-common.c:446:34: error: ‘target_ulong’ undeclared (first use in this function)
> 446 | (req->size < sizeof (target_ulong))) {
> | ^~~~~~~~~~~~
> hw/i386/xen/xen-hvm.c: In function ‘xen_add_to_physmap’:
> hw/i386/xen/xen-hvm.c:298:22: error: implicit declaration of function ‘xen_replace_cache_entry’
> 298 | uint8_t *p = xen_replace_cache_entry(phys_offset, start_addr, size);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> hw/i386/xen/xen-hvm.c: In function ‘xen_log_global_start’:
> hw/i386/xen/xen-hvm.c:465:9: error: implicit declaration of function ‘xen_enabled’
> 465 | if (xen_enabled()) {
> | ^~~~~~~~~~~
> hw/i386/xen/xen-hvm.c: In function ‘regs_to_cpu’:
> hw/i386/xen/xen-hvm.c:487:5: error: unknown type name ‘X86CPU’
> 487 | X86CPU *cpu;
> | ^~~~~~
> hw/i386/xen/xen-hvm.c:492:15: error: ‘R_EAX’ undeclared (first use in this function)
> 492 | env->regs[R_EAX] = req->data;
> | ^~~~~
> | REG_RAX
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Thanks,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 6/8] hw/xen/xen-bus: Reduce included headers
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (4 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 5/8] hw/xen/xen-hvm: " Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-28 15:56 ` Anthony PERARD
2025-02-18 16:26 ` [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header Philippe Mathieu-Daudé
` (2 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
Have "hw/xen/xen-bus" include the bare minimal set of headers.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/xen/xen-bus.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/hw/xen/xen-bus.h b/include/hw/xen/xen-bus.h
index 2adb2af8391..bdbf1ed6fd0 100644
--- a/include/hw/xen/xen-bus.h
+++ b/include/hw/xen/xen-bus.h
@@ -8,9 +8,10 @@
#ifndef HW_XEN_BUS_H
#define HW_XEN_BUS_H
+#include "hw/qdev-core.h"
#include "hw/xen/xen_backend_ops.h"
-#include "hw/sysbus.h"
#include "qemu/notify.h"
+#include "qemu/queue.h"
#include "qom/object.h"
typedef struct XenEventChannel XenEventChannel;
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 6/8] hw/xen/xen-bus: Reduce included headers
2025-02-18 16:26 ` [PATCH 6/8] hw/xen/xen-bus: " Philippe Mathieu-Daudé
@ 2025-02-28 15:56 ` Anthony PERARD
0 siblings, 0 replies; 17+ messages in thread
From: Anthony PERARD @ 2025-02-28 15:56 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Stefano Stabellini, Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
On Tue, Feb 18, 2025 at 05:26:16PM +0100, Philippe Mathieu-Daudé wrote:
> Have "hw/xen/xen-bus" include the bare minimal set of headers.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Thanks,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (5 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 6/8] hw/xen/xen-bus: " Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-28 15:58 ` Anthony PERARD
2025-02-18 16:26 ` [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts Philippe Mathieu-Daudé
2025-03-03 11:11 ` [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/xen/xen-legacy-backend.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legacy-backend.h
index e198b120c5d..2d0cbfecade 100644
--- a/include/hw/xen/xen-legacy-backend.h
+++ b/include/hw/xen/xen-legacy-backend.h
@@ -3,7 +3,6 @@
#include "hw/xen/xen_backend_ops.h"
#include "hw/xen/xen_pvdev.h"
-#include "net/net.h"
#include "qom/object.h"
#define TYPE_XENSYSDEV "xen-sysdev"
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header
2025-02-18 16:26 ` [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header Philippe Mathieu-Daudé
@ 2025-02-28 15:58 ` Anthony PERARD
0 siblings, 0 replies; 17+ messages in thread
From: Anthony PERARD @ 2025-02-28 15:58 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Stefano Stabellini, Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
On Tue, Feb 18, 2025 at 05:26:17PM +0100, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Thanks,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (6 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header Philippe Mathieu-Daudé
@ 2025-02-18 16:26 ` Philippe Mathieu-Daudé
2025-02-28 16:27 ` Anthony PERARD
2025-03-03 11:11 ` [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
8 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-02-18 16:26 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm,
Philippe Mathieu-Daudé, Anthony PERARD, Stefano Stabellini,
Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
Per Stefano:
For ARM 32-bit, I do not think we ever had many deployments,
as most are 64-bit. Even when there are deployments, they do
not typically use QEMU, as QEMU is less important for Xen on
ARM compared to x86.
The QEMU project only test to cross-build Xen on Aarch64 hosts
(see 84eda110792 ("gitlab-ci: Add Xen cross-build jobs").
Since 32-bit host aren't tested, simply remove the support there.
[*] https://lore.kernel.org/qemu-devel/alpine.DEB.2.22.394.2502031438170.11632@ubuntu-linux-20-04-desktop/
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
While apparently running Xen on 32-bit hosts isn't straighforward
anymore (see [x]), we don't need to remove it ASAP, it is already
in the deprecation queue since commit 6d701c9bac1 ("meson:
Deprecate 32-bit host support").
[x] https://lore.kernel.org/qemu-devel/173d18bf-f68c-4bd5-b822-abb1c1f0c51b@suse.com/
---
docs/about/removed-features.rst | 5 +++++
meson.build | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst
index c6616ce05e5..f6ea53acc8b 100644
--- a/docs/about/removed-features.rst
+++ b/docs/about/removed-features.rst
@@ -969,6 +969,11 @@ MIPS "Trap-and-Emulate" KVM support (removed in 8.0)
The MIPS "Trap-and-Emulate" KVM host and guest support was removed
from Linux in 2021, and is not supported anymore by QEMU either.
+Xen on 32-bit ARM hosts (removed in 10.0)
+'''''''''''''''''''''''''''''''''''''''''
+
+Untested for more than 4 years.
+
System emulator machines
------------------------
diff --git a/meson.build b/meson.build
index 8ed10b6624e..7b80d8dff09 100644
--- a/meson.build
+++ b/meson.build
@@ -308,9 +308,6 @@ if cpu == 'x86'
xen_targets = ['i386-softmmu']
elif cpu == 'x86_64'
xen_targets = ['i386-softmmu', 'x86_64-softmmu']
-elif cpu == 'arm'
- # i386 emulator provides xenpv machine type for multiple architectures
- xen_targets = ['i386-softmmu']
elif cpu == 'aarch64'
# i386 emulator provides xenpv machine type for multiple architectures
xen_targets = ['i386-softmmu', 'x86_64-softmmu', 'aarch64-softmmu']
--
2.47.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts
2025-02-18 16:26 ` [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts Philippe Mathieu-Daudé
@ 2025-02-28 16:27 ` Anthony PERARD
0 siblings, 0 replies; 17+ messages in thread
From: Anthony PERARD @ 2025-02-28 16:27 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Richard Henderson, xen-devel, qemu-arm,
Stefano Stabellini, Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
On Tue, Feb 18, 2025 at 05:26:18PM +0100, Philippe Mathieu-Daudé wrote:
> Per Stefano:
>
> For ARM 32-bit, I do not think we ever had many deployments,
> as most are 64-bit. Even when there are deployments, they do
> not typically use QEMU, as QEMU is less important for Xen on
> ARM compared to x86.
>
> The QEMU project only test to cross-build Xen on Aarch64 hosts
> (see 84eda110792 ("gitlab-ci: Add Xen cross-build jobs").
> Since 32-bit host aren't tested, simply remove the support there.
>
> [*] https://lore.kernel.org/qemu-devel/alpine.DEB.2.22.394.2502031438170.11632@ubuntu-linux-20-04-desktop/
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> While apparently running Xen on 32-bit hosts isn't straighforward
> anymore (see [x]), we don't need to remove it ASAP, it is already
> in the deprecation queue since commit 6d701c9bac1 ("meson:
> Deprecate 32-bit host support").
>
> [x] https://lore.kernel.org/qemu-devel/173d18bf-f68c-4bd5-b822-abb1c1f0c51b@suse.com/
> ---
> docs/about/removed-features.rst | 5 +++++
> meson.build | 3 ---
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst
> index c6616ce05e5..f6ea53acc8b 100644
> --- a/docs/about/removed-features.rst
> +++ b/docs/about/removed-features.rst
> @@ -969,6 +969,11 @@ MIPS "Trap-and-Emulate" KVM support (removed in 8.0)
> The MIPS "Trap-and-Emulate" KVM host and guest support was removed
> from Linux in 2021, and is not supported anymore by QEMU either.
>
> +Xen on 32-bit ARM hosts (removed in 10.0)
> +'''''''''''''''''''''''''''''''''''''''''
> +
> +Untested for more than 4 years.
Well, not quite, we used to have some test of Xen on armhf hosts
(one of arndale or cubietrunk, I don't remember which one we had to stop
and never start testing again) until last year, and that included tests
with qcow2 disk, so using QEMU.
But that testing infra is gone so the patch is fine:
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Cheers,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 0/8] xen: Build fixes and dust removal
2025-02-18 16:26 [PATCH 0/8] xen: Build fixes and dust removal Philippe Mathieu-Daudé
` (7 preceding siblings ...)
2025-02-18 16:26 ` [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts Philippe Mathieu-Daudé
@ 2025-03-03 11:11 ` Philippe Mathieu-Daudé
8 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-03-03 11:11 UTC (permalink / raw)
To: qemu-devel
Cc: Richard Henderson, xen-devel, qemu-arm, Anthony PERARD,
Stefano Stabellini, Paul Durrant, Andrew Cooper, Juergen Gross,
Daniel P. Berrangé, Paolo Bonzini, Edgar E. Iglesias,
Marc-André Lureau, Peter Maydell, Eduardo Habkost,
Michael S. Tsirkin, David Woodhouse, Vikram Garhwal, Thomas Huth,
Jan Beulich, Marcel Apfelbaum
On 18/2/25 17:26, Philippe Mathieu-Daudé wrote:
> accel/Kconfig: Link XenPVH with GPEX PCIe bridge
> hw/arm: Do not expose the virt machine on Xen-only binary
> hw/arm/xen-pvh: Do not allow specifying any CPU type
> hw/xen/xen-pvh: Reduce included headers
> hw/xen/xen-hvm: Reduce included headers
> hw/xen/xen-bus: Reduce included headers
> hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header
> meson: Remove support for Xen on 32-bit ARM hosts
Queuing 1-2, 4-7 as I understand #8 needs rewording, thanks.
^ permalink raw reply [flat|nested] 17+ messages in thread