Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Sean Christopherson authored
Drop redundant clears of vcpu->arch.hflags in init_vmcb() since
kvm_vcpu_reset() always clears hflags, and it is also always
zero at vCPU creation time.  And of course, the second clearing
in init_vmcb() was always redundant.

Suggested-by: default avatarReiji Watanabe <reijiw@google.com>
Reviewed-by: default avatarReiji Watanabe <reijiw@google.com>
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-46-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
46f4898b
Forked from BeagleBoard.org / Linux
Source project has a limited visibility.
Name Last commit Last update