diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-07-13 09:33:23 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-02 11:01:59 -0400 |
| commit | 46f4898b207ffeeeaebc0fdd4bf4082bf0f88107 (patch) | |
| tree | 868fe1e33cb7dc94568aad69150e9752cac5cf75 /scripts/gdb/linux/proc.py | |
| parent | 265e43530cb2eb14d5b78e89d310c79959e0eb26 (diff) | |
KVM: SVM: Drop redundant clearing of vcpu->arch.hflags at INIT/RESET
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: Reiji Watanabe <reijiw@google.com>
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-46-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
