Hi,
I'm testing to boot a virtual machine from an
usb device on the host using usb-host device.
The bios seems not to find the usb device and
try alternatives methods to boot until all fail. Setting
-boot menu=on, the available options doesn't list
any usb drive. Is this somehow possible or am I
doing something terribly wrong? The virtual machine
command line follows:
/usr/bin/qemu-system-x86_64 -enable-kvm -M q35 \
-vga none -display gtk,gl=on -cpu host -smp 8,cores=8,threads=1 \
-m 4G -mem-path /dev/hugepages -L /usr/share/qemu -full-screen \
-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 \
-device virtio-vga-gl \
-device qemu-xhci,id=xhci -device usb-tablet \
-device usb-host,vendorid=0x20a0,productid=0x4109 \
-device usb-host,vendorid=0x1050,productid=0x0407 \
-netdev user,id=user.0 -device virtio-net-pci,netdev=user.0 \
-device virtio-serial \
-chardev
socket,path=/tmp/tails-virtio-serial,server=on,wait=off,id=tails-virtio-serial
\
-device
virtserialport,chardev=tails-virtio-serial,name=org.qemu.guest_agent.0
The device to boot is the usb-host 20a0:4109.
Thanks!