On Fri, 2026-10-16 at 16:22 -0700, Pierrick Bouvier wrote: > Signed-off-by: Pierrick Bouvier <[email protected]>
Acked-by: Alistair Francis <[email protected]> Alistair > --- > hw/riscv/virt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c > index d4b501802f6..894cdd97976 100644 > --- a/hw/riscv/virt.c > +++ b/hw/riscv/virt.c > @@ -22,6 +22,7 @@ > #include "qemu/units.h" > #include "qemu/error-report.h" > #include "qemu/guest-random.h" > +#include "qemu/target-info.h" > #include "qapi/error.h" > #include "hw/core/boards.h" > #include "hw/core/loader.h" > @@ -1203,6 +1204,7 @@ static const TypeInfo virt_machine_typeinfo = { > .instance_init = virt_machine_instance_init, > .instance_finalize = virt_machine_instance_finalize, > .instance_size = sizeof(RISCVVirtState), > + .is_available = target_base_riscv, > .interfaces = (const InterfaceInfo[]) { > { TYPE_HOTPLUG_HANDLER }, > { }
