kvm-s390: revised version of kvm-s390 guest memory handling - rebased
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kvm-s390: infrastructure to kick vcpus out of guest state - rebasedarch/ arch/ arch/ +2 more | +46 | 0 replies | |
| 2/3 | kvm-s390: update vcpu->cpu - rebasedarch/ | +2 | 0 replies | |
| 3/3 | kvm-s390: streamline memslot handling - rebasedarch/ arch/ virt/ | +31 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling - rebased
From: Christian Ehrhardt <[email protected]>
As requested this is a rebased patch on top of the already applied v3 of the patch series.
*updates to already applied version*
- ensure the wait_on_bit waiter is notified
- move the reset of requests to kvm_vcpu_release to drop them early
- ensure dropping all vcpu requests while freeing a vcpu
- ensure kick allocations (might_sleep) are out of atomic context
- update vcpu->cpu in kvm-s390 arch handler for load/put
- centralize consumption of vcpu->request bits
- updates on running vcpus can now be handled without need to rerun the vcpu
- kvm_arch_set_memory_region waits until the bit is consumed by the vcpu
- kickout only scheduled vcpus (wait might hang forever on non-scheduled vcpus)
Note: further unification of make_all_cpu_request and the kick mechanism is planned, but it might be good to split it from this step towards commonality.
Patches included:
Subject: [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state - rebased
Subject: [PATCH 2/3] kvm-s390: update vcpu->cpu - rebased
Subject: [PATCH 3/3] kvm-s390: streamline memslot handling - rebased
Overall-Diffstat:
arch/s390/include/asm/kvm_host.h | 2 +- arch/s390/kvm/intercept.c | 10 ++++++---- arch/s390/kvm/kvm-s390.c | 36 +++++++++++++++++++++++++----------- arch/s390/kvm/kvm-s390.h | 23 ++++++++++++++++++++++- arch/s390/kvm/sigp.c | 31 +++++++++++++++++++++---------- virt/kvm/kvm_main.c | 4 ++++ 6 files changed, 79 insertions(+), 27 deletions(-)