[PATCH v2 2/2] remote/machine: add available_if for x-remote machine type
Pierrick Bouvier <[email protected]>
| Newsgroups | org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
We don't remove yet existing interfaces to not break current binaries. Signed-off-by: Pierrick Bouvier <[email protected]> --- hw/remote/machine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/remote/machine.c b/hw/remote/machine.c index df08f640199..a62794dd2a0 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -152,7 +152,8 @@ static const TypeInfo remote_machine = { { TYPE_TARGET_AARCH64_MACHINE }, { TYPE_TARGET_ARM_MACHINE }, { } - } + }, + .available_if = TARGET_REQS(TARGET_REQ_BASE_ARM) }; static void remote_machine_register_types(void) -- 2.43.0