]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix usb device version parsing issues
authorJán Tomko <jtomko@redhat.com>
Fri, 10 Apr 2015 13:49:42 +0000 (15:49 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 13 Apr 2015 10:33:41 +0000 (12:33 +0200)
commita75069be35c7e99109ad15c1eefef13a42b0622b
treee5af3897fd3ff446b81846c553478504eb4c9b40
parent3f4c27497e399563651af3d8e8c7bbd7fb44aa56
Fix usb device version parsing issues

Request that the number be parsed as decimal, to allow 08
and 09.

Format it with the leading zero, 1.01 and 1.10 are two
different versions.

https://bugzilla.redhat.com/show_bug.cgi?id=1210650
src/conf/domain_conf.c
tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c