diff options
author | Tianyu Lan <[email protected]> | 2018-01-16 17:34:07 +0800 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2018-01-17 15:01:11 +0100 |
commit | 37b95951c58fdf08dc10afa9d02066ed9f176fb5 (patch) | |
tree | 8c718f63174a756713e411ab2a866d1cfb524b91 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f44efa5aeaadb0091f90d6888161a0dcb84fa441 (diff) |
KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
kvm_valid_sregs() should use X86_CR0_PG and X86_CR4_PAE to check bit
status rather than X86_CR0_PG_BIT and X86_CR4_PAE_BIT. This patch is
to fix it.
Fixes: f29810335965a(KVM/x86: Check input paging mode when cs.l is set)
Reported-by: Jeremi Piotrowski <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Signed-off-by: Tianyu Lan <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions