On Fri, Feb 13, 2026 at 03:43:12PM +0000, Yosry Ahmed wrote: > On Fri, Feb 13, 2026 at 07:20:28AM -0800, Sean Christopherson wrote: > > Please trim your replies. Scrolling through 100+ lines of quoted text to > > find > > the ~12 lines of context that actually matter is annoying. > > Ack. > > > Actually, calling svm_set_l2_pat() when !is_guest_mode() is wrong too, no? > > E.g. > > shouldn't we end up with this? > > legacy_gpat_semantics should only be set in guest mode, and it's cleared > in pre-run, so before we can exit guest mode IIUC.
Never mind that, Jim just mentioned the cases of back-to-back KVM_SET_NESTED_STATE.

