Re: [PATCH v4 00/14] KVM: Dirty ring interface

From: Peter Xu
Date: Tue Mar 03 2020 - 12:33:44 EST


On Tue, Feb 04, 2020 at 09:50:51PM -0500, Peter Xu wrote:
> KVM branch:
> https://github.com/xzpeter/linux/tree/kvm-dirty-ring
>
> QEMU branch for testing:
> https://github.com/xzpeter/qemu/tree/kvm-dirty-ring
>
> v4 changelog:
>
> - refactor ring layout: remove indices, use bit 0/1 in the gfn.flags
> field to encode GFN status (invalid, dirtied, collected) [Michael,
> Paolo]
> - patch memslot_valid_for_gpte() too to check against memslot flags
> rather than dirty_bitmap pointer
> - fix build on non-x86 arch [syzbot]
> - fix comment for kvm_dirty_gfn [Michael]
> - check against VM_EXEC, VM_SHARED for mmaps [Michael]
> - fix "KVM: X86: Don't track dirty for
> KVM_SET_[TSS_ADDR|IDENTITY_MAP_ADDR]" to unbreak
> unrestricted_guest=N [Sean]
> - some rework in the test code, e.g., more comments

Any comments before I repost another version? Thanks,

--
Peter Xu