Connect USB flash to VM

i wonder if i can connect an usb flash to a vm

Physical or virtual USB ?

For physical, I think you should look into PCI pass-through boot parameters parameters to allow a physical device to be accessed by the VM. Not tried it though.

For virtual USB, I successfully just use hotplug block device and make sure they are given the right SCSI device name. See below for Sunstone attributes that work for me:

DRIVER qcow2
FSTYPE qcow2

I used it successfully in order to use Relax-and-recover as a backup and recovery solution for my VMs.

1 Like

thank you, i try to connect a physical usb