mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
x86: Properly reset PAT MSR
Conforming to the Intel spec, set the power-on value of PAT also on reset, but save it across INIT. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
d841b6c4f1
commit
ebda377f8c
3 changed files with 7 additions and 3 deletions
|
@ -847,7 +847,6 @@ int cpu_x86_register (CPUX86State *env, const char *cpu_model)
|
|||
env->cpuid_version |= ((def->model & 0xf) << 4) | ((def->model >> 4) << 16);
|
||||
env->cpuid_version |= def->stepping;
|
||||
env->cpuid_features = def->features;
|
||||
env->pat = 0x0007040600070406ULL;
|
||||
env->cpuid_ext_features = def->ext_features;
|
||||
env->cpuid_ext2_features = def->ext2_features;
|
||||
env->cpuid_ext3_features = def->ext3_features;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue