mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-14 03:35:05 +00:00
578ac25c6a
Normally when an UEFI firmware is marked as read-only, an associated NVRAM file will be created. Some builds of UEFI firmware, however, wish to remain stateless and so will be read-only, but never have any NVRAM file. To represent this concept a 'stateless' tristate bool attribute is introduced on the <loader/> element. There are rather a large number of permutations to consider. With default firmware selection * <os/> => Historic default, no change * <os> <loader stateless='yes'/> </os> => Explicit version of historic default, no change * <os> <loader stateless='no'/> </os> => Invalid, bios is always stateless With manual legacy BIOS selection * <os> <loader>/path/to/seabios</loader> ... </os> => Historic default, no change * <os> <loader stateless='yes'>/path/to/seabios</loader> ... </os> => Explicit version of historic default, no change * <os> <loader stateless='no'>/path/to/seabios</loader> ... </os> => Invalid, bios is always stateless With manual UEFI selection * <os> <loader type='pflash'>/path/to/edk2</loader> ... </os> => Historic default, no change * <os> <loader type='pflash' stateless='yes'>/path/to/edk2</loader> ... </os> => Skip auto-filling NVRAM / template * <os> <loader type='pflash' stateless='no'>/path/to/edk2</loader> ... </os> => Explicit version of historic default, no change With automatic firmware selection * <os firmware='bios'/> => Historic default, no change * <os firmware='bios'> <loader stateless='yes'/> </os> => Explicit version of historic default, no change * <os firmware='bios'> <loader stateless='no'/> </os> => Invalid, bios is always stateless * <os firmware='uefi'/> => Historic default, no change * <os firmware='uefi'> <loader stateless='yes'/> </os> => Skip auto-filling NVRAM / template * <os firmware='uefi'> <loader stateless='no'/> </os> => Explicit version of historic default, no change Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> |
||
---|---|---|
.. | ||
schemas | ||
backup_conf.c | ||
backup_conf.h | ||
capabilities.c | ||
capabilities.h | ||
checkpoint_conf.c | ||
checkpoint_conf.h | ||
cpu_conf.c | ||
cpu_conf.h | ||
device_conf.c | ||
device_conf.h | ||
domain_addr.c | ||
domain_addr.h | ||
domain_audit.c | ||
domain_audit.h | ||
domain_capabilities.c | ||
domain_capabilities.h | ||
domain_conf.c | ||
domain_conf.h | ||
domain_event.c | ||
domain_event.h | ||
domain_nwfilter.c | ||
domain_nwfilter.h | ||
domain_postparse.c | ||
domain_postparse.h | ||
domain_validate.c | ||
domain_validate.h | ||
interface_conf.c | ||
interface_conf.h | ||
meson.build | ||
moment_conf.c | ||
moment_conf.h | ||
netdev_bandwidth_conf.c | ||
netdev_bandwidth_conf.h | ||
netdev_vlan_conf.c | ||
netdev_vlan_conf.h | ||
netdev_vport_profile_conf.c | ||
netdev_vport_profile_conf.h | ||
network_conf.c | ||
network_conf.h | ||
network_event.c | ||
network_event.h | ||
networkcommon_conf.c | ||
networkcommon_conf.h | ||
node_device_conf.c | ||
node_device_conf.h | ||
node_device_event.c | ||
node_device_event.h | ||
node_device_util.c | ||
node_device_util.h | ||
numa_conf.c | ||
numa_conf.h | ||
nwfilter_conf.c | ||
nwfilter_conf.h | ||
nwfilter_ipaddrmap.c | ||
nwfilter_ipaddrmap.h | ||
nwfilter_params.c | ||
nwfilter_params.h | ||
object_event_private.h | ||
object_event.c | ||
object_event.h | ||
secret_conf.c | ||
secret_conf.h | ||
secret_event.c | ||
secret_event.h | ||
snapshot_conf_priv.h | ||
snapshot_conf.c | ||
snapshot_conf.h | ||
storage_adapter_conf.c | ||
storage_adapter_conf.h | ||
storage_capabilities.c | ||
storage_capabilities.h | ||
storage_conf.c | ||
storage_conf.h | ||
storage_encryption_conf.c | ||
storage_encryption_conf.h | ||
storage_event.c | ||
storage_event.h | ||
storage_source_conf.c | ||
storage_source_conf.h | ||
virchrdev.c | ||
virchrdev.h | ||
virconftypes.h | ||
virdomaincheckpointobjlist.c | ||
virdomaincheckpointobjlist.h | ||
virdomainmomentobjlist.c | ||
virdomainmomentobjlist.h | ||
virdomainobjlist.c | ||
virdomainobjlist.h | ||
virdomainsnapshotobjlist.c | ||
virdomainsnapshotobjlist.h | ||
virinterfaceobj.c | ||
virinterfaceobj.h | ||
virnetworkobj.c | ||
virnetworkobj.h | ||
virnetworkportdef.c | ||
virnetworkportdef.h | ||
virnodedeviceobj.c | ||
virnodedeviceobj.h | ||
virnwfilterbindingdef.c | ||
virnwfilterbindingdef.h | ||
virnwfilterbindingobj.c | ||
virnwfilterbindingobj.h | ||
virnwfilterbindingobjlist.c | ||
virnwfilterbindingobjlist.h | ||
virnwfilterobj.c | ||
virnwfilterobj.h | ||
virsavecookie.c | ||
virsavecookie.h | ||
virsecretobj.c | ||
virsecretobj.h | ||
virstorageobj.c | ||
virstorageobj.h |