#714496 ovmf: please include instructions on how to use ovmf with libvirt

Package:
src:libvirt
Source:
libvirt
Submitter:
Christoph Anton Mitterer
Date:
2017-10-27 22:27:03 UTC
Severity:
wishlist
#714496#5
Date:
2013-06-30 00:00:29 UTC
From:
To:
Hi.

IMHO it would be helpful to add a README.Debian with instructions about
how one can male libvirt based systems using the ovmf firmware, e.g.

OVMF and libvirt
----------------

In order to make libvirt managed QEMU VMs use another system firmware (than the
default) one has to set the pathname of the firmware file in the
“domain/os/loader” element of the VM’s XML-configuration.

For example:
<domain type='kvm'>
  <name>Virtual-Machine-Name</name>
  <uuid>df03d579-9a26-4724-bf54-f9c339b1359f</uuid>
  <os>
    <type>hvm</type>
    <loader>/usr/share/ovmf/OVMF.fd</loader>
    …
  </os>
  …
</domain>

Note, that the XML-configuration cannot be edited directly but for example via:
# virsh edit Virtual-Machine-Name


For more information see:
• Documentation in the package libvirt-doc
  file:///usr/share/doc/libvirt-doc/formatdomain.html#elementsOSBIOS
• Online Documentation
http://libvirt.org/formatdomain.html#elementsOSBIOS

#714496#10
Date:
2016-10-13 17:54:43 UTC
From:
To:
The documentation requested describes an interface of libvirt, not of
OVMF. It would make more sense to me that this documentation be
maintained in the libvirt package so it can be kept up to date and in
sync with the interface itself.