diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:11 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:59 +0100 |
| commit | 91001d403ad39b9c800a3b805bf48c5b027ecac5 (patch) | |
| tree | bd9fa524c9d4b5b88715be3bd720c34884447085 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: x86: Check for CPUID 0xD.N support before validating array size (diff) | |
| download | linux-91001d403ad39b9c800a3b805bf48c5b027ecac5.tar.gz linux-91001d403ad39b9c800a3b805bf48c5b027ecac5.zip | |
KVM: x86: Warn on zero-size save state for valid CPUID 0xD.N sub-leaf
WARN if the save state size for a valid XCR0-managed sub-leaf is zero,
which would indicate a KVM or CPU bug. Add a comment to explain why KVM
WARNs so the reader doesn't have to tease out the relevant bits from
Intel's SDM and KVM's XCR0/XSS code.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
