lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 26 Jan 2024 09:35:22 +0800
From: Chao Gao <chao.gao@...el.com>
To: Yang Weijiang <weijiang.yang@...el.com>
CC: <seanjc@...gle.com>, <pbonzini@...hat.com>, <dave.hansen@...el.com>,
	<kvm@...r.kernel.org>, <linux-kernel@...r.kernel.org>, <x86@...nel.org>,
	<yuan.yao@...ux.intel.com>, <peterz@...radead.org>,
	<rick.p.edgecombe@...el.com>, <mlevitsk@...hat.com>, <john.allen@....com>
Subject: Re: [PATCH v9 14/27] KVM: x86: Initialize kvm_caps.supported_xss

On Tue, Jan 23, 2024 at 06:41:47PM -0800, Yang Weijiang wrote:
>Set original kvm_caps.supported_xss to (host_xss & KVM_SUPPORTED_XSS) if
>XSAVES is supported. host_xss contains the host supported xstate feature
>bits for thread FPU context switch, KVM_SUPPORTED_XSS includes all KVM
>enabled XSS feature bits, the resulting value represents the supervisor
>xstates that are available to guest and are backed by host FPU framework
>for swapping {guest,host} XSAVE-managed registers/MSRs.
>
>Signed-off-by: Yang Weijiang <weijiang.yang@...el.com>
>Reviewed-by: Maxim Levitsky <mlevitsk@...hat.com>

Reviewed-by: Chao Gao <chao.gao@...el.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ