diff options
| author | Avi Kivity <[email protected]> | 2010-04-11 15:33:32 +0300 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2010-05-17 12:17:36 +0300 |
| commit | f7a711971edd952352a89698db1d36f469e25f77 (patch) | |
| tree | 69e0ea723f0a408c634af5dea10dcccdfe4aef35 /tools/perf/scripts/python | |
| parent | e46479f852adab6027e4950d69400d967bf7bc6f (diff) | |
KVM: Fix MAXPHYADDR calculation when cpuid does not support it
MAXPHYADDR is derived from cpuid 0x80000008, but when that isn't present, we
get some random value.
Fix by checking first that cpuid 0x80000008 is supported.
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions