From: Thomas Huth Date: Thu, 09 Mar 2017 17:27:05 +0000 Subject: [kvm-unit-tests PATCH 0/2] powerpc: Test SPR persistency during migration Message-Id: <1489080427-27103-1-git-send-email-thuth@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org, Laurent Vivier , Drew Jones Cc: kvm-ppc@vger.kernel.org, Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= 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. (Note: I've already posted the SPR tester once many months ago, but I did not have the migration helper script ready at that point in time yet, so I refrained from calling this a v2) 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 | 5 + powerpc/sprs.c | 303 +++++++++++++++++++++++++++++++++++++++ powerpc/unittests.cfg | 5 + scripts/qemu-migration-helper.sh | 51 +++++++ scripts/runtime.bash | 3 + 7 files changed, 371 insertions(+), 1 deletion(-) create mode 100644 powerpc/sprs.c create mode 100755 scripts/qemu-migration-helper.sh -- 1.8.3.1