mbox series

[v2,0/2] minor cleanups on efer emulation

Message ID 20220311102643.807507-1-zhenzhong.duan@intel.com (mailing list archive)
Headers show
Series minor cleanups on efer emulation | expand

Message

Duan, Zhenzhong March 11, 2022, 10:26 a.m. UTC
These two patches remove some redundant code related to mode switch
and EFER emulation.

Sanity tested with kernel in L0, L1 and L2 all patched.

v2: Split to two patches and use comments from Sean to explain why
it's secure to remove them, suggested by Sean.

Zhenzhong Duan (2):
  KVM: x86: Remove unnecessory assignment to uret->data
  KVM: x86: Remove redundant vm_entry_controls_clearbit() call

 arch/x86/kvm/vmx/vmx.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Comments

Paolo Bonzini March 25, 2022, 9:14 a.m. UTC | #1
Queued, thanks.

Paolo