[Libosinfo] [PATCH 1/2] win-xp: use ac97 driver

Felipe Borges felipe10borges at gmail.com
Fri Jan 12 11:38:45 UTC 2018


Nowadays libosinfo clients can cover more unknown operating systems
by falling back to the ICH6 drivers.

To make sure that older versions of Windows which have AC97 support
continue functioning as expected, we can explicitly list the AC97
driver in the osinfo-db.

More modern versions of Windows such as win-7, win-8, and win-10
already contain the ICH6 drivers data.

Signed-off-by: Felipe Borges <feborges at redhat.com>
---
 data/os/microsoft.com/win-xp.xml.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/data/os/microsoft.com/win-xp.xml.in b/data/os/microsoft.com/win-xp.xml.in
index ca0b660..9209421 100644
--- a/data/os/microsoft.com/win-xp.xml.in
+++ b/data/os/microsoft.com/win-xp.xml.in
@@ -61,6 +61,10 @@
       </recommended>
     </resources>
 
+    <devices>
+      <device id="http://pcisig.com/pci/8086/2415"/> <!-- AC97 -->
+    </devices>
+
     <installer>
       <script id='http://microsoft.com/windows/sif/jeos'/>
       <script id='http://microsoft.com/windows/sif/desktop'/>
-- 
2.14.3




More information about the Libosinfo mailing list