[kvm-commits] [PATCH] kvm: qemu: qemu_system_cpu_hot_add not supported for non-x86

2008-03-27 Thread Avi Kivity
From: Xiantao Zhang <[EMAIL PROTECTED]> Comment it out first for build pass. Signed-off-by: Xiantao Zhang <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index ae74f32..2670642 100644 --- a/qemu/hw/acpi.c +++ b/qemu/hw/acpi.c @@ -719

[kvm-commits] [PATCH] kvm: qemu: ignore reads to the EOI register.

2008-03-27 Thread Avi Kivity
From: Glauber Costa <[EMAIL PROTECTED]> They seem legal in real hardware, even though the EOI is a write-only register. By "legal" I mean they are completely ignored, but at least, don't cause any bits to be set at ESR. Without this patch, some (very recent) linux git trees will fail to boot in i

[kvm-commits] [PATCH] s390: KVM preparation: host memory management changes for s390 kvm

2008-03-27 Thread Avi Kivity
From: Heiko Carstens <[EMAIL PROTECTED]> From: Heiko Carstens <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This patch changes the s390 memory management defintions to use the pgste field for dirty and reference bit tracking of host and guest code. Usually on s390, dirty and

[kvm-commits] [PATCH] s390: KVM preparation: provide hook to enable pgstes in user pagetable

2008-03-27 Thread Avi Kivity
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> The SIE instruction on s390 uses the 2nd half of the page table page to virtualize the storage keys of a guest. This patch offers the s390_enable_sie function, which re

[kvm-commits] [PATCH] x86: KVM guest: don't allow KVM_CLOCK on Voyager or Visual WS

2008-03-27 Thread Avi Kivity
From: Randy Dunlap <[EMAIL PROTECTED]> Prevent failed randconfig builds with KVM_CLOCK being enabled on Voyager or VISWS. build-rand9.out: Using /local/linsrc/next-20080325 as source for kernel build-rand9.out: from /local/linsrc/next-20080325/include/linux/irqflags.h:46, build-

[kvm-commits] [PATCH] s390: KVM preparation: address of the 64bit extint parm in lowcore

2008-03-27 Thread Avi Kivity
From: Christian Borntraeger <[EMAIL PROTECTED]> The address 0x11b8 is used by z/VM for pfault and diag 250 I/O to provide a 64 bit extint parameter. virtio uses the same address, so its time to update the lowcore structure. Acked-by: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Christian

[kvm-commits] [PATCH] s390: fixup for kvm

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> Temporary commit, should appear in mainline shortly. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/arch/s390/lib/uaccess_pt.c b/arch/s390/lib/uaccess_pt.c index 5efdfe9..d68b2ee 100644 --- a/arch/s390/lib/uaccess_pt.c +++ b/arch/s390/lib/uacces

[kvm-commits] [PATCH] s390: KVM preparation: split sysinfo defintions for kvm use

2008-03-27 Thread Avi Kivity
From: Christian Borntraeger <[EMAIL PROTECTED]> drivers/s390/sysinfo.c uses the store system information intruction to query the system about information of the machine, the LPAR and additional hypervisors. KVM has to implement the host part for this instruction. To avoid code duplication, this p

[kvm-commits] [PATCH] KVM: s390: add kvm to kconfig on s390

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This patch adds the virtualization submenu and the kvm option to the kernel config. It also defines HAVE_KVM for 64bit kernels. Acked-by: Martin Schwidefsky <[EMAIL PROTE

[kvm-commits] [PATCH] KVM: s390: update maintainers

2008-03-27 Thread Avi Kivity
From: Christian Borntraeger <[EMAIL PROTECTED]> This patch adds an entry for kvm on s390 to the MAINTAINERS file :-). We intend to push all patches regarding this via Avi's kvm.git. Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]> Signed-off-by: Carsten Otte <[EMAIL PROTECTED]> Signed-off

[kvm-commits] [PATCH] KVM: s390: sie intercept handling

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This path introduces handling of sie intercepts in three flavors: Intercepts are either handled completely in-kernel by kvm_handle_sie_intercept(), or passed to userspace

[kvm-commits] [PATCH] KVM: s390: API documentation

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> This patch adds Documentation/s390/kvm.txt, which describes specifics of kvm's user interface that are unique to s390 architecture. Signed-off-by: Carsten Otte <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/Documentation/s390

[kvm-commits] [PATCH] KVM: s390: intercepts for diagnose instructions

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This patch introduces interpretation of some diagnose instruction intercepts. Diagnose is our classic architected way of doing a hypercall. This patch features the followi

[kvm-commits] [PATCH] KVM: s390: intercepts for privileged instructions

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This patch introduces in-kernel handling of some intercepts for privileged instructions: handle_set_prefix()sets the prefix register of the local cpu handle_store

[kvm-commits] [PATCH] KVM: s390: interrupt subsystem, cpu timer, waitpsw

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> This patch contains the s390 interrupt subsystem (similar to in kernel apic) including timer interrupts (similar to in-kernel-pit) and enabled wait (similar to in kernel hlt). In order to achieve that, this patch also introduces intercept handling for instru

[kvm-commits] [PATCH] KVM: s390: arch backend for the kvm kernel module

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> From: Heiko Carstens <[EMAIL PROTECTED]> This patch contains the port of Qumranet's kvm kernel module to IBM zSeries (aka s390x, mainframe) architecture. It uses the main

[kvm-commits] [PATCH] s390: KVM guest: detect when running on kvm

2008-03-27 Thread Avi Kivity
From: Christian Borntraeger <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> This patch adds functionality to detect if the kernel runs under the KVM hypervisor. A macro MACHINE_IS_KVM is exported for device drivers. This allows drivers to

[kvm-commits] [PATCH] KVM: s390: interprocessor communication via sigp

2008-03-27 Thread Avi Kivity
From: Carsten Otte <[EMAIL PROTECTED]> From: Carsten Otte <[EMAIL PROTECTED]> From: Christian Borntraeger <[EMAIL PROTECTED]> This patch introduces in-kernel handling of _some_ sigp interprocessor signals (similar to ipi). kvm_s390_handle_sigp() decodes the sigp instruction and calls individual h

[kvm-commits] [PATCH] s390: KVM guest: virtio device support, and kvm hypercalls

2008-03-27 Thread Avi Kivity
From: Christian Borntraeger <[EMAIL PROTECTED]> This patch implements kvm guest kernel support for paravirtualized devices and contains two parts: o a basic virtio stub using virtio_ring and external interrupts and hypercalls o full hypercall implementation in kvm_para.h Currently we dont have PC