[libvirt] [Qemu-devel] Configuring pflash devices for OVMF firmware
Markus Armbruster
armbru at redhat.com
Thu Jan 31 09:41:46 UTC 2019
Paolo Bonzini <pbonzini at redhat.com> writes:
> On 31/01/19 09:40, Markus Armbruster wrote:
>>> Maybe we should just add pflash block properties to the machine? And
>>> then it can create the devices if the properties are set to a non-empty
>>> value.
>> What exactly do you have in mind? Something like
>>
>> -machine q35,ovmf-code=OVMF-CODE-NODE,ovmf-data=OVMF-DATA-NODE
>>
>> where OVMF-CODE-NODE and OVMF-DATA-NODE are block backend node names,
>> i.e.
>>
>> -blockdev file,node-name=OVMF-CODE-NODE,read-only=on,filename=/usr/share/edk2/ovmf/OVMF_CODE.fd
>> -blockdev file,node-name=OVMF-DATA-NODE,read-only=on,filename=...
>
> Yes, though I would call it pflash0 and pflash1.
Digression... should we put traditional BIOS in flash as well? Only for
new machine types, obviously.
More information about the libvir-list
mailing list