K
K
Konstantin Frolov2018-07-26 06:42:11
USB
Konstantin Frolov, 2018-07-26 06:42:11

Forwarding a flash drive without rebooting the guest OS in Proxmox?

Greetings.
Is it possible to pass USB devices to the guest OS without rebooting it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Grishin, 2018-07-26
@vesper-bot

That's not possible. Proxmox, when changing the USB forwarding settings, requires stopping the VM handler process to reread the mappings, as a result, the VM must not only be rebooted, but turned off and then turned on. However, you can forward a USB port to the machine instead of a specific device, then connecting / disconnecting a device in this USB port will get to the guest OS, and it will already process the event as if this port were its own. https://pve.proxmox.com/wiki/USB_Devices_in_Virtua... there is an instruction on how to throw a port into a VM.

P
Panfilov, 2018-10-30
@Panfilov

Can.
Login to the desired VM.
qm monitor <#vm>
and execute
device_add usb-host,hostbus=<#bus>,hostport=<#port>,id=<#any_id>
Assign Devices to an already Running VM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question