All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nico Boehr <nrb@linux.ibm.com>
To: kvm@vger.kernel.org
Cc: frankja@linux.ibm.com, imbrenda@linux.ibm.com, thuth@redhat.com
Subject: [kvm-unit-tests PATCH v2 0/2] s390x: test CMM during migration
Date: Thu, 24 Nov 2022 14:44:27 +0100	[thread overview]
Message-ID: <20221124134429.612467-1-nrb@linux.ibm.com> (raw)

v1->v2:
---
* cmm lib: return struct instead of passing in a pointer (thanks Claudio)
* cmm lib: remove get_page_addr() (thanks Claudio)
* cmm lib: print address of mismatch (thanks Claudio)
* cmm lib: misc comments reworked, added and variables renamed
* make sure page states change on every iteration (thanks Claudio)
* add WRITE_ONCE even when not strictly needed (thanks Claudio)

Add a test which changes CMM page states while VM is being migrated.

Nico Boehr (2):
  s390x: add a library for CMM-related functions
  s390x: add CMM test during migration

 lib/s390x/cmm.c              |  90 ++++++++++++++++++++++++++
 lib/s390x/cmm.h              |  31 +++++++++
 s390x/Makefile               |   2 +
 s390x/migration-cmm.c        |  34 +++-------
 s390x/migration-during-cmm.c | 121 +++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg          |   5 ++
 6 files changed, 257 insertions(+), 26 deletions(-)
 create mode 100644 lib/s390x/cmm.c
 create mode 100644 lib/s390x/cmm.h
 create mode 100644 s390x/migration-during-cmm.c

-- 
2.36.1


             reply	other threads:[~2022-11-24 13:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 13:44 Nico Boehr [this message]
2022-11-24 13:44 ` [kvm-unit-tests PATCH v2 1/2] s390x: add a library for CMM-related functions Nico Boehr
2022-11-25 13:45   ` Thomas Huth
2022-11-28 11:44     ` Nico Boehr
2022-11-25 14:03   ` Claudio Imbrenda
2022-11-28 12:12     ` Nico Boehr
2022-11-24 13:44 ` [kvm-unit-tests PATCH v2 2/2] s390x: add CMM test during migration Nico Boehr
2022-11-25 13:58   ` Thomas Huth
2022-11-25 14:05     ` Claudio Imbrenda
2022-11-25 14:18       ` Thomas Huth
2022-11-25 14:46   ` Claudio Imbrenda

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=20221124134429.612467-1-nrb@linux.ibm.com \
    --to=nrb@linux.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=thuth@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.