Re: [PATCH 0/6] KVM: x86: More emulator bugs

From: Paolo Bonzini
Date: Mon Jun 16 2014 - 06:19:50 EST


Il 15/06/2014 15:12, Nadav Amit ha scritto:
This patch-set resolves several emulator bugs. Each fix is independent of the
others. The DR6/7 bug can occur during DR-access exit (regardless to
unrestricted mode, MMIO and SPT).

Thanks for reviewing the patches,
Nadav

Nadav Amit (6):
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

arch/x86/kvm/emulate.c | 31 ++++++++++++++++++++-----------
arch/x86/kvm/x86.c | 13 +++++++++++--
2 files changed, 31 insertions(+), 13 deletions(-)


I applied these locally. Can you prepare testcases for patches 1, 2, 4 and 5? Perhaps patch 6 too if it's easy to reproduce.

Paolo
--
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/