From: Avi Kivity Subject: Re: [PATCH v3 6/9] kvmvapic: Introduce TPR access optimization for Windows guests Date: Thu, 16 Feb 2012 17:29:28 +0200 Message-ID: <4F3D20D8.9000700@redhat.com> References: <286b8c6486f3b021ee21ec16960f5ffd4770225b.1329232393.git.jan.kiszka@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, qemu-devel , Anthony Liguori , Gleb Natapov , Blue Swirl To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2873 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830Ab2BPP3h (ORCPT ); Thu, 16 Feb 2012 10:29:37 -0500 In-Reply-To: <286b8c6486f3b021ee21ec16960f5ffd4770225b.1329232393.git.jan.kiszka@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On 02/14/2012 05:13 PM, Jan Kiszka wrote: > This enables acceleration for MMIO-based TPR registers accesses of > 32-bit Windows guest systems. It is mostly useful with KVM enabled, > either on older Intel CPUs (without flexpriority feature, can also be > manually disabled for testing) or any current AMD processor. > > The approach introduced here is derived from the original version of > qemu-kvm. It was refactored, documented, and extended by support for > user space APIC emulation, both with and without KVM acceleration. The > VMState format was kept compatible, so was the ABI to the option ROM > that implements the guest-side para-virtualized driver service. This > enables seamless migration from qemu-kvm to upstream or, one day, > between KVM and TCG mode. > > > +printf("patch @%lx\n", (long)ip); Debug code -- error compiling committee.c: too many arguments to function