Re: [PATCH 1/2] KVM: x86: svm: Pass XSAVES to guest if available on host

2019-09-25 Thread Jim Mattson
On Wed, Sep 25, 2019 at 2:37 PM Sebastian Andrzej Siewior wrote: > > In commit >55412b2eda2b7 ("kvm: x86: Add kvm_x86_ops hook that enables XSAVES for > guest") > > XSAVES was enabled on VMX with a few additional tweaks and was always > disabled on SVM. Before ZEN XSAVES was not available so

[PATCH 1/2] KVM: x86: svm: Pass XSAVES to guest if available on host

2019-09-25 Thread Sebastian Andrzej Siewior
In commit 55412b2eda2b7 ("kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest") XSAVES was enabled on VMX with a few additional tweaks and was always disabled on SVM. Before ZEN XSAVES was not available so it made no difference. With Zen it is possible to expose it to the guest if it