::
+ <!-- Xen with fullvirt loader -->
...
- <os firmware='efi'>
+ <os>
<type>hvm</type>
- <loader readonly='yes' secure='no' type='rom'>/usr/lib/xen/boot/hvmloader</loader>
- <nvram template='/usr/share/OVMF/OVMF_VARS.fd'>/var/lib/libvirt/nvram/guest_VARS.fd</nvram>
+ <loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
+ </os>
+ ...
+
+ <!-- QEMU with default firmware, serial console and SMBIOS -->
+ ...
+ <os>
+ <type>hvm</type>
<boot dev='cdrom'/>
<bootmenu enable='yes' timeout='3000'/>
<smbios mode='sysinfo'/>
</os>
...
+ <!-- QEMU with UEFI manual firmware and secure boot -->
+ ...
+ <os>
+ <type>hvm</type>
+ <loader readonly='yes' secure='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
+ <nvram template='/usr/share/OVMF/OVMF_VARS.fd'>/var/lib/libvirt/nvram/guest_VARS.fd</nvram>
+ <boot dev='hd'/>
+ </os>
+ ...
+
+ <!-- QEMU with automatic UEFI firmware and secure boot -->
+ ...
+ <os firmware='efi'>
+ <type>hvm</type>
+ <loader secure='yes'/>
+ <boot dev='hd'/>
+ </os>
+ ...
+
``firmware``
The ``firmware`` attribute allows management applications to automatically
fill ``<loader/>`` and ``<nvram/>`` elements and possibly enable some