[libvirt] RFC: Extending UEFI XML specification

Prerna saxenap.ltc at gmail.com
Wed Mar 28 10:45:50 UTC 2018

Hi Michal,
The <loader>,<nvram> tags of os element in domain XML (
https://libvirt.org/formatdomain.html#elementsOSBIOS) currently expects
absolute path of the local file which would be used to back the the pflash
disk representing the non-volatile RAM:

<loader readonly='yes' secure='no'

However, given that for virtualized environments, it is possible that the
VM could be started on different hosts at various points in time, and so we
need to expose the firmware/nvram tuple over a network device so as to be
accessible from various hosts.
I propose extending of the existing config by adding a new element,
"backing". This could be one of :
- 'file': for local filesystem paths
- 'network': for network-attached storage.

As an example:

<loader readonly='yes' secure='no' type='rom' backing =
<nvram backing='file'

For network-attached storage:
<loader readonly='yes' secure='no' type='rom' backing =
<nvram backing='network'>
    <source protocol='XXX'  name='YYY'>
        <host name='x.x.x.x' port=xxxx/>

Note that 'template' attribute in NVRAM should be explicitly disallowed for
backing type "network". This is because libvirtd may not be able to access
the backing store to copy the contents of the template.

I would like to capture thoughts from the community to extend the current
firmware spec.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180328/3351e773/attachment-0001.htm>

More information about the libvir-list mailing list