Skip to content

Instantly share code, notes, and snippets.

@kamiKAC
kamiKAC / README.md
Last active February 3, 2026 13:48
How to create virtual USB drive and hotplug it into Proxmox VM

Create image in host shell:

mkdir -p /var/lib/vz/images/102/
qemu-img create -f raw /var/lib/vz/images/102/win11recovery.raw 32G

In PVE monitor:

device_add nec-usb-xhci,addr=0x1B,bus=pci.1,id=xhci
# alternatively use qemu-xhci which should be faster (not tested)