Bug 1634807

Summary: add testcase to detect duplicate <device> entries in OS hierarchy
Product: [Community] Virtualization Tools Reporter: Cole Robinson <crobinso>
Component: libosinfoAssignee: Fabiano FidĂȘncio <fidencio>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, cfergeau, fidencio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 11:14:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2018-10-01 16:44:40 UTC
See the patches here: https://www.redhat.com/archives/libosinfo/2018-September/msg00151.html
And Fabiano's response here: https://www.redhat.com/archives/libosinfo/2018-October/msg00000.html

If say win8 XML lists ich6 device, win8.1 should not list it, otherwise we end up with duplicate and misleading data everywhere. The patch series fixed some issues found by semi-manual inspection. But ideally we would have a test case of some sort that would detect duplicate device definitions in an OS hierarchy

Comment 1 Fabiano FidĂȘncio 2018-11-08 19:22:32 UTC
Patches have been posted to the libosinfo ML:
https://www.redhat.com/archives/libosinfo/2018-November/msg00062.html

Comment 2 Fabiano FidĂȘncio 2018-11-19 11:14:08 UTC
master:
 4c9224889be89213f4a64dc5ffc170041d0eb598