[PATCH] kvm: external module: fix anon_inodes for 2.6.22

2008-07-19 Thread Avi Kivity
From: Jan Kiszka [EMAIL PROTECTED] 2.6.22 came with anon_inode_getfd, but it didn't export it. Since 2.6.23 it is usable for modules, too. Signed-off-by: Jan Kiszka [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git a/kernel/anon_inodes.c b/kernel/anon_inodes.c index

[PATCH] kvm: qemu: remove hypercall device

2008-07-19 Thread Avi Kivity
From: Anthony Liguori [EMAIL PROTECTED] this was never used by any released code. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git a/qemu/Makefile.target b/qemu/Makefile.target index 7a51cd0..54480e4 100644 --- a/qemu/Makefile.target +++

[PATCH] kvm: qemu: add info kvm monitor command

2008-07-19 Thread Avi Kivity
From: Anthony Liguori [EMAIL PROTECTED] Add an 'info kvm' command to the monitor to be used to determine if KVM is active. It's very similar to the existing 'info kqemu' command. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git

[PATCH] kvm: qemu: re-add declaration of qemu_get_launch_info()

2008-07-19 Thread Avi Kivity
From: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] somehow missing from sysemu.h after a qemu merge and otherwise complaining with the following warning : kvm-71/qemu/migration.c: In function 'migration_init_ssh': kvm-71/qemu/migration.c:629: warning: implicit declaration of function

[PATCH] kvm: qemu: remove duplicated inclusion of signal.h in qemu-kvm.h

2008-07-19 Thread Avi Kivity
From: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] added by mistake as part of 4820cce75999b2673a964eb87601229a4bd78ad9 Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h index 8b7dcde..7e28428

[PATCH] kvm: libkvm: s390 port

2008-07-19 Thread Avi Kivity
From: Carsten Otte [EMAIL PROTECTED] Signed-off-by: Christian Borntraeger [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git a/Makefile b/Makefile index 48a8dff..2c54e95 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ DESTDIR= rpmrelease = devel -sane-arch =

[PATCH] KVM: VMX: Avoid vmwrite(HOST_RSP) when possible

2008-07-19 Thread Avi Kivity
From: Avi Kivity [EMAIL PROTECTED] Usually HOST_RSP retains its value across guest entries. Take advantage of this and avoid a vmwrite() when this is so. Signed-off-by: Avi Kivity [EMAIL PROTECTED] diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 48ab60d..0c1cbe5 100644 ---

[PATCH] KVM: Avoid instruction emulation when event delivery is pending

2008-07-19 Thread Avi Kivity
From: Avi Kivity [EMAIL PROTECTED] When an event (such as an interrupt) is injected, and the stack is shadowed (and therefore write protected), the guest will exit. The current code will see that the stack is shadowed and emulate a few instructions, each time postponing the injection.