15
Окт
0

Подключение USB в KVM

Подключаем USB Flash Kingston на KVM.

lsusb

[root@gw mnt]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 004: ID 13fe:4100 Kingston Technology Company Inc.

Создать файл usb.xml

<hostdev mode=’subsystem’ type=’usb’>
<source>
<address bus=’2′ device=’4’/>
</source>
</hostdev>

подкулючаем USB устройство к виртуальной машине:
virsh attach-device Windows usb.xml

отключить

virsh detach-device Windows usb.xml

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.

Comments are closed.

Celadon theme by the Themes Boutique