On Wed, Mar 15, 2023 at 04:57:46PM -0500, Michael Roth wrote: > CPUID leaf 0xD sub-leafs 0x0 and 0x1 contain cumulative sizes for the > enabled XSave areas. Those sizes are calculated by tallying up all the > other sub-leafs that contain per-area size information for XSave areas > that are currently enabled in XCr0/XSS. The current check has the logic > inverted. Fix that. > > This doesn't seem to cause problems currently, but could in the future > if OVMF made more extensive use of XSave areas. It was noticed while > implementing SNP-related tests for KVM Unit Tests, which re-uses the > OVMF #VC handler in some cases.
Acked-by: Gerd Hoffmann <kra...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#101419): https://edk2.groups.io/g/devel/message/101419 Mute This Topic: https://groups.io/mt/97638507/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-