[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <177016376262.575354.15783428739984459015.b4-ty@google.com>
Date: Tue, 3 Feb 2026 16:10:25 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Yosry Ahmed <yosry.ahmed@...ux.dev>
Subject: Re: [PATCH v5] KVM: selftests: Test READ=>WRITE dirty logging
behavior for shadow MMU
On Thu, 15 Jan 2026 09:21:54 -0800, Sean Christopherson wrote:
> Update the nested dirty log test to validate KVM's handling of READ faults
> when dirty logging is enabled. Specifically, set the Dirty bit in the
> guest PTEs used to map L2 GPAs, so that KVM will create writable SPTEs
> when handling L2 read faults. When handling read faults in the shadow MMU,
> KVM opportunistically creates a writable SPTE if the mapping can be
> writable *and* the gPTE is dirty (or doesn't support the Dirty bit), i.e.
> if KVM doesn't need to intercept writes in order to emulate Dirty-bit
> updates.
>
> [...]
Applied to kvm-x86 selftests, without the duplicate sync (hopefully). Thanks
for the reviews!
[1/1] KVM: selftests: Test READ=>WRITE dirty logging behavior for shadow MMU
https://github.com/kvm-x86/linux/commit/a91cc4824660
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists