qemu-server/test
Stefan Reiter c4581b9cc5 Rework get_cpu_options and allow custom CPU models
If a cputype is custom (check via prefix), try to load options from the
custom CPU model config, and set values accordingly.

While at it, extract currently hardcoded values into seperate sub and add
reasonings.

Since the new flag resolving outputs flags in sorted order for
consistency, adapt the test cases to not break. Only the order is
changed, not which flags are present.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Reviewed-By: Fabian Ebner <f.ebner@proxmox.com>
Tested-By: Fabian Ebner <f.ebner@proxmox.com>
2020-04-07 17:27:58 +02:00
..
cfg2cmd Rework get_cpu_options and allow custom CPU models 2020-04-07 17:27:58 +02:00
ovf_manifests Add tests for parse_ovf function 2017-09-25 13:31:55 +02:00
snapshot-expected add new tests for 'runningmachine' and rollback 2018-09-17 15:49:31 +02:00
snapshot-input add new tests for 'runningmachine' and rollback 2018-09-17 15:49:31 +02:00
Makefile add tests for qemu_img_convert 2019-10-17 13:57:21 +02:00
run_config2command_tests.pl Use 'QEMU version' -> '+pve-version' mapping for machine types 2020-02-12 10:32:57 +01:00
run_ovf_tests.pl Add tests for parse_ovf function 2017-09-25 13:31:55 +02:00
run_pci_addr_checks.pl move qemu-configs to own directory 2019-09-24 18:59:35 +02:00
run_qemu_img_convert_tests.pl grammar fix: s/does not exists/does not exist/g 2019-12-13 12:20:56 +01:00
run_snapshot_tests.pl tests: exit with -1 in case of failures 2017-05-17 13:58:18 +02:00
snapshot-test.pm vm_start: condense signature 2020-04-01 17:42:15 +02:00
test_get_replicatable_volumes.pl grammar fix: s/does not exists/does not exist/g 2019-12-13 12:20:56 +01:00
test.vmdk fix #2395: refactor qemu_img_convert to accept files as source 2019-10-17 13:57:21 +02:00