]> xenbits.xensource.com Git - libvirt.git/commit
Allow USB hostdev product to be 0x0000
authorCole Robinson <crobinso@redhat.com>
Tue, 16 Jun 2009 18:46:06 +0000 (18:46 +0000)
committerCole Robinson <crobinso@redhat.com>
Tue, 16 Jun 2009 18:46:06 +0000 (18:46 +0000)
commit502278d5b24b2d68fcaddccd039fd696690df500
tree4c88c2514c5dd9b1e2130da3c7b92afa53c1783a
parentac75bd1b1eedfa0740d6f3dcb9bd89852380ae8d
Allow USB hostdev product to be 0x0000

Product = 0 is a valid value based on this bug report:

https://www.redhat.com/archives/libvir-list/2009-May/msg00368.html

Also, throw a less ambiguous error if vendor = 0.
ChangeLog
src/domain_conf.c
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml