mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
dosc: schema: fix usb source address device attribute format
Device attribute does not have dotted "portAddr" format. Instead it has single number format described but "usbAddr" which corresponds to device parsing code in virDomainHostdevSubsysUSBDefParseXML. Looks like [1] mistakenly changed device format for hostdev devices. And [2] copy-n-paste this for hostdev network interfaces. [1]31710a53
Modify USB port to be defined as a port path [2]3b1c191f
conf: parse/format type='hostdev' network interfaces Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
3d23a434d2
commit
74dfa15abe
@ -2768,7 +2768,7 @@
|
||||
<ref name="usbAddr"/>
|
||||
</attribute>
|
||||
<attribute name="device">
|
||||
<ref name="usbPort"/>
|
||||
<ref name="usbAddr"/>
|
||||
</attribute>
|
||||
</group>
|
||||
</choice>
|
||||
@ -4712,7 +4712,7 @@
|
||||
<ref name="usbAddr"/>
|
||||
</attribute>
|
||||
<attribute name="device">
|
||||
<ref name="usbPort"/>
|
||||
<ref name="usbAddr"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</define>
|
||||
|
Loading…
Reference in New Issue
Block a user