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:
I used it successfully in order to use Relax-and-recover as a backup and recovery solution for my VMs.
thank you, i try to connect a physical usb