On 19/3/25 12:27, Daniel P. Berrangé wrote:
> On Tue, Mar 04, 2025 at 01:48:04PM +0100, Gerd Hoffmann wrote:
>> Add UEFI_VARS config option, enable by default for x86_64 and aarch64.
>>
>> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>> Message-ID: <20250225163031.1409078-17-kraxel@redhat.com>
>> ---
>> hw/Kconfig | 1 +
>> hw/uefi/Kconfig | 3 +++
>> 2 files changed, 4 insertions(+)
>> create mode 100644 hw/uefi/Kconfig
>>
>> diff --git a/hw/Kconfig b/hw/Kconfig
>> index 1b4e9bb07f7d..c4dfe2e7af7c 100644
>> --- a/hw/Kconfig
>> +++ b/hw/Kconfig
>> @@ -37,6 +37,7 @@ source smbios/Kconfig
>> source ssi/Kconfig
>> source timer/Kconfig
>> source tpm/Kconfig
>> +source uefi/Kconfig
>> source ufs/Kconfig
>> source usb/Kconfig
>> source virtio/Kconfig
>> diff --git a/hw/uefi/Kconfig b/hw/uefi/Kconfig
>> new file mode 100644
>> index 000000000000..ca6c2bc46a96
>> --- /dev/null
>> +++ b/hw/uefi/Kconfig
>> @@ -0,0 +1,3 @@
>> +config UEFI_VARS
>> + bool
>> + default y if X86_64 || AARCH64
>
> RSICV64 uses UEFI too,
and LoongArch IIRC.
> is something extra needed before it can be
> enabled there too, as it would be desirable to introduce it on all
> UEFI targets concurrently.
>
> With regards,
> Daniel