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

Zhenzhong Duan posted 2 patches 4 years, 3 months ago
arch/x86/kvm/vmx/vmx.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
[PATCH v2 0/2] minor cleanups on efer emulation
Posted by Zhenzhong Duan 4 years, 3 months ago
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(-)

-- 
2.25.1
Re: [PATCH v2 0/2] minor cleanups on efer emulation
Posted by Paolo Bonzini 4 years, 2 months ago
Queued, thanks.

Paolo