All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/3] x86: hyper-v: Add overlay page tests
@ 2021-06-10 17:36 Siddharth Chandrasekaran
  2021-06-10 17:36 ` [kvm-unit-tests PATCH 1/3] x86: Move hyperv helpers into libs/x86 Siddharth Chandrasekaran
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Siddharth Chandrasekaran @ 2021-06-10 17:36 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Siddharth Chandrasekaran, Siddharth Chandrasekaran,
	Evgeny Iakovlev, Liran Alon, Ioannis Aslanidis, kvm

Patch series [1] starts treating hypercall code page as an overlay page
(along with the existing synic event and message pages). Add KVM unit
tests to make sure the underlying page contents are intact with various
overlay workflows.

While at it, promote hyperv.h to lib/x86 and expose hv_hypercall() from
there so future tests can use it to do hypercalls.

[1]: https://www.spinics.net/lists/kvm/msg244569.html

~ Sid.

Siddharth Chandrasekaran (3):
  x86: Move hyperv helpers into libs/x86
  x86: Move hyper-v hypercall related methods to lib/x86/
  x86: Add hyper-v overlay page tests

 x86/Makefile.common       |  8 +---
 {x86 => lib/x86}/hyperv.h |  4 ++
 {x86 => lib/x86}/hyperv.c | 51 +++++++++++++++++++++
 x86/hyperv_connections.c  | 60 ++----------------------
 x86/hyperv_overlay.c      | 96 +++++++++++++++++++++++++++++++++++++++
 x86/unittests.cfg         |  5 ++
 6 files changed, 163 insertions(+), 61 deletions(-)
 rename {x86 => lib/x86}/hyperv.h (97%)
 rename {x86 => lib/x86}/hyperv.c (63%)
 create mode 100644 x86/hyperv_overlay.c

-- 
2.17.1



Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879




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

end of thread, other threads:[~2021-06-10 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 17:36 [kvm-unit-tests PATCH 0/3] x86: hyper-v: Add overlay page tests Siddharth Chandrasekaran
2021-06-10 17:36 ` [kvm-unit-tests PATCH 1/3] x86: Move hyperv helpers into libs/x86 Siddharth Chandrasekaran
2021-06-10 17:36 ` [kvm-unit-tests PATCH 2/3] x86: Move hyper-v hypercall related methods to lib/x86/ Siddharth Chandrasekaran
2021-06-10 17:36 ` [kvm-unit-tests PATCH 3/3] x86: Add hyper-v overlay page tests Siddharth Chandrasekaran

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.