diff --git a/tests/data/cli/compare/virt-xml-edit-cpu-host-copy.xml b/tests/data/cli/compare/virt-xml-edit-cpu-host-copy.xml index 8f59291f6..54c2c0985 100644 --- a/tests/data/cli/compare/virt-xml-edit-cpu-host-copy.xml +++ b/tests/data/cli/compare/virt-xml-edit-cpu-host-copy.xml @@ -1,2 +1,52 @@ + + + +- core2duo ++ Skylake-Client-IBRS + Intel + +- +- +- +- +- +- +- +- +- +- +- +- +- + + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + + Domain 'test-many-devices' defined successfully. Changes will take effect after the domain is fully powered off. diff --git a/tests/data/cli/compare/virt-xml-hyperv-uefi-collision.xml b/tests/data/cli/compare/virt-xml-hyperv-uefi-collision.xml index 774b258ba..e4e724d9d 100644 --- a/tests/data/cli/compare/virt-xml-hyperv-uefi-collision.xml +++ b/tests/data/cli/compare/virt-xml-hyperv-uefi-collision.xml @@ -1,2 +1,20 @@ + + hvm + ++ /usr/share/edk2/ovmf-ia32/OVMF_CODE.fd + + + + +- +- +- +- +- ++ + + + + Domain 'test-hyperv-uefi' defined successfully. Changes will take effect after the domain is fully powered off. diff --git a/tests/test_cli.py b/tests/test_cli.py index 3be2153b0..b437edfd8 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1265,8 +1265,8 @@ c.add_compare("4a64cc71-19c4-2fd0-2323-3050941ea3c3 --edit --boot network,cdrom" c.add_compare("--confirm 1 --edit --cpu host-passthrough", "prompt-response", input_text="yes") # prompt response, also using domid lookup c.add_compare("--edit --print-diff --qemu-commandline clearxml=yes", "edit-clearxml-qemu-commandline", input_file=(_VIRTXMLDIR + "virtxml-qemu-commandline-clear.xml")) c.add_compare("--print-diff --remove-device --serial 1", "remove-console-dup", input_file=(_VIRTXMLDIR + "virtxml-console-dup.xml")) -c.add_compare("--connect %(URI-KVM-X86)s test-hyperv-uefi --edit --boot uefi", "hyperv-uefi-collision") -c.add_compare("--connect %(URI-KVM-X86)s test-many-devices --edit --cpu host-copy", "edit-cpu-host-copy") +c.add_compare("--print-diff --define --connect %(URI-KVM-X86)s test-hyperv-uefi --edit --boot uefi", "hyperv-uefi-collision") +c.add_compare("--print-diff --define --connect %(URI-KVM-X86)s test-many-devices --edit --cpu host-copy", "edit-cpu-host-copy") c.add_compare("--connect %(URI-KVM-X86)s test-many-devices --build-xml --disk source.pool=pool-disk,source.volume=sdfg1", "build-disk-pool-disk") c.add_compare("test --add-device --network default --update --confirm", "update-succeed", env={"VIRTXML_TESTSUITE_UPDATE_IGNORE_FAIL": "1", "VIRTINST_TEST_SUITE_INCREMENT_MACADDR": "1"}, input_text="yes\nyes\n") # test hotplug success c.add_compare("test --add-device --network default --update --confirm --no-define", "update-nodefine-succeed", env={"VIRTXML_TESTSUITE_UPDATE_IGNORE_FAIL": "1"}, input_text="yes\n") # test hotplug success without define