public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/2] powerpc: Test SPR persistency during migration
@ 2017-03-14 10:23 Thomas Huth
  2017-03-14 10:23 ` [kvm-unit-tests PATCH v2 1/2] Add the possibility to do simple migration tests Thomas Huth
  2017-03-14 10:23 ` [kvm-unit-tests PATCH v2 2/2] powerpc: Add Special Purpose Register persistency test Thomas Huth
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Huth @ 2017-03-14 10:23 UTC (permalink / raw)
  To: kvm, Laurent Vivier, Drew Jones
  Cc: kvm-ppc, Paolo Bonzini, Radim Krčmář,
	Cédric Le Goater, David Matlack

Here's a KVM-unit-test to check the persistency of SPRs during migration.
First patch adds a helper script for doing migration tests in the
kvm-unit-test framework, and the second patch contains the SPR tester.

v2:
- Addressed review feedback from v1
- Now using cpu_relax() instead of asm volatile ("nop")

Thomas Huth (2):
  Add the possibility to do simple migration tests
  powerpc: Add Special Purpose Register persistency test

 powerpc/Makefile.common          |   3 +-
 powerpc/cstart64.S               |   2 +
 powerpc/run                      |   4 +
 powerpc/sprs.c                   | 304 +++++++++++++++++++++++++++++++++++++++
 powerpc/unittests.cfg            |   5 +
 scripts/qemu-migration-helper.sh |  68 +++++++++
 scripts/runtime.bash             |   3 +
 7 files changed, 388 insertions(+), 1 deletion(-)
 create mode 100644 powerpc/sprs.c
 create mode 100755 scripts/qemu-migration-helper.sh

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-20 14:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 10:23 [kvm-unit-tests PATCH v2 0/2] powerpc: Test SPR persistency during migration Thomas Huth
2017-03-14 10:23 ` [kvm-unit-tests PATCH v2 1/2] Add the possibility to do simple migration tests Thomas Huth
2017-03-15 16:36   ` Radim Krčmář
2017-03-20 14:02     ` Thomas Huth
2017-03-14 10:23 ` [kvm-unit-tests PATCH v2 2/2] powerpc: Add Special Purpose Register persistency test Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox