kvm: Some more trivial fixes for clear dirty log
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- fix patch 2 to use DIV_ROUND_UP
- add one more patch to obsolete the old cap, and introduce new [Paolo]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: Fix the bitmap range to copy during clear dirtyvirt/ | +1 | 0 replies | |
| 2/3 | KVM: Fix loop of clear dirty with possible off-by-onevirt/ | +2 | 0 replies | |
| 3/3 | KVM: Introduce KVM_CAP_MANUAL_DIRTY_LOG_PROTECT_2Documentation/ include/ tools/ +1 more | +15 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] kvm: Some more trivial fixes for clear dirty log
v2:
- fix patch 2 to use DIV_ROUND_UP
- add one more patch to obsolete the old cap, and introduce new [Paolo]
Two issues I've noticed when I'm drafting the QEMU support of it. With these two patches applied the QEMU binary (with the clear dirty log supported [1]) can migrate correctly otherwise the migration can stall forever if with/after heavy memory workload.
Please have a look, thanks.
[1] https://github.com/xzpeter/qemu/tree/kvm-clear-dirty-log
Peter Xu (3):
KVM: Fix the bitmap range to copy during clear dirty
KVM: Fix loop of clear dirty with possible off-by-one
KVM: Introduce KVM_CAP_MANUAL_DIRTY_LOG_PROTECT_2
Documentation/virtual/kvm/api.txt | 13 ++++++++----- include/uapi/linux/kvm.h | 5 +++-- tools/testing/selftests/kvm/dirty_log_test.c | 4 ++-- virt/kvm/kvm_main.c | 10 +++++----- 4 files changed, 18 insertions(+), 14 deletions(-)
Signature · 1 line
2.17.1