Mailing List Archive

Virtual USB mass storage ( not passthrough )
Is it possible to emulate a disk drive as a USB mass storage rather than
a virtio or scsi disk?
Re: Virtual USB mass storage ( not passthrough ) [ In reply to ]
Phillip Susi schrieb:
> Is it possible to emulate a disk drive as a USB mass storage rather than
> a virtio or scsi disk?

Yes, it is, add something similiar to the following line to the xl.cfg
of your VM:

device_model_args = [ '-drive' ,
'id=fakeusb,file=/path/to/imagefile.img,if=none' , '-device' ,
'usb-storage,drive=fakeusb,removable=on' ]

--
Manfred Härtel, DB3HM mailto:Manfred.Haertel@rz-online.de
http://rz-home.de/mhaertel