libvirt/tests
Peter Krempa 32228ecb02 conf: Remove nonsensical requirement of nvram format matching firmware format
The nvram image can have any supported format and there's no technical
requirement of them having the same format. In fact the actual nvram
image doesn't necessarily need to have the same format as the template
if the user is willing to format it themselves (as libvirt is not going
to convert it).

Remove the nonsensical check and adjust tests. The test case required
swapping around the format in order to work properly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-11-15 09:42:04 +01:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata conf: Report CPU clusters in capabilities XML 2024-01-15 14:56:35 +01:00
chxml2xmlin tests: chxml2xmlin: Fix path format for fake paths 2023-08-25 10:07:36 +02:00
chxml2xmlout test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
commanddata commandtest: Test virCommandSetSendBuffer() with virCommandDoAsyncIO() 2022-12-01 14:22:39 +01:00
cputestdata qemu: Translate vmx-invvpid-single-context-noglobals CPU feature 2024-10-09 14:46:51 +02:00
domainbackupxml2xmlin schemas: backup: Allow missing 'type' attribute for backup disk 2023-05-16 10:26:33 +02:00
domainbackupxml2xmlout schemas: backup: Allow missing 'type' attribute for backup disk 2023-05-16 10:26:33 +02:00
domaincapsdata tests: add capabilities for QEMU 9.2.0 on s390x 2024-11-11 10:15:06 +01:00
domainconfdata
domainschemadata tests: qemu: Move testing of default cache and disk source with space to 'sata-device' 2023-03-06 20:55:49 +01:00
fchostdata/fc_host
genericxml2xmlindata tests: Add title-and-description 2024-01-30 10:58:13 +01:00
genericxml2xmloutdata qemuxml2xmltest: Move 'graphics-listen-network2' case go genericxml2xmltest 2024-01-04 22:26:10 +01:00
interfaceschemadata
libxlxml2domconfigdata libxl_conf: Fix config generation for multiple serial devices 2024-10-02 16:06:50 +02:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata Revert "network: add rule to nftables backend that zeroes checksum of DHCP responses" 2024-10-30 11:39:58 +01:00
networkxml2xmlin conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlout conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlupdatein Revert "network: allow "modify" option for DNS-Srv records" 2024-08-05 11:42:35 +02:00
networkxml2xmlupdateout Revert "network: allow "modify" option for DNS-Srv records" 2024-08-05 11:42:35 +02:00
nodedevmdevctldata nodedev: Implement virNodeDeviceUpdate 2024-02-26 11:09:57 +01:00
nodedevschemadata nodedev: add an active config to mdev 2024-02-26 10:59:47 +01:00
nodedevxml2xmlout nodedev: add an active config to mdev 2024-02-26 10:59:47 +01:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin nwfilterxml2xmltest: Add test case for parser and formatter quirks 2023-06-05 13:23:06 +02:00
nwfilterxml2xmlout virNWFilterRuleDefDetailsFormat: Refactor formatter 2023-06-05 13:23:06 +02:00
qemuagentdata qemuagenttest: Use real x86_64 capabilities for parsing domain definitions 2023-07-20 15:23:34 +02:00
qemublocktestdata qemublocktest: Convert all 'gluster' instances to 'nbd' in 'xml2json' cases 2024-10-16 14:39:08 +02:00
qemucapabilitiesdata tests: add capabilities for QEMU 9.2.0 on s390x 2024-11-11 10:15:06 +01:00
qemucaps2xmloutdata Add test script for loongarch 2024-03-21 14:42:27 +01:00
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout qemudomaincheckpointxml2xmltest: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:43 +02:00
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout tests: qemudomainsnapshotxml2xmlout: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:24 +02:00
qemufirmwaredata tests: Add firmware descriptor for edk2 on riscv64 2024-07-19 15:18:40 +02:00
qemuhotplugtestcpus conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
qemuhotplugtestdevices qemuhotplugtest: Add testcases for hotplugging evdev input devices 2024-05-16 14:57:02 +02:00
qemuhotplugtestdomains qemuhotplugtest: Add testcases for hotplugging evdev input devices 2024-05-16 14:57:02 +02:00
qemumemlockdata tests: remove explicit <driver name='vfio'/> from hostdev test cases 2024-01-07 23:59:00 -05:00
qemumigparamsdata tests: switch to compact empty JSON object formatting 2024-09-24 08:24:00 +02:00
qemumigrationcookiexmldata
qemumonitorjsondata tests: Verify handling of CPU clusters in QMP data 2024-01-15 14:56:36 +01:00
qemunbdkitdata qemu: fix nbdkit command test for backing chains 2024-02-09 14:45:20 -06:00
qemusecuritydata
qemustatusxml2xmldata qemu: Set memoryBackingDir in private data upon start 2024-09-24 10:12:08 +02:00
qemuvhostuserdata qemu: fill capabilities for virtiofsd 2024-07-10 12:32:23 +02:00
qemuxmlactive2xmldata qemuxml(conf|active)test: Use 'nbd' instead of 'gluster' in 'disk-backing-chains-(no)index' cases 2024-10-16 14:39:09 +02:00
qemuxmlconfdata conf: Remove nonsensical requirement of nvram format matching firmware format 2024-11-15 09:42:04 +01:00
schemas virschematest: Add infrastructure for testing single devices 2022-11-03 09:19:54 +01:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata storage: Upgrade default qcow2 verion to 1.1 2024-03-12 10:34:43 +01:00
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata virsysinfo: Calculate OEM string index better 2024-07-25 16:51:17 +02:00
vboxsnapshotxmldata
viracpidata tests: Introduce viracpitest 2023-04-06 12:48:22 +02:00
vircaps2xmldata tests: Add caps2xml and resctrl data from the wild 2024-09-13 12:57:42 +02:00
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata tests: Add hostcpudata for machine with CPU clusters 2024-01-15 14:56:35 +01:00
virjsondata
virmacmaptestdata tests: switch to compact empty JSON object formatting 2024-09-24 08:24:00 +02:00
virnetdaemondata rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata
virresctrldata tests: Add caps2xml and resctrl data from the wild 2024-09-13 12:57:42 +02:00
virscsidata
virshtestdata virshtest: Add test case for script friendly options 2024-09-05 15:24:55 +02:00
virstoragetestdata storage_file_probe: Treat qcow2 images with protocol drivers in backing store field as raw 2023-11-27 10:12:34 +01:00
virstorageutildata
virusbtestdata/sys_bus_usb/devices
virutiltestdata util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
vmwareverdata
vmx2xmldata vmx: Allow '*' to appear in VMX file keys 2024-09-12 09:51:58 +02:00
xlconfigdata conf: Always format firmware image format 2024-11-15 09:42:04 +01:00
xmconfigdata conf: Always format firmware image format 2024-11-15 09:42:04 +01:00
xml2vmxdata
.valgrind.supp tests: Refresh valgrind suppressions 2023-07-20 11:22:08 +02:00
bhyveargv2xmlmock.c
bhyveargv2xmltest.c
bhyvexml2argvmock.c maint: fix "mixing declarations and code" errors 2022-11-09 18:22:47 +01:00
bhyvexml2argvtest.c
bhyvexml2xmltest.c
chxml2xmlmock.c tests: Introduce chxml2xmlmock 2024-03-12 17:37:51 +01:00
chxml2xmltest.c tests: Introduce chxml2xmlmock 2024-03-12 17:37:51 +01:00
commandhelper.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
commandtest.c virGetGroupList: Refactor and fix callers 2024-05-23 14:32:24 +02:00
cputest.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
domaincapsmock.c qemu: S390 does not provide physical address size 2023-07-19 08:42:08 +02:00
domaincapstest.c Add test script for loongarch 2024-03-21 14:42:27 +01:00
domainconftest.c
esxutilstest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
eventtest.c
fchosttest.c tests: fix tests when test driver is disabled 2024-05-08 15:57:31 +01:00
fdstreamtest.c
genericxml2xmltest.c tests: Add title-and-description 2024-01-30 10:58:13 +01:00
interfacexml2xmltest.c
libxlmock.c test: drop bogus check for YAJL from libxl test/mock 2024-05-08 16:01:34 +01:00
libxlxml2domconfigtest.c libxl_conf: Fix config generation for multiple serial devices 2024-10-02 16:06:50 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c
meson.build meson: options: drop yajl 2024-09-24 08:24:00 +02:00
metadatatest.c
networkmetadatatest.c Add Test driver and testcase for Network Metadata change APIs 2023-08-25 12:36:37 +02:00
networkxml2conftest.c maint: fix "mixing declarations and code" errors 2022-11-09 18:22:47 +01:00
networkxml2firewalltest.c network: add more firewall test cases 2024-06-24 13:51:04 +01:00
networkxml2xmltest.c conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlupdatetest.c Revert "network: allow "modify" option for DNS-Srv records" 2024-08-05 11:42:35 +02:00
nodedevmdevctltest.c nodedevmdevctltest: Fix two memleaks 2024-02-26 14:35:52 +01:00
nodedevxml2xmltest.c test: nodedev: fill active_config at driver startup time 2024-04-24 09:38:54 -04:00
nsslinktest.c
nssmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
nsstest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
nwfilterebiptablestest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
nwfilterxml2firewalltest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
nwfilterxml2xmltest.c nwfilterxml2xmltest: Add test case for parser and formatter quirks 2023-06-05 13:23:06 +02:00
objecteventtest.c
openvzutilstest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
openvzutilstest.conf
permitted_file_access.txt
pkix_asn1_tab.c
qemuagenttest.c qemuagenttest: Use real x86_64 capabilities for parsing domain definitions 2023-07-20 15:23:34 +02:00
qemublocktest.c qemu: Move PostParse functions out of qemu_domain.c 2024-11-13 13:13:54 +01:00
qemucapabilitiestest.c qemucapabilitiestest: Add support for '+hvf' variant 2023-04-03 09:19:06 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c virQEMUCapsInitGuestFromBinary: Remove return value 2023-04-03 09:19:07 +02:00
qemucapsprobe.c tests: qemucapsprobe: Fix construction of path to libqemucapsprobemock.so 2024-04-24 14:12:17 +02:00
qemucapsprobemock.c tests: qemucaps: Make JSON output identical to python's 'json.dump' method 2024-02-01 10:39:40 +01:00
qemucommandutiltest.c
qemucpumock.c
qemudomaincheckpointxml2xmltest.c qemudomaincheckpointxml2xmltest: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:43 +02:00
qemudomainsnapshotxml2xmltest.c tests: qemudomainsnapshotxml2xmlout: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:24 +02:00
qemufirmwaretest.c tests: Add firmware descriptor for edk2 on riscv64 2024-07-19 15:18:40 +02:00
qemuhotplugmock.c qemu: make vdpa connect function more generic 2023-09-12 11:06:41 -05:00
qemuhotplugtest.c tests: add capabilities for QEMU 9.1.0 on s390x 2024-10-24 18:46:21 +02:00
qemumemlocktest.c qemumemlocktest: Use 'testQemuInsertRealCaps' 2023-07-20 15:23:16 +02:00
qemumigparamstest.c tests: switch to compact empty JSON object formatting 2024-09-24 08:24:00 +02:00
qemumigrationcookiexmltest.c lib: Annotate more function as NULL terminated 2024-06-06 09:29:58 +02:00
qemumonitorjsontest.c qemu: chardev: Use 'reconnect-ms' instead of deprecated 'reconnect' 2024-10-16 14:39:09 +02:00
qemumonitortestutils.c qemumonitortestutils: Fix G_GNUC_PRINTF annotation of qemuMonitorTestAddErrorResponse() 2024-06-06 09:32:43 +02:00
qemumonitortestutils.h qemumonitortestutils: Fix G_GNUC_PRINTF annotation of qemuMonitorTestAddErrorResponse() 2024-06-06 09:32:43 +02:00
qemunbdkittest.c qemu: fix nbdkit command test for backing chains 2024-02-09 14:45:20 -06:00
qemusecuritymock.c qemusecuritytest: Call real virFileExists in mock 2024-04-09 16:55:25 +02:00
qemusecuritytest.c qemusecuritytest: drop disk-network-tlsx509-vxhs test case 2024-07-02 09:13:47 +02:00
qemusecuritytest.h
qemuvhostusertest.c tests: vhostuser: add virtiofsd json descriptor 2024-07-10 12:32:23 +02:00
qemuxml2argvmock.c hypervisor: Move domain interface mgmt methods 2024-08-26 16:10:04 +02:00
qemuxmlactivetest.c qemu: Add memoryBackingDir to qemuDomainObjPrivate 2024-09-24 10:12:08 +02:00
qemuxmlconftest.c conf: Remove nonsensical requirement of nvram format matching firmware format 2024-11-15 09:42:04 +01:00
scsihosttest.c tests: Move fakerootdir handling to common logic 2023-03-03 13:52:37 +01:00
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c tests: stop stubbing libselinux APIs for purpose of data overrides 2024-10-16 15:47:52 +01:00
securityselinuxlabeltest.c tests: stop stubbing libselinux APIs for purpose of data overrides 2024-10-16 15:47:52 +01:00
securityselinuxtest.c tests: stop stubbing libselinux APIs for purpose of data overrides 2024-10-16 15:47:52 +01:00
shunloadhelper.c
shunloadtest.c
sockettest.c lib: Finish using struct zero initializer manually 2023-08-03 16:41:19 +02:00
ssh.c
storagepoolcapstest.c
storagepoolxml2argvtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c
storagevolxml2xmltest.c
sysinfotest.c virsysinfo: Calculate OEM string index better 2024-07-25 16:51:17 +02:00
testutils.c tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
testutils.h lib: Annotate more function as NULL terminated 2024-06-06 09:29:58 +02:00
testutilshostcpus.h Add test script for loongarch 2024-03-21 14:42:27 +01:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: explicit swtpm state locking 2024-11-05 15:25:53 +01:00
testutilsqemu.h Drop unused function declarations 2024-11-12 15:35:53 +01:00
testutilsqemuschema.c testutilsqemuschema: Support 'unstable' feature in QMP schema validator 2024-10-01 12:53:49 +02:00
testutilsqemuschema.h lib: Annotate more function as NULL terminated 2024-06-06 09:29:58 +02:00
testutilsxen.c virCapabilitiesAllocMachines: Use NULL-terminated list as argument and return count 2023-04-03 09:19:07 +02:00
testutilsxen.h
utiltest.c util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
vboxsnapshotxmltest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
viracpitest.c tests: Introduce viracpitest 2023-04-06 12:48:22 +02:00
viralloctest.c
virauthconfigtest.c
virbitmaptest.c virBitmapShrink: Do not attempt to clear bits beyond end of buffer 2024-09-10 14:25:37 +02:00
virbuftest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
vircaps2xmltest.c tests: Add caps2xml and resctrl data from the wild 2024-09-13 12:57:42 +02:00
vircgroupmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
vircgrouptest.c tests: Adopt fakerootdir helpers 2023-03-03 13:52:37 +01:00
virconftest.c
vircryptotest.c vircryptotest: Fix cipher test typo aes265cbc -> aes256cbc 2023-04-03 08:21:27 +02:00
virdnsmasqmock.c
virdriverconnvalidatetest.c
virdrivermoduletest.c
virendiantest.c
virerrortest.c util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virfilecachemock.c
virfilecachetest.c
virfilemock.c meson: remove obsolete check for linux/magic.h 2022-12-12 10:36:13 +00:00
virfiletest.c qemu: Propagate shared_filesystems 2024-10-03 13:29:26 +02:00
virfilewrapper.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virfilewrapper.h
virfirewallmock.c virfirewallmock: Replace virFindFileInPath() with virFirewallDIsRegistered() 2023-05-10 14:44:22 +02:00
virfirewalltest.c util/network: new virFirewallBackend enum 2024-05-22 23:19:18 -04:00
virgdbusmock.c
virhostcpumock.c
virhostcputest.c tests: Add hostcpudata for machine with CPU clusters 2024-01-15 14:56:35 +01:00
virhostdevmock.c
virhostdevtest.c conf: put hostdev PCI backend into a struct 2024-01-07 23:57:09 -05:00
virhostidmock.c
viridentitytest.c tests: stop stubbing libselinux APIs for purpose of data overrides 2024-10-16 15:47:52 +01:00
viriscsitest.c
virjsontest.c tests: json: relax some test cases 2024-08-16 13:11:57 +02:00
virkeycodetest.c
virkmodtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virlockspacetest.c
virlogtest.c
virmacmaptest.c tests: switch to compact empty JSON object formatting 2024-09-24 08:24:00 +02:00
virmigtest.c
virmock.h tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virmockstathelpers.c virmockstathelpers: Adapt to musl-1.2.4 2023-05-16 08:48:17 +02:00
virnetdaemonmock.c
virnetdaemontest.c build: introduce WITH_JSON 2024-09-24 08:24:00 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virnetdevmock.c
virnetdevopenvswitchtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virnetdevtest.c Use G_N_ELEMENTS() more 2023-03-13 13:29:07 +01:00
virnetmessagetest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c Decrease scope of some variables 2023-08-03 16:35:11 +02:00
virnettlscontexttest.c tests: Drop needless virrandom mock from two tests 2022-11-21 15:36:08 +01:00
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c tests: Drop needless virrandom mock from two tests 2022-11-21 15:36:08 +01:00
virnetworkportxml2xmltest.c virnetworkportxml2xmltest: Add simple versions of bridge/network tests 2024-01-04 22:26:10 +01:00
virnumamock.c virnumamock: Introduce virNumaGetNodeOfCPU() mock 2023-03-15 12:46:21 +01:00
virnwfilterbindingxml2xmltest.c
virpcimock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virpcitest.c virPCIDeviceGetVPD: Handle errors in callers 2024-01-31 17:24:07 +01:00
virpcivpdtest.c util: virpcivpd: Remove return value from virPCIVPDResourceUpdateKeyword 2024-01-31 17:24:07 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c
virprocessmock.c
virprocessstattest.c
virrandommock.c virrandommock: Drop virRandomGenerateWWN 2023-07-19 13:09:11 +02:00
virresctrltest.c tests: Add caps2xml and resctrl data from the wild 2024-09-13 12:57:42 +02:00
virrotatingfiletest.c
virschematest.c virschematest: Replace g_lstat() with virFileIsLink() 2024-08-28 08:46:16 +02:00
virscsitest.c
virsh-auth scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
virsh-auth.xml
virshtest.c virshtest: Add test case for script friendly options 2024-09-05 15:24:55 +02:00
virstoragetest.c build: introduce WITH_JSON 2024-09-24 08:24:00 +02:00
virstorageutiltest.c
virstringtest.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virsystemdtest.c tests: Add tests for virSystemdResolvedRegisterNameServer 2024-02-07 14:19:42 +01:00
virt-aa-helper-test tests: Allow spaces in path to virt-aa-helper 2024-04-15 09:28:32 +02:00
virtestmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virtimetest.c
virtypedparamtest.c virTypedParamsFilter: Introduce option to filter also by type 2024-10-01 12:57:02 +02:00
viruritest.c Drop checks for virURIFormat() retval 2023-02-08 16:50:45 +01:00
virusbmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virusbtest.c
vmwarevertest.c
vmx2xmltest.c vmx: Allow '*' to appear in VMX file keys 2024-09-12 09:51:58 +02:00
vshtabletest.c
xlconfigtest.c libxl: Fix domxml-to-native conversion 2024-05-02 15:57:29 -06:00
xmconfigtest.c libxl: Fix domxml-to-native conversion 2024-05-02 15:57:29 -06:00
xml2vmxtest.c