Sean Christopherson 4eb87460c4 KVM: nSVM: Advertise and enable NRIPS for L1 iff nrips is enabled
Set NRIPS in KVM capabilities if and only if nrips=true, which naturally
incorporates the boot_cpu_has() check, and set nrips_enabled only if the
KVM capability is enabled.

Note, previously KVM would set nrips_enabled based purely on userspace
input, but at worst that would cause KVM to propagate garbage into L1,
i.e. userspace would simply be hosing its VM.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-03-16 17:58:44 +01:00
..
2020-02-09 16:05:50 -08:00
2020-01-08 19:40:51 +01:00
2020-02-09 12:11:12 -08:00
2020-01-31 14:48:54 -08:00
2020-01-07 13:31:29 +01:00
2020-02-09 12:11:12 -08:00