Hi~ If I want to test "virsh -c" commands, any good idea to do it? I think class VM in libvirt_vm.py cannot meet my requirtment.
For example: I have 2 Hosts: Host1 with IP1 and Host2 with IP2. My autotest is running on Host1, and of course vm1 is also on Host1. Now I want to test "virsh -c" option. 1. If I run "virsh -c qemu://IP2/system xxx", I don't have a vm1 on Host2. Migrating vm1 to Host2 is not a good idea, I think. Because it depends on migration test configurations, which makes my test more complicated. OR 2. If I ssh to Host2 and run "virsh -c qemu://IP1/system xxx", class VM cannot do this. Now, I'm using method 2, and I don't use class VM. And all the "non -c" tests are using class VM, but "-c" tests are not. This is strange. IMO, if virsh_cmd() can do this, class VM will support this kind of tests. So maybe I will modify virsh_cmd() one more time, using method 2. Any good idea to do this ? Thanks. :) -- Best Regards, Tang chen _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
