kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] KVM: x86: Various bug fixes
@ 2014-10-02 22:10 Nadav Amit
  2014-10-02 22:10 ` [PATCH 1/5] KVM: x86: Clear DR7.LE during task-switch Nadav Amit
                   ` (4 more replies)
  0 siblings, 5 replies; 32+ messages in thread
From: Nadav Amit @ 2014-10-02 22:10 UTC (permalink / raw)
  To: pbonzini, joro; +Cc: kvm, Nadav Amit

This patch-set includes various bug fixes.

The most notable bug is the wrong decoding of guest instructions which cross
page boundary. I am surprised it does not happen in real-systems.

Please review carefully the changes the DR4/5 bug-fix introduces to SVM part.
Since I do not have AMD machine I could not check the patch. Anyhow, I suspect
SVM dr-interception is buggy since in certain cases instructions are skipped
while fault is injected.

Thanks for reviewing the patches.

Nadav Amit (5):
  KVM: x86: Clear DR7.LE during task-switch
  KVM: x86: Emulator performs code segment checks on read access
  KVM: x86: Decoding guest instructions which cross page boundary may
    fail
  KVM: vmx: Unavailable DR4/5 is checked before CPL
  KVM: x86: Using TSC deadline may cause multiple interrupts by user
    writes

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kvm/emulate.c          | 10 +++++----
 arch/x86/kvm/lapic.c            |  7 +++++-
 arch/x86/kvm/lapic.h            |  3 ++-
 arch/x86/kvm/svm.c              | 10 +++++----
 arch/x86/kvm/vmx.c              | 19 ++++++++++------
 arch/x86/kvm/x86.c              | 48 ++++++++++++++++-------------------------
 7 files changed, 51 insertions(+), 47 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2014-10-19 16:07 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 22:10 [PATCH 0/5] KVM: x86: Various bug fixes Nadav Amit
2014-10-02 22:10 ` [PATCH 1/5] KVM: x86: Clear DR7.LE during task-switch Nadav Amit
2014-10-06 19:45   ` Radim Krčmář
2014-10-02 22:10 ` [PATCH 2/5] KVM: x86: Emulator performs code segment checks on read access Nadav Amit
2014-10-06 20:32   ` Radim Krčmář
2014-10-10  2:07     ` [PATCH v2 " Nadav Amit
2014-10-10 15:54       ` Radim Krčmář
2014-10-11  9:39         ` Paolo Bonzini
2014-10-12  6:57           ` Nadav Amit
2014-10-12 12:12             ` Paolo Bonzini
2014-10-12 23:15               ` Nadav Amit
2014-10-13  4:29                 ` Paolo Bonzini
2014-10-13 11:31                 ` Gleb Natapov
2014-10-19 16:07                   ` Nadav Amit
2014-10-02 22:10 ` [PATCH 3/5] KVM: x86: Decoding guest instructions which cross page boundary may fail Nadav Amit
2014-10-06 20:50   ` Radim Krčmář
2014-10-07  9:15     ` Nadav Amit
2014-10-08  9:02       ` Paolo Bonzini
2014-10-02 22:10 ` [PATCH 4/5] KVM: vmx: Unavailable DR4/5 is checked before CPL Nadav Amit
2014-10-06 19:33   ` Radim Krčmář
2014-10-02 22:10 ` [PATCH 5/5] KVM: x86: Using TSC deadline may cause multiple interrupts by user writes Nadav Amit
2014-10-06 20:57   ` Radim Krčmář
2014-10-07  9:35     ` Nadav Amit
2014-10-08 10:06       ` Radim Krčmář
2014-10-08 10:07         ` Paolo Bonzini
2014-10-10  1:55         ` Nadav Amit
2014-10-10  9:45           ` Paolo Bonzini
2014-10-10 12:50             ` Radim Krčmář
2014-10-10 12:51             ` Nadav Amit
2014-10-10 13:55               ` Paolo Bonzini
2014-10-10 14:02         ` Paolo Bonzini
2014-10-08  9:29   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).