[PATCH] drivers/vhost/scsi.c: avoid a 10-order allocation

2013-08-18 Thread Dan Aloni
. Signed-off-by: Dan Aloni alo...@stratoscale.com --- 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

Re: [PATCH] drivers/vhost/scsi.c: avoid a 10-order allocation

2013-09-04 Thread Dan Aloni
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 2152960 bytes

[PATCH linux-next 1/2] kgdb-x86: allow to temporarily disable trap activation

2013-11-19 Thread Dan Aloni
by zero, and also during fwait. A second patch depending on this one addresses that issue. Signed-off-by: Dan Aloni alo...@stratoscale.com Signed-off-by: Muli Ben-Yehuda m...@stratoscale.com --- arch/x86/include/asm/kgdb.h | 8 arch/x86/kernel/kgdb.c | 21 + 2

[no subject]

2013-11-19 Thread 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

[PATCH linux-next 2/2] kvm-x86: emulator: disable kgdb-x86 on fastop and fpe flush

2013-11-19 Thread Dan Aloni
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