summary refs log tree commit diff stats
path: root/hw/misc/iotkit-secctl.c
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2024-01-15 04:13:25 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2024-02-16 13:56:08 +0100
commita11a365159b944e05be76f3ec3b98c8b38cb70fd (patch)
tree283ff1577fe4f80442621577d3ffd3e1748eb0fc /hw/misc/iotkit-secctl.c
parent81f5cad3858f27623b1b14467926032d229b76cc (diff)
downloadfocaccia-qemu-a11a365159b944e05be76f3ec3b98c8b38cb70fd.tar.gz
focaccia-qemu-a11a365159b944e05be76f3ec3b98c8b38cb70fd.zip
i386/cpu: Mask with XCR0/XSS mask for FEAT_XSAVE_XCR0_HI and FEAT_XSAVE_XSS_HI leafs
The value of FEAT_XSAVE_XCR0_HI leaf and FEAT_XSAVE_XSS_HI leaf also
need to be masked by XCR0 and XSS mask respectively, to make it
logically correct.

Fixes: 301e90675c3f ("target/i386: Enable support for XSAVES based features")
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Yang Weijiang <weijiang.yang@intel.com>
Message-ID: <20240115091325.1904229-3-xiaoyao.li@intel.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/iotkit-secctl.c')
0 files changed, 0 insertions, 0 deletions