Hi Chris:

I have rebased setmaxmem test for latest next branch.

And I am working on adding "--config,--live,--current" options' test,
But when I set maxmem with '--live'(vm is running), the output is:

# virsh setmaxmem 64 2097152 --live
error: Unable to change MaxMemorySize
error: Requested operation is not valid: cannot resize the maximum memory on an 
active domain

Is that my host has something wrong or it is not supported yet?


Yu Mingfei (5):
  virt: Add memory slots for VMXMLBase class in libvirt_xml module.
  virt: Add get_max_mem() for VM class in libvirt_vm module.
  virt: Add setmaxmem() for virsh module.
  virt-libvirt: Add configuration for virsh setmaxmem test.
  virt-libvirt: Add test module for virsh setmaxmem.

 libvirt/tests/cfg/virsh_setmaxmem.cfg |  66 ++++++++++
 libvirt/tests/virsh_setmaxmem.py      | 221 ++++++++++++++++++++++++++++++++++
 virttest/libvirt_vm.py                |   9 ++
 virttest/libvirt_xml/vm_xml.py        |  13 +-
 virttest/virsh.py                     |  31 +++++
 5 files changed, 339 insertions(+), 1 deletion(-)
 create mode 100644 libvirt/tests/cfg/virsh_setmaxmem.cfg
 create mode 100644 libvirt/tests/virsh_setmaxmem.py

-- 
1.7.11.7

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

Reply via email to