Booting from USB device

Simon Fairweather simon.n.fairweather at
Fri Oct 28 13:49:29 UTC 2022

I have a hooks file to hotplug a USB device at the prepare stage.

Using OVMF version 2.6 this works fine, but using  OVMF 2.7 the guest no
longer boots from the USB device.

Option 1) For it to work I have to set the boot order on the USB device and
once the OVMF Shell appears I can reset it and it will find the USB device
and boot.

Option 2) Another setup which works if I remove all boot order settings
from the guest and have a boot dev = 'fd' and this works every time.but I
cannot add multiple entries.

    <type arch='x86_64' machine='pc-q35-5.1'>hvm</type>
    <loader readonly='yes'

    <boot dev='fd'/>
    <boot dev='hd'/>

Any thoughts on how to get option 1) to working without having to do a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libvirt-users mailing list