From: Ján Tomko Date: Thu, 12 Mar 2015 12:13:39 +0000 (+0100) Subject: Clarify the meaning of version in redirdev filters X-Git-Tag: v1.2.13.1~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be74ebccbe7bac273164fc423114303a46fd4ccf;p=thirdparty%2Flibvirt.git Clarify the meaning of version in redirdev filters The version attribute in redirdev filters refers to the revision of the device, not the version of the USB protocol. Explicitly state that this is not the USB protocol and remove references to those round version numbers that resemble USB protocol versions. https://bugzilla.redhat.com/show_bug.cgi?id=1177237 (cherry picked from commit 76a2a5ce8ba319c63e5c5572d41d768a48d371b5) --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 082e475728..73aca5e457 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -3318,7 +3318,7 @@ <boot order='1'/> </redirdev> <redirfilter> - <usbdev class='0x08' vendor='0x1234' product='0xbeef' version='2.00' allow='yes'/> + <usbdev class='0x08' vendor='0x1234' product='0xbeef' version='2.56' allow='yes'/> <usbdev allow='no'/> </redirfilter> </devices> @@ -3361,7 +3361,8 @@ class attribute is the USB Class code, for example, 0x08 represents mass storage devices. The USB device can be addressed by vendor / product id using the vendor and product attributes. - version is the bcdDevice value of USB device, such as 1.00, 1.10 and 2.00. + version is the device revision from the bcdDevice field (not + the version of the USB protocol). These four attributes are optional and -1 can be used to allow any value for them. allow attribute is mandatory, 'yes' means allow, 'no' for deny.