We have a VM that we would like to attach a USB device to, using USB passthrough. However, it is also an important VM that must have minimal downtime, so we need to be able to live migrate it to other PVE cluster members when doing server upgrades etc.
I would like to know if it is possible to attach / detach USB devices while the VM is running, or if it only works with reboots of the VM. I understand from the wiki that initial config requires a reboot, but that the VM will boot without the configured USB device, and accept it once it becomes available on the host. But can it then be detached prior to migration? Will all migration be blocked if any USB device is passed through, even if it is detached?
Alternatively, if we had an identical USB hardware device on the target server during migration, would this work?
The VM in question is a VOIP PBX, and the device in question is a USB FXO device (allows PBX to connect to analog PSTN); Sangoma USBfxo. Obviously voice calls through the device would be dropped during migration, but the analog lines are only used minimally, so it's a non-issue for us.
I would like to know if it is possible to attach / detach USB devices while the VM is running, or if it only works with reboots of the VM. I understand from the wiki that initial config requires a reboot, but that the VM will boot without the configured USB device, and accept it once it becomes available on the host. But can it then be detached prior to migration? Will all migration be blocked if any USB device is passed through, even if it is detached?
Alternatively, if we had an identical USB hardware device on the target server during migration, would this work?
The VM in question is a VOIP PBX, and the device in question is a USB FXO device (allows PBX to connect to analog PSTN); Sangoma USBfxo. Obviously voice calls through the device would be dropped during migration, but the analog lines are only used minimally, so it's a non-issue for us.