Comment 9 for bug 1074207

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

FYI, I compiled my own OVMF.Fd (http://people.canonical.com/~jamie/ovmf/). To use immediately, do something like:
$ mkdir ~/vms/ovmf
$ cp bios.bin ~/vms/ovmf

Adjust /etc/apparmor.d/abstractions/libvirt-qemu to have:
  # until libvirt is patched
  @{HOME}/vms/ovmf/** r,

Then use in libvirt xml something like:
  <os>
    <type arch='x86_64' machine='pc-1.2'>hvm</type>
    ...
    <loader>/home/jamie/vms/ovmf/jdstrand/bios.bin</loader>
  </os>

I tested this with the VM using the cirrus driver to get to the EFI shell:
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>