From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkI4P-0006Z8-MF for qemu-devel@nongnu.org; Wed, 24 Feb 2010 09:18:33 -0500 Received: from [199.232.76.173] (port=51194 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkI4P-0006Ym-Ar for qemu-devel@nongnu.org; Wed, 24 Feb 2010 09:18:33 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkI4N-0002dI-HS for qemu-devel@nongnu.org; Wed, 24 Feb 2010 09:18:33 -0500 Received: from david.siemens.de ([192.35.17.14]:20332) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NkI4F-0002bK-TD for qemu-devel@nongnu.org; Wed, 24 Feb 2010 09:18:31 -0500 From: Jan Kiszka Date: Wed, 24 Feb 2010 15:17:48 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v3 00/10] qemu-kvm: Hook cleanups and yet more use of upstream code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: Gleb Natapov , qemu-devel@nongnu.org, kvm@vger.kernel.org Let's proceed with cleaning up the VCPU state writeback. The differences to v2 are: - included guest debugging update patch and rebased on top of it - renamed KVM_PUT_ASYNC_STATE->KVM_PUT_RUNTIME_STATE and added comments - fixed mp_state corruption due to early use of cpu_is_bsp Some patches target uq/master (fully or partially), but I will post them separately once these bits are acceptible. Pull URL is git://git.kiszka.org/qemu-kvm.git queues/queues-kvm-merge Jan Kiszka (10): qemu-kvm: Add KVM_CAP_X86_ROBUST_SINGLESTEP-awareness qemu-kvm: Rework VCPU state writeback API x86: Extend validity of cpu_is_bsp qemu-kvm: Clean up mpstate synchronization KVM: x86: Restrict writeback of VCPU state qemu-kvm: Use VCPU event state for reset and vmsave/load qemu-kvm: Cleanup/fix TSC and PV clock writeback qemu-kvm: Clean up KVM's APIC hooks qemu-kvm: Move kvm_set_boot_cpu_id qemu-kvm: Bring qemu_init_vcpu back home exec.c | 17 ----- hw/apic.c | 47 ++------------- hw/pc.c | 12 +--- hw/ppc_newworld.c | 3 - hw/ppc_oldworld.c | 3 - hw/s390-virtio.c | 1 - kvm-all.c | 31 ++++++++-- kvm.h | 28 ++++++++- qemu-kvm-ia64.c | 6 +- qemu-kvm-x86.c | 158 +++++++++++++++++++++++------------------------- qemu-kvm.c | 46 ++++---------- qemu-kvm.h | 27 +------- savevm.c | 4 + sysemu.h | 4 + target-i386/helper.c | 2 + target-i386/kvm.c | 94 +++++++++++++++++------------ target-i386/machine.c | 27 -------- target-ia64/machine.c | 5 +- target-ppc/kvm.c | 2 +- target-ppc/machine.c | 4 - target-s390x/kvm.c | 3 +- vl.c | 29 +++++++++ 22 files changed, 254 insertions(+), 299 deletions(-)