From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5siv-0007Cn-1N for qemu-devel@nongnu.org; Mon, 27 Aug 2012 02:22:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5sio-0006ZF-Jr for qemu-devel@nongnu.org; Mon, 27 Aug 2012 02:22:56 -0400 Received: from mout.web.de ([212.227.15.3]:49816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5sio-0006ZB-8q for qemu-devel@nongnu.org; Mon, 27 Aug 2012 02:22:50 -0400 Message-ID: <503B1238.4060904@web.de> Date: Mon, 27 Aug 2012 08:22:48 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig281682321FE6E22345A43318" Subject: Re: [Qemu-devel] [PATCH for-1.2 1/2] linux-headers: update asm/kvm_para.h to 3.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: gleb@redhat.com, kvm@vger.kernel.org, mtosatti@redhat.com, qemu-devel@nongnu.org, avi@redhat.com, Anthony Liguori This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig281682321FE6E22345A43318 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-08-26 17:59, Michael S. Tsirkin wrote: > Update asm-x96/kvm_para.h to version present in Linux 3.6. Nope, we have update-linux-headers.sh for this. Just run it again 3.6-rcX, grab the result, and mention the source (release version or kvm.git hash). Jan > This is needed for the new PV EOI feature. >=20 > Signed-off-by: Michael S. Tsirkin > --- > linux-headers/asm-x86/kvm_para.h | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/k= vm_para.h > index f2ac46a..a1c3d72 100644 > --- a/linux-headers/asm-x86/kvm_para.h > +++ b/linux-headers/asm-x86/kvm_para.h > @@ -22,6 +22,7 @@ > #define KVM_FEATURE_CLOCKSOURCE2 3 > #define KVM_FEATURE_ASYNC_PF 4 > #define KVM_FEATURE_STEAL_TIME 5 > +#define KVM_FEATURE_PV_EOI 6 > =20 > /* The last 8 bits are used to indicate how to interpret the flags fie= ld > * in pvclock structure. If no bits are set, all flags are ignored. > @@ -37,6 +38,7 @@ > #define MSR_KVM_SYSTEM_TIME_NEW 0x4b564d01 > #define MSR_KVM_ASYNC_PF_EN 0x4b564d02 > #define MSR_KVM_STEAL_TIME 0x4b564d03 > +#define MSR_KVM_PV_EOI_EN 0x4b564d04 > =20 > struct kvm_steal_time { > __u64 steal; > @@ -89,5 +91,10 @@ struct kvm_vcpu_pv_apf_data { > __u32 enabled; > }; > =20 > +#define KVM_PV_EOI_BIT 0 > +#define KVM_PV_EOI_MASK (0x1 << KVM_PV_EOI_BIT) > +#define KVM_PV_EOI_ENABLED KVM_PV_EOI_MASK > +#define KVM_PV_EOI_DISABLED 0x0 > + > =20 > #endif /* _ASM_X86_KVM_PARA_H */ >=20 --------------enig281682321FE6E22345A43318 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlA7EjgACgkQitSsb3rl5xSUegCghcOesr7WyfBlkstbUEHw1pyj qzcAn2WUzTPVlb2c3uGcj4YFNNgS+q+s =yvET -----END PGP SIGNATURE----- --------------enig281682321FE6E22345A43318--