OSDN Git Service

KVM: svm: add nrips module parameter
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2019 12:13:33 +0000 (14:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Jul 2019 14:14:38 +0000 (16:14 +0200)
commitd647eb63e67156fae44d2b467b1f314fc676de7a
treebfafb564b7683a9b3955c05d9b54d3a941510369
parentc550505b57832936aebb5eb376375bc258f8a807
KVM: svm: add nrips module parameter

Allow testing code for old processors that lack the next RIP save
feature, by disabling usage of the next_rip field.

Nested hypervisors however get the feature unconditionally.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c