All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/7] KVM: nVMX Add IA32_PAT consistency checks
@ 2019-04-11 19:18 Sean Christopherson
  2019-04-11 19:18 ` [PATCH v6 1/7] Check "load IA32_PAT" VM-exit control on vmentry Sean Christopherson
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Sean Christopherson @ 2019-04-11 19:18 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář
  Cc: kvm, Krish Sadhukhan, Karl Heubaum, Sean Christopherson, Jim Mattson

This is a continuation of Krish's series, which has suffered a teeny
tiny bit of scope creep (sorry Krish).  This is essentially a new series,
e.g. only the actual PAT-related patches, which haven't changed since v2,
are retained from previous versions.  But, to avoid unnecessary conflicts
I'm resending everything in one happy series.

The direction change relative to v5 is to self-document the top-level
consistency check functions by a) renaming the functions and b) using a
dedicated parameter to "return" the failure information, as suggested by
Paolo.  Previous versions had been taking the approach of using the return
value itself to document that a failed "postreqs" leads to a VM-Exit,
which was simply putting lipstick on a pig.

Krish Sadhukhan (2):
  Check "load IA32_PAT" VM-exit control on vmentry
  Check "load IA32_PAT" VM-entry control on vmentry

Sean Christopherson (5):
  KVM: nVMX: Move guest non-reg state checks to VM-Exit path
  KVM: nVMX: Rename and split top-level consistency checks to match SDM
  KVM: nVMX: Set VM-{Fail,Exit} failure info via params, not return val
  KVM: nVMX: Collapse nested_check_host_control_regs() into its caller
  KVM: nVMX: Return -EINVAL when signaling failure in VM-Entry helpers

 arch/x86/kvm/vmx/nested.c | 150 +++++++++++++++++++++-----------------
 1 file changed, 82 insertions(+), 68 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-04-12 19:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11 19:18 [PATCH v6 0/7] KVM: nVMX Add IA32_PAT consistency checks Sean Christopherson
2019-04-11 19:18 ` [PATCH v6 1/7] Check "load IA32_PAT" VM-exit control on vmentry Sean Christopherson
2019-04-11 19:18 ` [PATCH v6 2/7] Check "load IA32_PAT" VM-entry " Sean Christopherson
2019-04-11 19:18 ` [PATCH v6 3/7] KVM: nVMX: Move guest non-reg state checks to VM-Exit path Sean Christopherson
2019-04-11 21:00   ` Krish Sadhukhan
2019-04-11 19:18 ` [PATCH v6 4/7] KVM: nVMX: Rename and split top-level consistency checks to match SDM Sean Christopherson
2019-04-11 21:23   ` Krish Sadhukhan
2019-04-11 19:18 ` [PATCH v6 5/7] KVM: nVMX: Set VM-{Fail,Exit} failure info via params, not return val Sean Christopherson
2019-04-11 21:56   ` Krish Sadhukhan
2019-04-12  8:30   ` Paolo Bonzini
2019-04-12 19:12     ` Sean Christopherson
2019-04-11 19:18 ` [PATCH v6 6/7] KVM: nVMX: Collapse nested_check_host_control_regs() into its caller Sean Christopherson
2019-04-11 22:02   ` Krish Sadhukhan
2019-04-11 19:18 ` [PATCH v6 7/7] KVM: nVMX: Return -EINVAL when signaling failure in VM-Entry helpers Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.