Doing these things before is done through Virt-manager. However, because this graphical interface is not very convenient, and can not open now (the specific reason is not known, each turn prompts some methods do not realize what), so try to use Libvirt command Virsh to handle the increase of USB devices.
This time to add shuffle, previously found that gtkpod can not put music to the inside, only to try the virtual machine with itunes. The
first looks at the ID of the device by Lsusb:
My shuffle usbid is: Bus 002 Device 002:id 05ac:1303 Apple, Inc.
to create an XML file (hostdev_i Pod.xml):
code is as follows |
copy code |
#cat hostdev_ Ipod.xml <source <vendor ID = ' 0x05ac '/> <product id= ' 0x1303 '/> </source> |
then through:
Virsh attach-device windows/path/to/hostdev_ipod.xml
Here's windows is the name of my virtual machine, The device can then be seen in the Windows virtual machine.