kvm and libvirt: hotplug virtual disk as USB storage

sz flag


(1) A new virtual disk can be hot plugged into a KVM/qemu VM as a qemu virtio device, e.g. see question KVM and Libvirt - How do I hotplug a new virtio disk?. However, this requires PCI hot-plugging support from the guest OS and this is not always available.

(2) Hot plugging of USB storage is well supported in many systems and there are guides how to forward a physical USB disk to a guest VM, e.g.


Can kvm/qemu's virtual USB system be used to attach a virtual disk (image file or a block device that is not a USB device) as a USB storage device to the guest VM so that it appears in the active VM?


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.