Mauricio Tavares
2015-May-08 14:17 UTC
[libvirt-users] Editing http://libvirt.org/sources/virshcmdref/html-single/#sect-attach-device
I just noticed the entries on attach-disk and attach-devices are a bit on the empty size. As I am just attaching a usb device to one of my vm clients, I was wondering if I could offer examples to those entries.
Eric Blake
2015-May-08 15:03 UTC
Re: [libvirt-users] Editing http://libvirt.org/sources/virshcmdref/html-single/#sect-attach-device
On 05/08/2015 08:17 AM, Mauricio Tavares wrote:> I just noticed the entries on attach-disk and attach-devices are > a bit on the empty size. As I am just attaching a usb device to one of > my vm clients, I was wondering if I could offer examples to those > entries.The entire virshcmdref document is a bit sparse, as the last major contribution was in 2011, and no one has stepped in to keep it up to date. You are welcome to start submitting patches; the repo is: git://libvirt.org/libvirt-virshcmdref -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Cole Robinson
2015-May-10 22:09 UTC
Re: [libvirt-users] Editing http://libvirt.org/sources/virshcmdref/html-single/#sect-attach-device
On 05/08/2015 10:17 AM, Mauricio Tavares wrote:> I just noticed the entries on attach-disk and attach-devices are > a bit on the empty size. As I am just attaching a usb device to one of > my vm clients, I was wondering if I could offer examples to those > entries.I would recommend checking out 'virt-xml', shipped with virt-manager 1.0.0 and later. 'man virt-xml' has this example, but it's much more powerful than just that Hotplug host USB device 001.003 to running domain 'fedora19': # virt-xml fedora19 --add-device --hostdev 001.003 --update - Cole