On 09/04/2013 08:40 PM, Liuji (Jeremy) wrote:
When using "virsh attach-device" to attach a device, the
virDomainDefCompatibleDevice function will check the compatibility.
If the device is a USB device, but the VM don't have any USB controller, the
execution of "virsh attach-device" will fails.
It considers the USB controller as a USB device on virDomainDeviceIsUSB, so we can't
use "virsh attach-device" to attach a
USB controller for a VM which don't have any other USB controller.
Signed-off-by: Liu Ji <jeremy.liu(a)huawei.com>
Your mail From "Liuji (Jeremy)" differs from your S-o-B "Liu Ji". For
the sake of a clean 'git shortlog', I'd like to know which form you
prefer, so we can stick an entry in .mailmap to clean up the discrepancy.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org