]> xenbits.xensource.com Git - xen.git/commit
x86: correctly set nonlazy_xstate_used when loading full state
authorJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 09:35:11 +0000 (11:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 09:35:11 +0000 (11:35 +0200)
commit381fdae3f0cf8a1cbec5792d9f821f8e23b4c849
treecdde1d66ba46d13fc9d16191d02e44f6870f5abc
parentd976fe5bf0a3cd8adf66522cdca93086180d1225
x86: correctly set nonlazy_xstate_used when loading full state

In this case, just like xcr0_accum, nonlazy_xstate_used should always be
set to the intended new value, rather than possibly leaving the flag set
from a prior state load.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: f46bf0e101ca63118b9db2616e8f51e972d7f563
master date: 2018-07-09 10:51:02 +0200
xen/arch/x86/domctl.c
xen/arch/x86/hvm/hvm.c