Hi Chris,Alex,Lucas:
According to Alex's suggestion, I do a small change on the test.

There's a problem in the test. Before starting test, please confirm that
the tested guest's xml definition contains information about cpu.(virsh dumpxml domain). If not, you must modify Processor's configuration in virt-manager manually(Select a model or use "Copy host CPU configuration" button) .After that,the guest's xml definition will contain
the cpu information.
Does any body have the way can make the action above be automated?

Li Yang (2):
  virt-libvirt:Add configuration for virsh cpu-compare test
  Add test module for virsh cpu-compare

 libvirt/tests/cfg/virsh_cpu_compare.cfg |   38 ++++++++++++++
libvirt/tests/virsh_cpu_compare.py | 82 +++++++++++++++++++++++++++++++
 virttest/virsh.py                       |   12 +++++
 3 files changed, 132 insertions(+), 0 deletions(-)
 create mode 100644 libvirt/tests/cfg/virsh_cpu_compare.cfg
 create mode 100644 libvirt/tests/virsh_cpu_compare.py

--
Regards,
--------------------------------------------------
Li Yang
TEL:+86+25-86630566-8526
EMail:[email protected]
--------------------------------------------------



_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to