From: Thomas Huth <thuth@redhat.com>
To: kvm@vger.kernel.org, Laurent Vivier <lvivier@redhat.com>,
Drew Jones <drjones@redhat.com>
Cc: kvm-ppc@vger.kernel.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>,
"Cédric Le Goater" <clg@kaod.org>,
"David Matlack" <dmatlack@google.com>
Subject: [kvm-unit-tests PATCH v2 0/2] powerpc: Test SPR persistency during migration
Date: Tue, 14 Mar 2017 11:23:28 +0100 [thread overview]
Message-ID: <1489487010-17051-1-git-send-email-thuth@redhat.com> (raw)
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
next reply other threads:[~2017-03-14 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 10:23 Thomas Huth [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489487010-17051-1-git-send-email-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=clg@kaod.org \
--cc=dmatlack@google.com \
--cc=drjones@redhat.com \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox