Re: [PATCH v3] kvm/x86: allocate the write-tracking metadata on-demand

From: Yan Zhao
Date: Thu Mar 07 2024 - 01:38:06 EST


On Tue, Feb 27, 2024 at 01:28:18PM -0800, Sean Christopherson wrote:
> Added a few more KVM-GT folks. FYI, this changes KVM to allocate metadata for
> write-tracking on-demand, i.e. when KVM-GT first registers with KVM. I tested
> by hacking in usage of the external APIs, to register/unregister a node on every
> vCPU before/after vcpu_run(), so I am fairly confident that it's functionally
> correct. But just in case you see issues in linux-next... :-)
I tested in my environment with KVMGT and found no issues :)