From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=52381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZfrN-0000rv-UD for qemu-devel@nongnu.org; Mon, 03 Jan 2011 03:33:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZfrJ-0008NY-9V for qemu-devel@nongnu.org; Mon, 03 Jan 2011 03:33:43 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:50299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZfrI-0008Mg-Pz for qemu-devel@nongnu.org; Mon, 03 Jan 2011 03:33:41 -0500 From: Jan Kiszka Date: Mon, 3 Jan 2011 09:32:50 +0100 Message-Id: Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH v2 00/17] [uq/master] Prepare for more qemu-kvm merging List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org All previously sent patches against current uq combined, some smaller tweaks applied, and 4 new patches added. Major news is support for using up to 16M BIOSes and optional code dump for cpu_dump_state. Those features are already present qemu-kvm but were reworked to provide cleaner upstream versions. Based on this series, I've an experimental tree here where I eliminated another 1500 LOC from qemu-kvm code. Specifically, that tree sets an end to duplicate KVM and VCPU initialization functions, KVMState copies, and redundant state saving/loading functions. Will be rolled out after some more review and testing. Jan Kiszka (17): kvm: Fix coding style violations kvm: Drop return value of kvm_cpu_exec kvm: Stop on all fatal exit reasons kvm: Improve reporting of fatal errors x86: Optionally dump code bytes on cpu_dump_state kvm: x86: Align kvm_arch_put_registers code with comment kvm: x86: Prepare kvm_get_mp_state for in-kernel irqchip kvm: x86: Remove redundant mp_state initialization kvm: x86: Fix xcr0 reset mismerge kvm: x86: Refactor msr_star/hsave_pa setup and checks kvm: x86: Reset paravirtual MSRs kvm: x86: Drop MCE MSRs write back restrictions kvm: Eliminate KVMState arguments kvm: x86: Introduce kvmclock device to save/restore its state kvm: Drop smp_cpus argument from init functions kvm: x86: Rework identity map and TSS setup for larger BIOS sizes kvm: Drop dependencies on very old capabilities cpu-all.h | 2 + cpu-defs.h | 2 - kvm-all.c | 404 +++++++++++++++++++++++-------------------------- kvm-stub.c | 8 +- kvm.h | 19 +-- target-i386/cpu.h | 2 + target-i386/cpuid.c | 14 +- target-i386/helper.c | 21 +++ target-i386/kvm.c | 331 ++++++++++++++++++++++++---------------- target-i386/kvm_x86.h | 3 + target-ppc/kvm.c | 16 ++- target-s390x/kvm.c | 8 +- vl.c | 2 +- 13 files changed, 448 insertions(+), 384 deletions(-)