Bug 1327577 - 'address' node under 'hostdev' node should accept 'type' attribute
Summary: 'address' node under 'hostdev' node should accept 'type' attribute
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-15 12:41 UTC by Zeeshan Ali
Modified: 2021-08-18 14:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-18 14:02:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Zeeshan Ali 2016-04-15 12:41:05 UTC
While all address nodes (representing hardware addresses) used throughout libvirt XML accept a 'type' attribute on it, seems it's not the case for 'hostdev' node. This means we'll have to add a work around in libvirt-glib where we have a class hierarchy to represent all these address nodes in a generic way.

So it would be nice if libvirt accepted 'type' attribute on hostdev nodes too, even if it completely ignores it.

Comment 1 Cole Robinson 2016-04-15 13:32:25 UTC
mkletzan do your latest nodedev patches impact this?

Comment 2 Martin Kletzander 2016-04-15 15:05:40 UTC
No, that shouldn't be the case at all.

Comment 4 Daniel Berrangé 2021-08-18 14:02:28 UTC
Any 'type' on the <address> element for a <hostdev> would be redundant, as the format of <hostdev> child elements already discriminates based on the "type" attribute on the <hostdev> element at the top level.


Note You need to log in before you can comment on or make changes to this bug.