From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= Subject: Re: [PATCH 2/2] libxl: fix osvm cpuid flag Date: Wed, 28 Jun 2017 18:14:25 +0200 Message-ID: <20170628161425.GQ1268@mail-itl> References: <1498612044-14114-1-git-send-email-marmarek@invisiblethingslab.com> <1498612044-14114-3-git-send-email-marmarek@invisiblethingslab.com> <5953481C02000078001015BA@prv-mh.provo.novell.com> <41a14983-fb74-9e43-3cb4-5bfb12071bc5@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2943071859917305772==" Return-path: In-Reply-To: <41a14983-fb74-9e43-3cb4-5bfb12071bc5@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Andrew Cooper Cc: wei.liu2@citrix.com, ian.jackson@eu.citrix.com, Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============2943071859917305772== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CidtvoxM148pMpWF" Content-Disposition: inline --CidtvoxM148pMpWF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 28, 2017 at 11:16:33AM +0100, Andrew Cooper wrote: > On 28/06/17 07:09, Jan Beulich wrote: > >>>> Marek Marczykowski-G=C3=B3recki 06= /28/17 3:09 AM >>> > >> It's bit 9 not 10 (which is ibs). > > Indeed, but shouldn't it rather be removed? We don't expose it from the > > hypervisor at all anymore: > > > > XEN_CPUFEATURE(OSVW, 3*32+ 9) /* OS Visible Workaround */ > > > > (note the absence of any marker character immediately inside the commen= t). >=20 > I don't believe we have ever actually offered OSVW to guests, despite > the pretence of being able to. ISTR it was always clobbered before > being given to a guest. >=20 > Having said that, we should be advertising OSVW. It's entire purpose is > to tell the OS that there is something it can do to manually work round > a specific erratum. OTOH, making this migrate safe is liable to be very > complicated... I don't have opinion on either approach here, but the current state is clearly wrong. You've got two versions of the patch, choose one ;) --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --CidtvoxM148pMpWF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJZU9XiAAoJENuP0xzK19csSiQH+wW5HI6FjHsObaqRHs9n9P/3 F+e9sEUxBfrXD5fCT/GmLpiAWEXXZvlZdfOeqohCZ/HcgxB1YEvqCcLmbXSSkkja klEjnEXdNNYrswHQULmBcCuOL4pLKT5CH2r/rwI00KLgKJH6Fj8sWa+sfBFwL8rY VMssXVbJtUv1eD2q89R8Gucst9kmeQ23SAZ55yywdi+1WcpsVsHdODQ7cZsJLy6E JkoGcQUtGii5hAPS2NNv+b9GwQ1vLVhT3O8dKqrboy5ekI1GtDfW1/R3dQmKfo8H DHjjbos+7/Ax8DFZD86deVjbb+puMetMRCJ7WQog8HmIcgZJhOXzHWLlN6Nh5ms= =rkFV -----END PGP SIGNATURE----- --CidtvoxM148pMpWF-- --===============2943071859917305772== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2943071859917305772==--