[libvirt-users] Custom bios image for qemu

Phil Tooley
2015-07-29T14:40:23Z

Hello all,

So I am trying to get a qemu guest to use a custom patched seabios image
rather than the default /usr/share/qemu/bios.bin

I have tried changing the domain config file to include either:

<os>
    --SNIP--
    <loader readonly='yes'
type='rom'>/home/telemin/qemu/seabios_patched.bin</loader>
</os>

OR

domain type='kvm'
xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'
--SNIP--
  <qemu:commandline>
    <qemu:arg value='-smbios'/>
    <qemu:arg
value='file=/home/telemin/qemu/seabios_patched.bin'/>
  </qemu:commandline>
--SNIP--


And neither of these approaches result in the new seabios_patched.bin
being used.

I am clearly missing something here, can anyone with some more
experience tell me what it is please?

Many Thanks

Phil Tooley