Re: [Patch 3/6] kvm: svm: Add support for XSAVES on AMD

Paolo Bonzini
2019-10-09T07:02:05Z

On 09/10/19 02:41, Aaron Lewis wrote:
> - /*
> - * The only supported bit as of Skylake is bit 8, but
> - * it is not supported on KVM.
> - */
> - if (data != 0)
> - return 1;

This comment is actually not true anymore; Intel supports PT (bit 8) on
Cascade Lake, so it could be changed to something like

/*
* We do support PT (bit 8) if kvm_x86_ops->pt_supported(), but
* guests will have to configure it using WRMSR rather than
* XSAVES.
*/

Paolo