lkml.org 
[lkml]   [2014]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/9] KVM: x86: More emulator bugs
Date
This patch-set resolves several emulator bugs. Each fix is independent of the
others. The DR6 bug can occur during DR-access exit (regardless to
unrestricted mode, MMIO and SPT).


Changes in v2:

Introduced kvm_register_readl and kvm_register_writel which consider long-mode
and cs.l when reading the registers.

Fixing the register read to respect 32/64 bit in hypercall handling, CR exit
handling and VMX instructions handling.

Thanks for re-reviewing the patch

Nadav Amit (9):
KVM: x86: bit-ops emulation ignores offset on 64-bit
KVM: x86: Wrong emulation on 'xadd X, X'
KVM: x86: Inter privilage level ret emulation is not implemeneted
KVM: x86: emulation of dword cmov on long-mode should clear [63:32]
KVM: x86: NOP emulation clears (incorrectly) the high 32-bits of RAX
KVM: x86: check DR6/7 high-bits are clear only on long-mode
KVM: x86: Hypercall handling does not considers opsize correctly
KVM: vmx: handle_cr ignores 32/64-bit mode
KVM: vmx: vmx instructions handling does not consider cs.l

arch/x86/kvm/emulate.c | 31 ++++++++++++++++++++-----------
arch/x86/kvm/vmx.c | 16 ++++++++--------
arch/x86/kvm/x86.c | 11 ++++++-----
arch/x86/kvm/x86.h | 27 +++++++++++++++++++++++++++
4 files changed, 61 insertions(+), 24 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-06-18 17:41    [W:0.103 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site