[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual USB mass storage ( not passthrough )



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@xxxxxxxxxxxx
                         http://rz-home.de/mhaertel



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.