Integrate r1.339 of vmm.c which I missed during the previous MI/MD split
authormlarkin <mlarkin@openbsd.org>
Wed, 26 Apr 2023 15:34:31 +0000 (15:34 +0000)
committermlarkin <mlarkin@openbsd.org>
Wed, 26 Apr 2023 15:34:31 +0000 (15:34 +0000)
commit68d96e1c1f25c30e577f696a09df2861df793e04
tree700fe177176f158a2f1c4c4ae3f22472ea51e764
parent02548835a687383907448deb297a9305213c0850
Integrate r1.339 of vmm.c which I missed during the previous MI/MD split

---
revision 1.339
date: 2023/04/22 18:27:28;  author: guenther;  state: Exp;  lines: +3 -3;  commitid: ajtkYPSAhtJdB488;
Rename the XCR0_* #defines to XFEATURE_* and add the new supervisor-state
features: while all are appropriate for xsaves/xrstors, the
supervisor-state features aren't for xcr0 but rather for the new XSS_MSR,
making the current names kinda confusing.

Add #defines for masking bits for xcr0 vs XSS.

Add and report the new XSAVE_XFD xsave subfeature bit.
---
sys/arch/amd64/amd64/vmm_machdep.c