diff options
| author | Sean Christopherson <[email protected]> | 2020-05-27 01:54:00 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-05-27 13:11:11 -0400 |
| commit | 7d2e8748af62b0de7c7bbcb0d62f937e88fd7027 (patch) | |
| tree | 0157925ff958df24f3d6f472f1182d54111617f4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6c0238c4a62b3a0b1201aeb7e33a4636d552a436 (diff) | |
KVM: x86: Initialize tdp_level during vCPU creation
Initialize vcpu->arch.tdp_level during vCPU creation to avoid consuming
garbage if userspace calls KVM_RUN without first calling KVM_SET_CPUID.
Fixes: e93fd3b3e89e9 ("KVM: x86/mmu: Capture TDP level when updating CPUID")
Reported-by: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions