mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-06 14:13:28 -06:00
tests: Update capabilities for advertisting panic device models
Signed-off-by: Lin Ma <lma@suse.de>
This commit is contained in:
parent
c859c7acec
commit
f9ceec2b14
@ -215,6 +215,11 @@
|
||||
<value>lkcf</value>
|
||||
</enum>
|
||||
</crypto>
|
||||
<panic supported='yes'>
|
||||
<enum name='model'>
|
||||
<value>pvpanic</value>
|
||||
</enum>
|
||||
</panic>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='yes'>
|
||||
|
@ -152,6 +152,11 @@
|
||||
<value>lkcf</value>
|
||||
</enum>
|
||||
</crypto>
|
||||
<panic supported='yes'>
|
||||
<enum name='model'>
|
||||
<value>pvpanic</value>
|
||||
</enum>
|
||||
</panic>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='no'/>
|
||||
|
@ -160,6 +160,12 @@
|
||||
<value>lkcf</value>
|
||||
</enum>
|
||||
</crypto>
|
||||
<panic supported='yes'>
|
||||
<enum name='model'>
|
||||
<value>pseries</value>
|
||||
<value>pvpanic</value>
|
||||
</enum>
|
||||
</panic>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='no'/>
|
||||
|
@ -259,6 +259,13 @@
|
||||
<value>lkcf</value>
|
||||
</enum>
|
||||
</crypto>
|
||||
<panic supported='yes'>
|
||||
<enum name='model'>
|
||||
<value>isa</value>
|
||||
<value>hyperv</value>
|
||||
<value>pvpanic</value>
|
||||
</enum>
|
||||
</panic>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='no'/>
|
||||
|
@ -167,6 +167,11 @@
|
||||
<value>lkcf</value>
|
||||
</enum>
|
||||
</crypto>
|
||||
<panic supported='yes'>
|
||||
<enum name='model'>
|
||||
<value>pvpanic</value>
|
||||
</enum>
|
||||
</panic>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='no'/>
|
||||
|
@ -101,6 +101,7 @@ def testDomainCapabilitiesx86():
|
||||
assert caps.supports_memorybacking_memfd()
|
||||
assert caps.supports_redirdev_usb()
|
||||
assert caps.supports_channel_spicevmc()
|
||||
assert caps.supported_panic_models() == ["isa", "hyperv", "pvpanic"]
|
||||
|
||||
xml = open(DATADIR + "/kvm-x86_64-domcaps-amd-sev.xml").read()
|
||||
caps = DomainCapabilities(utils.URIs.open_testdriver_cached(), xml)
|
||||
@ -119,6 +120,7 @@ def testDomainCapabilitiesAArch64():
|
||||
assert caps.supports_memorybacking_memfd()
|
||||
assert caps.supports_redirdev_usb()
|
||||
assert caps.supports_channel_spicevmc()
|
||||
assert caps.supported_panic_models() == ["pvpanic"]
|
||||
|
||||
|
||||
def testDomainCapabilitiesPPC64le():
|
||||
@ -137,6 +139,7 @@ def testDomainCapabilitiesPPC64le():
|
||||
assert caps.supports_memorybacking_memfd()
|
||||
assert caps.supports_redirdev_usb()
|
||||
assert not caps.supports_channel_spicevmc()
|
||||
assert caps.supported_panic_models() == ["pseries", "pvpanic"]
|
||||
|
||||
|
||||
def testDomainCapabilitiesRISCV64():
|
||||
@ -167,6 +170,7 @@ def testDomainCapabilitiesRISCV64():
|
||||
assert caps.supports_memorybacking_memfd()
|
||||
assert caps.supports_redirdev_usb()
|
||||
assert caps.supports_channel_spicevmc()
|
||||
assert caps.supported_panic_models() == ["pvpanic"]
|
||||
|
||||
|
||||
def testDomainCapabilitiesLoongArch64():
|
||||
@ -197,3 +201,4 @@ def testDomainCapabilitiesLoongArch64():
|
||||
assert caps.supports_memorybacking_memfd()
|
||||
assert caps.supports_redirdev_usb()
|
||||
assert caps.supports_channel_spicevmc()
|
||||
assert caps.supported_panic_models() == ["pvpanic"]
|
||||
|
Loading…
Reference in New Issue
Block a user