Re: [PATCH 1/3] KVM Test: Introduce a helper class to run a test in the background

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/27/2010 01:16 AM, Lucas Meneghel Rodrigues wrote:
> On Fri, 2010-11-26 at 21:01 -0200, Lucas Meneghel Rodrigues wrote:
>> Sometimes, we need to run a test when doing operations on a running VM
>> (such as migrate the vm during its rebooting ). So this patch introduces
>> a simple warpper BackgroundTest to run a specified test in the background
>> through a dedicated thread, it also records the exception raised in the
>> thead and raise it when master call join().
> 
> Since we've spent some time looking into this and noone came up with a
> better solution, I'm applying Jason's series. In order to run the tests
> in parallel, on your test set you can put either:
> 
> only migrate.with_file_transfer
> or
> only migrate.with_reboot
> 
> Provided, of course, that you already had a vm installed with autotest.
> If you don't you probably want to include the unattended_install.cdrom
> test before.
> 
> Cheers!
> 
> Lucas

I was planning to post a modified version of the wrapper.  I guess I'll
rebase it against this version.  Also, migrate.with_reboot doesn't work,
or at least shouldn't work, because reboot() receives a VM object that
is later destroyed.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux