Re: [kvm-unit-tests PATCH] powerpc: Add SPRs migration test

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

 



David Gibson <dgibson <at> redhat.com> writes:

> 
> On Mon, 11 Apr 2016 11:23:46 +0200
> Thomas Huth <thuth <at> redhat.com> wrote:
> 
> > On 11.04.2016 03:55, David Gibson wrote:
> > > On Fri,  8 Apr 2016 13:35:29 +0200
> > > Thomas Huth <thuth <at> redhat.com> wrote:
> > >   
> > >> This test can be used to check whether the SPR (special purpose
> > >> registers) of the PowerPC CPU are migrated right. It first fills
> > >> the various SPRs with some non-zero value, then reads the values
> > >> back into a first array, then waits for a key (with the '-w' option)
> > >> so that it is possible to migrate the VM, and finally reads the
> > >> values from the SPRs back into another array and then compares it
> > >> with the initial values.

Hi,
In order to make this test automated, what if we extend the test device to 
return a save/restore generation number? It can report that in a 
register,and then the test can spin, waiting for that value to increase.

Thanks,
Greg

--
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