aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-02-24 12:59:16 -0500
committerAvi Kivity <avi@redhat.com>2010-04-25 06:53:17 -0400
commit82494028dff648c29e3a40915f1fceca51b4490a (patch)
tree3ed2952b6b186f31b1444659469c0ba7e96f09da /arch/x86/kvm/x86.c
parent4a810181c8bcd73112f5c62b205b5583fd4a197f (diff)
KVM: SVM: Ignore write of hwcr.ignne
Hyper-V as a guest wants to write this bit. This patch ignores it. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 1aa4d6e26bad..81b7af5558f9 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1090,6 +1090,7 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data)
1090 break; 1090 break;
1091 case MSR_K7_HWCR: 1091 case MSR_K7_HWCR:
1092 data &= ~(u64)0x40; /* ignore flush filter disable */ 1092 data &= ~(u64)0x40; /* ignore flush filter disable */
1093 data &= ~(u64)0x100; /* ignore ignne emulation enable */
1093 if (data != 0) { 1094 if (data != 0) {
1094 pr_unimpl(vcpu, "unimplemented HWCR wrmsr: 0x%llx\n", 1095 pr_unimpl(vcpu, "unimplemented HWCR wrmsr: 0x%llx\n",
1095 data); 1096 data);