hw/arm: Re-enable xenpvh machine in qemu-system-arm/aarch64 binaries
While registering the ARM/Aarch64 machine interfaces in commit 38c5ab40031 ("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries"), we missed the XenPV machine. Correct that.
---
1/ Review got likely unnoticed by Xen folks because no
Xen-specific entry in MAINTAINERS:
$ ./scripts/get_maintainer.pl -f hw/arm/xen-pvh.c Peter Maydell <[email protected]> (maintainer:ARM TCG CPUs) [email protected] (open list:ARM TCG CPUs) [email protected] (open list:All patches CC here)
2/ Should we restrict it to aa64 only?
--- hw/arm/xen-pvh.c | 2 ++ 1 file changed, 2 insertions(+)
hw/arm/xen-pvh.c +2 -0
@@ -10,6 +10,7 @@#include "hw/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" +#include "hw/arm/machines-qom.h" #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh")
@@ -95,6 +96,7 @@ static const TypeInfo xen_arm_machine_type = { .class_init = xen_arm_machine_class_init, .instance_size = sizeof(XenPVHMachineState), .instance_init = xen_arm_instance_init, + .interfaces = arm_aarch64_machine_interfaces, };static void xen_arm_machine_register_types (void )
Signature · 1 line
2.51.0
Edgar E. Iglesias via
Reviewed-by Edgar E. IglesiasQuoted 8 lines · Philippe Mathieu-Daudé
While registering the ARM/Aarch64 machine interfaces in commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries"), we missed the XenPV machine. Correct that.Reported-by Edgar E. Iglesias <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>Tested-by Edgar E. Iglesias <[email protected]>
Quoted 37 lines
---
1/ Review got likely unnoticed by Xen folks because no
Xen-specific entry inMAINTAINERS:$ ./scripts/get_maintainer.pl -f hw/arm/xen-pvh.c Peter Maydell <[email protected]> (maintainer:ARM TCG CPUs) [email protected] (open list:ARM TCG CPUs) [email protected] (open list:All patches CC here)2/ Should we restrict it to aa64 only?
--- hw/arm/xen-pvh.c | 2 ++ 1 file changed, 2 insertions(+)hw/arm/xen-pvh.c +2
-0@@ -10,6 +10,7 @@#include "hw/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" +#include "hw/arm/machines-qom.h" #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh")@@ -95,6 +96,7 @@ static const TypeInfo xen_arm_machine_type = { .class_init = xen_arm_machine_class_init, .instance_size = sizeof(XenPVHMachineState), .instance_init = xen_arm_instance_init, + .interfaces = arm_aarch64_machine_interfaces, };static void xen_arm_machine_register_types (void )Signature · 1 line
2.51.0
Quoted 17 lines · Philippe Mathieu-Daudé
While registering the ARM/Aarch64 machine interfaces in commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries"), we missed the XenPV machine. Correct that.Reported-by Edgar E. Iglesias <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>Tested-by Edgar E. Iglesias <[email protected]>---
1/ Review got likely unnoticed by Xen folks because no
Xen-specific entry inMAINTAINERS:$
./scripts/get_maintainer.pl-fhw/arm/xen-pvh.c
Peter Maydell <[email protected]> (maintainer:ARM TCG CPUs) [email protected] (open list:ARM TCG CPUs) [email protected] (open list:All patches CC here)
Quoted 4 lines
2/ Should we restrict it to aa64 only?
--- hw/arm/xen-pvh.c | 2 ++ 1 file changed, 2 insertions(+)
Patch queued, thanks.