We have seen that when kvm-unit-tests runs with kgdb enabled, the
kernel halts on the debugger during the KVM x86 instruction emulation
that performs a test of a division by zero, and also during fwait.
This patch adds calls that temporarily disable the debugger trap.
Signed-off-by: Dan Aloni
Hello,
The following two patches address an integration issue between KVM and
KGDB. The issue described in the patches can be triggered with vanilla
kernels that enable KGDB and KVM together on x86 (more specifically,
we bump into this with Fedora's 3.11 kernel from FC19).
On a kernel enabled wit
by zero,
and also during fwait.
A second patch depending on this one addresses that issue.
Signed-off-by: Dan Aloni
Signed-off-by: Muli Ben-Yehuda
---
arch/x86/include/asm/kgdb.h | 8
arch/x86/kernel/kgdb.c | 21 +
2 files changed, 29 insertions(+)
diff --git
On Wed, Sep 04, 2013 at 12:02:01PM +0300, Michael S. Tsirkin wrote:
> On Sun, Aug 18, 2013 at 12:18:38PM +0300, Michael S. Tsirkin wrote:
> > On Sun, Aug 18, 2013 at 11:48:56AM +0300, Dan Aloni wrote:
> > > On 3.10.7 and x86_64, as a result of sizeof(struct vhost_scsi) being
&
.
Signed-off-by: Dan Aloni
---
drivers/vhost/scsi.c | 68 +---
1 file changed, 44 insertions(+), 24 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 7014202..7f605b6 100644
--- a/drivers/vhost/scsi.c
+++ b/drivers/vhost