libvirt/tests
Michal Privoznik d0e4be9d02 Introduce SMM feature
Since its release of 2.4.0 qemu is able to enable System
Management Module in the firmware, or disable it. We should
expose this capability in the XML. Unfortunately, there's no good
way to determine whether the binary we are talking to supports
it. I mean, if qemu's run with real machine type, the smm
attribute can be seen in 'qom-list /machine' output. But it's not
there when qemu's run with -M none. Therefore we're stuck with
version based check.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-08-04 17:14:20 +02:00
..
bhyveargv2xmldata bhyve: fix bhyveargv2xml custom loader test 2016-07-11 01:04:29 +03:00
bhyvexml2argvdata bhyve: fix bhyvexml2arg test 2016-06-12 11:01:50 +03:00
bhyvexml2xmloutdata
capabilityschemadata
commanddata
cputestdata cpu_map.xml: add cmt/mbm feature to x86 2016-06-25 00:23:58 +02:00
domaincapsschemadata libxl: add USB to hostdev domcapabilities 2016-06-17 14:25:02 -06:00
domainconfdata
domainschemadata tests: schema: Remove useless perf schema data 2016-06-17 12:51:08 +02:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout qemu: address: Remove QEMU_CAPS_DEVICE usage 2016-05-18 14:33:58 -04:00
fchostdata/fc_host
genericxml2xmlindata conf: Fix perf event parser 2016-06-17 09:35:14 +02:00
genericxml2xmloutdata vnc: add support for listen type 'socket' 2016-06-09 14:42:48 +02:00
interfaceschemadata
lxcconf2xmldata lxc: support <interface type='ethernet'> 2016-05-24 15:21:05 -04:00
lxcxml2xmldata conf: support host-side IP/route information in <interface> 2016-07-01 21:13:30 -04:00
lxcxml2xmloutdata
networkxml2confdata network: fix DHCPv6 on networks with prefix != 64 2016-04-21 15:06:25 -04:00
networkxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
networkxml2xmlin Allow custom metadata in network configuration XML 2016-07-01 13:05:25 -04:00
networkxml2xmlout Allow custom metadata in network configuration XML 2016-07-01 13:05:25 -04:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
nssdata nss: Introduce a test 2016-03-18 17:29:53 +01:00
nwfilterxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata test-wrap-argv: set cutoff at 78 characters 2016-07-12 12:35:41 +02:00
qemucapabilitiesdata Introduce SMM feature 2016-08-04 17:14:20 +02:00
qemucaps2xmldata qemu: command: Use -name guest= if available 2016-05-16 10:30:38 -04:00
qemuhelpdata qemu: mandate QEMU version 0.12.0 or newer 2015-11-10 10:38:00 +00:00
qemuhotplugtestdevices qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplugtestdomains qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemumonitorjsondata cpu_x86: Prepare for ecx_in CPUID parameter 2016-06-09 10:03:38 +02:00
qemuxml2argvdata Introduce SMM feature 2016-08-04 17:14:20 +02:00
qemuxml2xmloutdata tests: qemuxml2xml: Add some USB test cases 2016-08-04 16:23:15 +02:00
secretxml2xmlin conf: Revert changes to add new secret type "passphrase" 2016-07-14 13:47:08 -04:00
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
storagepoolschemadata
storagepoolxml2xmlin tests: storagepoolxml2xmltest: Fix pool-rbd test 2016-03-28 12:02:31 -04:00
storagepoolxml2xmlout tests: storagepoolxml2xmltest: Fix pool-rbd test 2016-03-28 12:02:31 -04:00
storagevolschemadata
storagevolxml2argvdata storage: Adjust qemu-img switches check 2016-06-21 14:31:19 -04:00
storagevolxml2xmlin storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
storagevolxml2xmlout storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata tests: rename test_conf -> virconftest 2016-04-21 18:14:07 -04:00
virfiledata
virhostcpudata nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virnetdaemondata virjson: Make pretty format more compact 2016-05-05 10:01:55 +02:00
virnetdevtestdata/sys/class/net
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
xencapsdata
xlconfigdata xenconfig: add conversion of usb controller config to and from xml 2016-08-02 14:02:21 +02:00
xmconfigdata test: Remove executable permission from Xen xm files 2016-06-07 14:06:18 -06:00
xml2sexprdata conf/openvz: eliminate incorrect/undocumented use of <source dev='blah'/> 2016-06-26 19:33:08 -04:00
xml2vmxdata esx: Add VMCI device for virtualHW >= 7 2016-05-26 11:17:06 +02:00
.valgrind.supp
bhyveargv2xmlmock.c bhyve: add tests for bhyveParseCommandLineString 2016-07-10 15:40:11 -04:00
bhyveargv2xmltest.c bhyve: add tests for bhyveParseCommandLineString 2016-07-10 15:40:11 -04:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
bhyvexml2xmltest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
check-file-access.pl tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
commandhelper.c
commandtest.c tests: command: Fix build on ppc64/aarch64 2016-07-14 09:41:55 +02:00
cputest.c cputest: Get rid of the array of test functions 2016-06-14 09:18:48 +02:00
domaincapsmock.c domaincapstest: Don't read data from host 2016-07-01 12:20:54 +02:00
domaincapstest.c qemu: Remove redundant parameter in virQEMUCapsFillDomainCaps 2016-07-01 12:20:54 +02:00
domainconftest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
domainsnapshotxml2xmltest.c Rename virtTestDifferenceFull to virTestDifferenceFull. 2016-06-08 11:23:12 -04:00
esxutilstest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
eventtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
fchosttest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
fdstreamtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
file_access_whitelist.txt tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
genericxml2xmltest.c tests: genericxml2xml: Fix test file name 2016-06-23 21:11:32 +02:00
interfacexml2xmltest.c Rename virtTestDifferenceFull to virTestDifferenceFull. 2016-06-08 11:23:12 -04:00
jsontest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
libvirtd-fail tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libvirtd-pool tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
lxcconf2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
lxcxml2xmltest.c conf: support host-side IP/route information in <interface> 2016-07-01 21:13:30 -04:00
Makefile.am tests: add missing directories in EXTRA_DIST 2016-07-12 11:52:10 +02:00
metadatatest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
networkxml2conftest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
networkxml2firewalltest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
networkxml2xmltest.c Allow custom metadata in network configuration XML 2016-07-01 13:05:25 -04:00
networkxml2xmlupdatetest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
nodedevxml2xmltest.c Rename virtTestDifferenceFull to virTestDifferenceFull. 2016-06-08 11:23:12 -04:00
nsslinktest.c tests: Introduce nsslinktest 2016-03-18 17:29:53 +01:00
nssmock.c nssmock: Adapt to virmock.h 2016-05-14 09:19:51 +02:00
nsstest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
nwfilterebiptablestest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
nwfilterxml2firewalltest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
nwfilterxml2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
objecteventtest.c test: implement node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemuargv2xmltest.c qemu: generate -display none 2016-07-07 11:51:39 +02:00
qemucapabilitiestest.c tests: Create simple monitor in qemuMonitorTestNewFromFile 2016-06-09 09:47:56 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
qemucapsprobe.c tests: More usage of virGetLastErrorMessage() 2016-05-19 15:17:03 -04:00
qemucapsprobemock.c qemucapsprobe: Don't put empty line at EOF 2016-06-22 10:45:28 +02:00
qemucommandutiltest.c util: qemu: Add support for numbered array members 2016-07-27 13:33:10 +02:00
qemuhelptest.c tests: Need to check return of virGetLastError 2016-07-19 07:51:10 -04:00
qemuhotplugtest.c qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemumonitorjsontest.c qemu: monitor: Rename qemuMonitor(JSON|Text)GetCPUInfo 2016-08-04 08:03:58 +02:00
qemumonitortest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
qemumonitortestutils.c tests: Create simple monitor in qemuMonitorTestNewFromFile 2016-06-09 09:47:56 +02:00
qemumonitortestutils.h tests: Create simple monitor in qemuMonitorTestNewFromFile 2016-06-09 09:47:56 +02:00
qemuxml2argvmock.c qemuxml2argvmock: Don't leak @netdef->ifname 2016-07-11 16:25:08 +02:00
qemuxml2argvtest.c Introduce SMM feature 2016-08-04 17:14:20 +02:00
qemuxml2xmltest.c tests: qemuxml2xml: Add some USB test cases 2016-08-04 16:23:15 +02:00
scsihosttest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
seclabeltest.c seclabeltest: Update to use VIRT_TEST_MAIN 2016-05-10 17:16:11 +02:00
secretxml2xmltest.c conf: Revert changes to add new secret type "passphrase" 2016-07-14 13:47:08 -04:00
securityselinuxhelper.c securityselinuxhelper: Adapt to virmock.h 2016-05-14 09:22:12 +02:00
securityselinuxlabeltest.c securityselinuxlabeltest: Prefer virGetLastErrorMessage() over virGetLastError 2016-08-04 15:32:20 +02:00
securityselinuxtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
sexpr2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
ssh.c
storagebackendsheepdogtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
storagepoolxml2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
storagevolxml2argvtest.c storage: Add support to create a luks volume 2016-07-19 09:40:01 -04:00
storagevolxml2xmltest.c encryption: Add <cipher> and <ivgen> to encryption 2016-07-01 15:46:57 -04:00
sysinfotest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
test-lib.sh tools: Fix connect command 2016-05-02 07:18:25 +02:00
test-wrap-argv.pl test-wrap-argv: set cutoff at 78 characters 2016-07-12 12:35:41 +02:00
testutils.c testutils: only rewrap args files 2016-07-12 12:15:50 +02:00
testutils.h xenconfig: support bios=ovmf xl.cfg 2016-06-13 14:13:17 -06:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c tests: qemu: Don't leak security manager object 2016-08-01 06:38:52 +02:00
testutilsqemu.h tests: Prepare to have different usable GIC versions 2016-05-18 11:27:56 +02:00
testutilsxen.c
testutilsxen.h Fix build without xen 2016-06-14 08:25:25 +02:00
utiltest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
vboxsnapshotxmltest.c Rename virtTestLoadFile to virTestLoadFile. 2016-06-08 11:23:12 -04:00
viralloctest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viratomictest.c Rename virAssertCmpInt to testAssertEq 2016-06-15 15:07:47 +02:00
virauthconfigtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virbitmaptest.c tests: Add test cases for the empty bitmap 2016-07-09 11:03:32 +02:00
virbuftest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
vircaps2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
vircapstest.c Remove separator argument from virBitmapParse 2016-06-20 12:09:52 +02:00
vircgroupmock.c tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
vircgrouptest.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virconftest.c util: conf: Rename VIR_CONF_{U,}LONG -> VIR_CONF_{U,}LLONG 2016-07-18 15:49:57 +02:00
vircryptotest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virdbusmock.c tests: Rename virmockdbus -> virdbusmock for consistency 2016-02-11 18:24:32 +01:00
virdbustest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virdrivermoduletest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virendiantest.c util: Introduce virReadBufInt16LE and virReadBufInt16BE 2016-06-24 13:23:02 -04:00
virfiletest.c tests: Rename virtTestCounterNext to virTestCounterNext. 2016-06-08 11:23:13 -04:00
virfirewalltest.c tests: Rename virtTest00MActive to virTest00MActive. 2016-06-08 11:23:12 -04:00
virhashdata.h
virhashtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virhostcpumock.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virhostcputest.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virhostdevtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viridentitytest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viriscsitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkeycodetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkeyfiletest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkmodtest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
virlockspacetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virlogtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virmock.h tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
virnetdaemonmock.c rpc: virnetserverclient: Introduce new attribute conn_time to client 2016-05-02 22:25:52 +02:00
virnetdaemontest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
virnetdevmock.c
virnetdevtest.c util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
virnetmessagetest.c tests: Rename virtTestDifferenceBin to virTestDifferenceBin. 2016-06-08 11:23:12 -04:00
virnetserverclientmock.c
virnetserverclienttest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virnetsockettest.c Add SASL to virNetSocket{Local,Remote}AddrString 2016-06-23 22:23:21 +02:00
virnettlscontexttest.c tests: mock gnutls_dh_params_generate2 2016-06-20 18:12:53 +02:00
virnettlshelpers.c
virnettlshelpers.h tls: remove support for gnutls 1.x.x, require 2.2.0 2016-06-08 13:48:45 +01:00
virnettlssessiontest.c tests: mock gnutls_dh_params_generate2 2016-06-20 18:12:53 +02:00
virpcimock.c tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
virpcitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virpolkittest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virportallocatormock.c virportallocatortest: Run on linux only 2016-02-12 16:13:31 +01:00
virportallocatortest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virrandommock.c build: virrandommock.c not needed on mingw 2016-07-12 08:51:15 -06:00
virrotatingfiletest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virschematest.c tests: Make schema test fail on XML schema errors 2016-08-02 16:21:08 +02:00
virscsitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virsh-cpuset tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-define-dev-segfault tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse Mark virsh-optparse as expensive 2016-06-20 18:16:50 +02:00
virsh-read-bufsiz tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-read-non-seekable tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-schedinfo tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-self-test Introduce virsh self-test 2016-06-20 18:16:33 +02:00
virsh-start tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-undefine tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-uriprecedence tools: Fix connect command 2016-05-02 07:18:25 +02:00
virsh-vcpupin tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virshtest.c tests: Rename virtTestCaptureProgramOutput to virTestCaptureProgramOutput. 2016-06-08 11:23:13 -04:00
virstoragetest.c util: storage: Add JSON backing volume parser for 'ssh' protocol 2016-07-27 13:24:20 +02:00
virstringtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virsystemdtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virt-aa-helper-test
virtestmock.c virtestmock: Mock stat() properly 2016-05-20 17:16:21 +02:00
virtimetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virtypedparamtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viruritest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virusbmock.c
virusbtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
vmwarevertest.c Rename virtTestLoadFile to virTestLoadFile. 2016-06-08 11:23:12 -04:00
vmx2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xencapstest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xlconfigtest.c xenconfig: add conversion of usb controller config to and from xml 2016-08-02 14:02:21 +02:00
xmconfigtest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xml2sexprtest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xml2vmxtest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00