[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 06/10] x86/boot: Expose MSR_ARCH_CAPS data in guest max policies
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 24 May 2023 17:02:31 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kFcYZRr9ZtsZhw023xziDDrFhaodemdX3B4JtSQTiOA=; b=EBYo/A7GeM6hoFzICNUV9cIdsEvuxPBnOcNYr5NKzitA4Zyrb6nwH2TvH1zL8Sc+VojeUeHjin1cp6U6Old8h+0rkrAc5wOSab7WRlP7g2rTYX4KZZVEWHA+PykhISXvokQRMHCEMBGL3Ldo+j/UFFw9DJRqjcNBVB8dJ7/Myky30WSSO8v+Nm96kPLRe6Yk55ULiyTeeNT22H30XDadEdV0ad3TwuCAAo6oVgKqmYDOGzm5iBeErSxdWSZASKXVL++EbOD0y3jTkAeG97KYyTjF6h+V7HTmN7dar1Z0vJ+wZQLIVkSWHKVtCRtd59Bplh1VaPiA1iYzVi22Xbfv9A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dHrq4GI/jOqW26GB+m97rMpJhzaKMh1vY7HoX98BxQlVIOmfuc27AMigcEBx72XICV3Yq5mN4x8tqTByK6WPcd9poahvWuFCjBVy9qsJt4kaag9pevWqZFDs7PB9m6N1S2QiH9B0v1uU0TNqgjwZM00hqoYljHUz/VZCwI7fdFD51hl8BFg7gMBlyHdvnO3LOAr+LwRj0QqjmHsQVWHMr7KhoBTjxHLIH5jr6YC5EAc8prvL38L+JxMR2hLxaZcIFgF+Cz/AVb6ePXH/an0nGMPqByTfANz1ZExYq8ZQb3ypvA+HTqDdjhB/k1TJJJpipF3D0AmhZv3Rmcrn1+gOAA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Wed, 24 May 2023 15:02:52 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 24.05.2023 13:25, Andrew Cooper wrote:
> We already have common and default feature adjustment helpers. Introduce one
> for max featuresets too.
>
> Offer MSR_ARCH_CAPS unconditionally in the max policy, and stop clobbering the
> data inherited from the Host policy. This will be necessary to level a VM
> safely for migration. Annotate the ARCH_CAPS CPUID bit as special. Note:
> ARCH_CAPS is still max-only for now, so will not be inhereted by the default
> policies.
>
> With this done, the special case for dom0 can be shrunk to just resampling the
> Host policy (as ARCH_CAPS isn't visible by default yet).
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|