This is v3 of the dirty quota series, with a few changes in the previous implementation and the following additions: i) Added blurb for dirty quota in the KVM API documentation. ii) Added KVM selftests for dirty quota throttling. Shivam Kumar (3): KVM: Implement dirty quota-based throttling of vcpus KVM: Documentation: Update kvm_run structure for dirty quota KVM: selftests: Add selftests for dirty quota throttling Documentation/virt/kvm/api.rst | 28 ++++++++++++++ arch/arm64/kvm/arm.c | 3 ++ arch/s390/kvm/kvm-s390.c | 3 ++ arch/x86/kvm/x86.c | 4 ++ include/linux/kvm_host.h | 15 ++++++++ include/linux/kvm_types.h | 1 + include/uapi/linux/kvm.h | 12 ++++++ tools/testing/selftests/kvm/dirty_log_test.c | 37 +++++++++++++++++-- .../selftests/kvm/include/kvm_util_base.h | 4 ++ tools/testing/selftests/kvm/lib/kvm_util.c | 36 ++++++++++++++++++ virt/kvm/kvm_main.c | 7 +++- 11 files changed, 145 insertions(+), 5 deletions(-) -- 2.22.3