aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-11-15 09:44:18 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2020-11-16 13:14:22 -0500
commitdc924b062488a0376aae41d3e0a27dc99f852a5e (patch)
tree36a65c5fb1350bfb7c2d7266dfc0a8d7299b7e05 /tools/perf/scripts/python/export-to-sqlite.py
parent7e8e6eed75e290526d5c98d023e88b141e2c93ec (diff)
KVM: SVM: check CR4 changes against vcpu->arch
Similarly to what vmx/vmx.c does, use vcpu->arch.cr4 to check if CR4 bits PGE, PKE and OSXSAVE have changed. When switching between VMCB01 and VMCB02, CPUID has to be adjusted every time if CR4.PKE or CR4.OSXSAVE change; without this patch, instead, CR4 would be checked against the previous value for L2 on vmentry, and against the previous value for L1 on vmexit, and CPUID would not be updated. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions