Initialize IA32_FEATURE_CONTROL MSR in reset and migration
commit0779caeb1a17f4d3ed14e2925b36ba09b084fb7b
authorArthur Chunqi Li <yzt356@gmail.com>
Sun, 7 Jul 2013 15:13:37 +0000 (7 23:13 +0800)
committerGleb Natapov <gleb@redhat.com>
Thu, 25 Jul 2013 10:09:08 +0000 (25 13:09 +0300)
treefcef152e8c3e8449bf1abbdf8f98bb2fdc53c95a
parentf03d07d4683b2e8325a7cb60b4e14b977b1a869c
Initialize IA32_FEATURE_CONTROL MSR in reset and migration

The recent KVM patch adds IA32_FEATURE_CONTROL support. QEMU needs
to clear this MSR when reset vCPU and keep the value of it when
migration. This patch add this feature.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
target-i386/cpu.h
target-i386/kvm.c
target-i386/machine.c