i386: wire up MSR_IA32_MISC_ENABLE
commit21e87c4625f290824f4f05d098e576cda40421ce
authorAvi Kivity <avi@redhat.com>
Tue, 4 Oct 2011 14:26:35 +0000 (4 16:26 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 24 Oct 2011 23:33:32 +0000 (24 21:33 -0200)
tree0a224637f8ff1537dfb2886ba37cece3a1656129
parentaa82ba549a3a88f7215e65956f3cb4bfd34835cc
i386: wire up MSR_IA32_MISC_ENABLE

It's needed for its default value - bit 0 specifies that "rep movs" is
good enough for memcpy, and Linux may use a slower memcpu if it is not set,
depending on cpu family/model.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/cpu.h
target-i386/helper.c
target-i386/kvm.c
target-i386/machine.c
target-i386/op_helper.c