File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 57
57
#include "hw/acpi/aml-build.h"
58
58
#include "qapi/qapi-visit-common.h"
59
59
#include "hw/virtio/virtio-iommu.h"
60
+ #include "hw/uefi/var-service-api.h"
60
61
61
62
/* KVM AIA only supports APLIC MSI. APLIC Wired is always emulated by QEMU. */
62
63
static bool virt_use_kvm_aia_aplic_imsic (RISCVVirtAIAType aia_type )
@@ -1935,6 +1936,7 @@ static void virt_machine_class_init(ObjectClass *oc, void *data)
1935
1936
hc -> plug = virt_machine_device_plug_cb ;
1936
1937
1937
1938
machine_class_allow_dynamic_sysbus_dev (mc , TYPE_RAMFB_DEVICE );
1939
+ machine_class_allow_dynamic_sysbus_dev (mc , TYPE_UEFI_VARS_SYSBUS );
1938
1940
#ifdef CONFIG_TPM
1939
1941
machine_class_allow_dynamic_sysbus_dev (mc , TYPE_TPM_TIS_SYSBUS );
1940
1942
#endif
Original file line number Diff line number Diff line change 1
1
config UEFI_VARS
2
2
bool
3
- default y if X86_64 || AARCH64
3
+ default y if X86_64 || AARCH64 || RISCV64
You can’t perform that action at this time.
0 commit comments