summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cli-test-xml/compare/virt-install-kvm-centos7.xml8
-rw-r--r--tests/utils.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/cli-test-xml/compare/virt-install-kvm-centos7.xml b/tests/cli-test-xml/compare/virt-install-kvm-centos7.xml
index 9d7b016f..dc118878 100644
--- a/tests/cli-test-xml/compare/virt-install-kvm-centos7.xml
+++ b/tests/cli-test-xml/compare/virt-install-kvm-centos7.xml
@@ -10,7 +10,7 @@
<currentMemory>65536</currentMemory>
<vcpu>1</vcpu>
<os>
- <type arch="x86_64" machine="pc">hvm</type>
+ <type arch="x86_64" machine="q35">hvm</type>
<boot dev="network"/>
<boot dev="hd"/>
</os>
@@ -55,7 +55,7 @@
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
<image compression="off"/>
</graphics>
- <sound model="ich6"/>
+ <sound model="ich9"/>
<video>
<model type="qxl"/>
</video>
@@ -78,7 +78,7 @@
<currentMemory>65536</currentMemory>
<vcpu>1</vcpu>
<os>
- <type arch="x86_64" machine="pc">hvm</type>
+ <type arch="x86_64" machine="q35">hvm</type>
<boot dev="hd"/>
</os>
<features>
@@ -121,7 +121,7 @@
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
<image compression="off"/>
</graphics>
- <sound model="ich6"/>
+ <sound model="ich9"/>
<video>
<model type="qxl"/>
</video>
diff --git a/tests/utils.py b/tests/utils.py
index f85f4bf5..d22933d3 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -32,7 +32,7 @@ clistate = _CLIState()
def has_old_osinfo():
# Some tests rely on newer osinfo data. Check for a new condition
# here, and older tests will be skipped
- osname = "win7"
+ osname = "centos7.0"
if not virtinst.OSDB.lookup_os(osname):
return True
return not virtinst.OSDB.lookup_os(osname).supports_chipset_q35()