Answer the question
In order to leave comments, you need to log in
Xen 4.2.4, only one USB device is forwarded. How to skip multiple?
Hello colleagues.
There is a problem with forwarding USB devices in DomU (Win XP x86 - I want to forward the mouse and keyboard) of the Xen 4.2.4 hypervisor
(Xen4Centos6 on CentOS 6.5 x64). The virtual machine is created using xl toolstack.
man xl.cfg says that
usb=BOOLEAN Enables or disables a USB bus in the guest.
usbdevice=DEVICE
Adds DEVICE to the USB bus. The USB bus must also be enabled using usb=1. ... XXX should/could be a list of devices.
Bus 001 Device 007: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 001 Device 008: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
usb=1
usbdevice = ['host:1.7','host:1.8']
/etc/xen/winxp_xl:33: warning: parameter `usbdevice' is a list but should be a single value
usb=1
usbdevice="host:1.7"
usbdevice="host:1.8"
Answer the question
In order to leave comments, you need to log in
as far as I understand, in computers now all USB connectors are serviced by more than one controller, so it makes sense to make lspci and see how many of them and by selecting one for the VM, still forward it. usually it is 2-4 usb ports. I have 10 controllers on my server. I can quite afford to forward 1-2 to VM.
It is planned to place more virtual machines than USB controllers, so I want to save USB ports. In extreme cases, yes, this is the way out, of course.
================
Moved the virtual disk to the LVM partition instead of a file, in xm the write speed on the HDD became normal (but the reading speed, damn it, fell, although not very much), applied patch from here . It turned out to forward several USBs, I decided to stop there for now.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question