USB Passtrough to a live VM

Alukardd

New Member
Apr 12, 2012
7
0
1
Hello,

I use proxmox ve 2.2 and all VM is Windows hosts under qemu-kvm.
# pveversion -v
pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-16-pve: 2.6.32-82
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1


I want to have opportunity to use one usb port in multiple VM. If I can't use it simultaneously, that I want to have opportunity to migrate port from one VM to another. Though commands like usb_add usb_del in qm monitor. Now it does not work for me:
Code:
qm> info usbhost
  Bus 3, Addr 2, Port 3, Speed 1.5 Mb/s
    Class 00: USB device 04d9:1503, USB Keyboard
  Bus 1, Addr 3, Port 1, Speed 480 Mb/s
    Class 00: USB device 0ea0:2168, USB DRIVE       
  Auto filters:
    Bus 3, Addr *, Port 2, ID *:*
qm> usb_add host:0ea0:2168
could not add USB device 'host:0ea0:2168'
qm> usb_add host:1.1
could not add USB device 'host:1.1'
qm> usb_add host:1-1
could not add USB device 'host:1-1'
qm> usb_add host:1-3
could not add USB device 'host:1-3'
qm> usb_add host:1.3
could not add USB device 'host:1.3'

It will be great if all manipulations with usb we can do through web-interface.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!