[PATCH] KVM: MMU: disable global page optimization

2009-04-14 Thread Avi Kivity
From: Marcelo Tosatti Complexity to fix it not worthwhile the gains, as discussed in http://article.gmane.org/gmane.comp.emulators.kvm.devel/28649. Cc: sta...@kernel.org Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d5bdf3a

[PATCH] KVM: PIT: fix count read and mode 0 handling

2009-04-14 Thread Avi Kivity
From: Marcelo Tosatti Commit 46ee278652f4cbd51013471b64c7897ba9bcd1b1 causes Solaris 10 to hang on boot. Assuming that PIT counter reads should return 0 for an expired timer is wrong: when it is active, the counter never stops (see comment on __kpit_elapsed). Also arm a one shot timer for mode

[PATCH] KVM: ia64: fix locking order entering guest

2009-04-14 Thread Avi Kivity
From: Jes Sorensen Reorder locking as down_read() may return with local interrupts enabled, which means we could go into vti_vcpu_run() with interrupts enabled. This caused random crashes on the Altix as the timer interrupt tried to read a memory mapped clock source, for which the TLB had not ye

[PATCH] KVM: ia64: make kvm depend on CONFIG_MODULES.

2009-04-14 Thread Avi Kivity
From: Zhang, Xiantao Since kvm-intel modue can't be built-in, make kvm depend on CONFIG_MODULES. Signed-off-by: Xiantao Zhang Signed-off-by: Avi Kivity diff --git a/arch/ia64/kvm/Kconfig b/arch/ia64/kvm/Kconfig index 0a2d6b8..64d5209 100644 --- a/arch/ia64/kvm/Kconfig +++ b/arch/ia64/kvm/Kcon

[PATCH] kvm: qemu: fix option_rom_setup_reset address

2009-04-14 Thread Avi Kivity
From: Ryan Harper Commit f2b690ba461971fb8b04354de8717a73fd08b945 changed the target address for option roms, but failed to use the same address when registering an option rom reset. This manifests itself when using extboot (boot=on) and reseting a guest via reboot or system_reset on monitor and

[PATCH] kvm: scripts: drop asm symlinks before generating release

2009-04-14 Thread Avi Kivity
From: Avi Kivity Signed-off-by: Avi Kivity diff --git a/scripts/make-release b/scripts/make-release index 6ddb9e1..dc99e81 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -67,6 +67,7 @@ make -C kernel sync LINUX=../linux version="$name" echo ARCH=x86_64 > kernel/config.mak mak

[PATCH] kvm: qemu: fix vga segfaults and corruption with large memory

2009-04-14 Thread Avi Kivity
From: Avi Kivity Merge from qemu dropped some size fixes. Signed-off-by: Avi Kivity diff --git a/qemu/hw/vga.c b/qemu/hw/vga.c index 8c6a648..f0b690a 100644 --- a/qemu/hw/vga.c +++ b/qemu/hw/vga.c @@ -1588,11 +1588,12 @@ static void vga_sync_dirty_bitmap(VGAState *s) */ static void vga_draw

[PATCH] Merge commit 'qemu-svn/trunk'

2009-04-14 Thread Avi Kivity
From: Avi Kivity -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] kvm: qemu: drop vga bios initialization for ia64

2009-04-14 Thread Avi Kivity
From: Zhang, Xiantao Unneeded now. Signed-off-by: Xiantao Zhang Signed-off-by: Avi Kivity diff --git a/qemu/hw/vga.c b/qemu/hw/vga.c index 5639904..8c6a648 100644 --- a/qemu/hw/vga.c +++ b/qemu/hw/vga.c @@ -2290,140 +2290,6 @@ static void vga_map(PCIDevice *pci_dev, int region_num, vga_d

[PATCH] kvm: qemu: add missing include for ia64

2009-04-14 Thread Avi Kivity
From: Zhang, Xiantao Signed-off-by: Xiantao Zhang Signed-off-by: Avi Kivity diff --git a/qemu/monitor.c b/qemu/monitor.c index b3ea22a..a363677 100644 --- a/qemu/monitor.c +++ b/qemu/monitor.c @@ -42,6 +42,7 @@ #include "migration.h" #include "kvm.h" #include "acl.h" +#include "exec-all.h"

[PATCH] kvm: external module: link include/asm at ./configure time

2009-04-14 Thread Avi Kivity
From: Avi Kivity otherwise, if make starts building libkvm before the external module, it will fail due to the missing link. Signed-off-by: Avi Kivity diff --git a/kernel/Makefile b/kernel/Makefile index 5dbb8f0..1434722 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -38,7 +38,7 @@ ifeq