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

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

 



On Fri, Apr 08, 2016 at 04:08:41PM +0200, Thomas Huth wrote:
> > This is an interesting use of kvm-unit-tests. Ideally we'd keep avoid
> > the key press, which could complicate an automated test. Above you say
> > some SPRs change their content automatically. Are any of those changes
> > something that can be predicted in the case of a migration? I.e. could
> > we monitor them to see if a migration occurred?
> 
> I don't think that it is very easy to detect the end of the migration
> like this... the registers I was talking about are things like the
> decrementer or timebase registers.
> 
> If we really want to automate this, we could maybe use something like
> the machine check interrupt instead (which can be triggered with the
> "nmi" HMP command in QEMU, I think) to let the guest know about the end
> of the migration. But all that would also require quite some additional
> logic in the runner script, I think. Not sure whether it's worth the
> effort just for this one small test, which can also be run manually from
> time to time... But if you think we should really go this way, let me
> know, then I can have a try...

I'm OK with time-to-time manual tests. I wonder if we should add
a run_tests.sh cmdline switch that enables all manual tests somehow.
This would allow us to run the complete collection of manual tests
easily, not forgetting any.

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