KVM: x86: Pass additional FPU bits to the guest

From: Sebastian Andrzej Siewior
Date: Wed Sep 25 2019 - 17:37:35 EST


While testing my FPU patches on AMD's ZEN platform I noticed that the
XSAVES feature flag was never used in the guest while it was present in
the host. Patch #1 seemed to work but I holded on to it because I could
explain why the guest did report Âfxsave_leak' while the host did not.
It turns out that I need #2 _and_ tell qemu not to mask this information
away.

Sebastian