On Wed, 2011-07-06 at 19:19 +0530, Yogananth Subramanian wrote: > Hello Lucas > I would like to submit patch to manage guests using virsh. > The patch supports boot, shutdown, memory ballooning, device hotplug(disk > and nic). > > A base libvirt xml is created using "domxml-from-native", which is modified > later based on qemu parameters passed. "virsh" commands are passed using > the function virsh_login in virt_utils.py, it uses remote URI "qemu+ssh://" > to connect with hypervisor instead of local URI, thereby offering the > flexibility to work with remote hypervisor. > The patch adds two new filters to the test config files "virsh_no" and > "virsh_enable". "only virsh_no" is used to run the using just qemu and > "only virsh_enable" to manage guest using virsh. > > This patch is based on RHEL 6.1 host(qemu-kvm-0.12.1.2), so might have issues > working with older qemu version and it lacks support to define guest with > multiple nics. Both of which can be fixed without any major changes to the > current patch, I will work on these features, once this base > virsh patch is accepted. Will be happy to re-implement or modify the patch > based on you comments.
Ok, give me some time to go through the changes. We do have an internal team working on a libvirt-autotest, so I need to verify your code and see what is the best option upstream. From the cursory first look, it's good stuff. > Thanks > yog > > > > > *** BLURB HERE *** ^ Oh, little niptick here, you're supposed to erase this message when writing the cover letter. > Yogananth Subramanian (2): > KVM test: add virsh support to monitor and test config files > KVM test: virsh support to class VM and virsh shell access with > virsh_login > > client/tests/kvm/tests.cfg.sample | 4 + > client/tests/kvm/tests_base.cfg.sample | 15 ++ > client/virt/kvm_monitor.py | 280 > +++++++++++++++++++++++++++++++- > client/virt/kvm_vm.py | 145 +++++++++++++++-- > client/virt/virt_utils.py | 26 +++ > 5 files changed, 458 insertions(+), 12 deletions(-) > _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
