[PATCH 0/5] KVM: x86: Fix KVM behavior that does not follow spec

From: Nadav Amit
Date: Thu Apr 17 2014 - 19:34:53 EST


This series of patches fix various scenarios in which KVM behavior does not
follow x86 specifications. Each patch actually deals with a separate bug.
These bugs can cause the guest to get stuck (i.e., make no progress), encounter
spurious injected exceptions, or cause guest code to misbehave. As a result
guest OS can potentially fail.

Thanks for reviewing the patches.

Nadav Amit (5):
KVM: x86: Fix wrong/stuck PMU when guest does not use PMI
KVM: x86: Fix CR3 reserved bits
KVM: x86: IN instruction emulation should ignore REP-prefix
KVM: x86: RSI/RDI/RCX are zero-extended when affected by string ops
KVM: x86: Processor mode may be determined incorrectly

arch/x86/include/asm/kvm_host.h | 6 +-----
arch/x86/kvm/emulate.c | 11 ++++++-----
arch/x86/kvm/pmu.c | 7 +++++--
arch/x86/kvm/x86.c | 27 ++++++---------------------
4 files changed, 18 insertions(+), 33 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/