On 03/20/2013 11:33 AM, Chris Evich wrote:
On 03/20/2013 06:11 AM, Yu Mingfei wrote:
virsh_instance = virsh.VirshPersistent(**virsh_dargs)
IIRC, you can recycle this by calling virsh_instance.new_session() here,
but it's only very small nit-pick, what you have is fine. The test looks
good overall.
ToDo: IIRC, there's a way to reboot the host and have autotest resume
testing when it comes up. I'm almost 100% sure this doesn't work with
current virt-test code, but it would be nice to get it working. This
would be an ideal test to play with the host-reboot functionality. Since
this is the central-reason why autostart exists, and at some point we
will need to test the guest-autostart feature :)
Done: lmr informed me this functionality still works, and is still being
used. Most of the "magic" happens on the autotest-server side though,
and is outside the scope of a test.
To do this with the 'autostart' libvirt functions, we'd need two tests
(or one test with two test-variant blocks and a "mode" parameter):
One test/mode sets up the environment, verifies it's ready.
Second test/mode (runs after the reboot) verifies the autostart stuff
autostarted.
Anyway, it'll probably take some work to implement server-side, but it's
nice to know all the bits are there and not rotten :)
--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel