Thread (58 messages) 58 messages, 4 authors, 2021-07-28

Re: [PATCH v2 45/46] KVM: SVM: Drop redundant clearing of vcpu->arch.hflags at INIT/RESET

From: Reiji Watanabe <hidden>
Date: 2021-07-20 04:37:25
Also in: lkml

On Tue, Jul 13, 2021 at 9:35 AM Sean Christopherson [off-list ref] wrote:
Drop redundant clears of vcpu->arch.hflags in init_vmcb() now that
init_vmcb() is invoked only through kvm_vcpu_reset(), which always clears
hflags.  And of course, the second clearing in init_vmcb() was always
redundant.

Suggested-by: Reiji Watanabe <redacted>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Reiji Watanabe <redacted>

Thank you for removing the redundant code.

Regards,
Reiji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help