From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH] nVMX: Keep arch.pat in sync on L1-L2 switches Date: Mon, 05 Aug 2013 08:27:54 +0200 Message-ID: <51FF45EA.9060405@web.de> References: <51FE7087.3060008@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jXs7g9lhIafc1usK4CaVJ5WXCBRNORuhU" Cc: Gleb Natapov , Paolo Bonzini , kvm To: Arthur Chunqi Li Return-path: Received: from mout.web.de ([212.227.17.11]:58339 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230Ab3HEG2B (ORCPT ); Mon, 5 Aug 2013 02:28:01 -0400 Received: from mchn199C.mchp.siemens.de ([95.157.58.223]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MCZP8-1Uwurd2AGg-009ORK for ; Mon, 05 Aug 2013 08:27:59 +0200 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jXs7g9lhIafc1usK4CaVJ5WXCBRNORuhU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-08-05 04:19, Arthur Chunqi Li wrote: > On Sun, Aug 4, 2013 at 11:17 PM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> When asking vmx to load the PAT MSR for us while switching from L1 to = L2 >> or vice versa, we have to update arch.pat as well as it may later be >> used again to load or read out the MSR content. >> >> Signed-off-by: Jan Kiszka >> --- >> >> Arthur, please add your tested-by also officially. > This patch is generally good expect that we need to add > VM_EXIT_LOAD_IA32_PAT/VM_EXIT_SAVE_IA32_PAT to > nested_vmx_exit_ctls_high in function nested_vmx_setup_ctls_msrs() to > enable these two features. Currently only VM_ENTRY_LOAD_IA32_PAT is > enabled while all three are implemented. Yes, feel free to follow up with a corresponding patch. Jan --jXs7g9lhIafc1usK4CaVJ5WXCBRNORuhU 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 Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlH/Re0ACgkQitSsb3rl5xTHoQCfT3KNZ7OkcxEJhTo8gRgSD3J+ s8UAoNKs0V8Px4dc2QCaBHgdjEz+3JdY =S3g3 -----END PGP SIGNATURE----- --jXs7g9lhIafc1usK4CaVJ5WXCBRNORuhU--