KVM: x86: Allow force_emulation_prefix to be written without a reload
authorSean Christopherson <seanjc@google.com>
Tue, 30 Aug 2022 23:16:14 +0000 (23:16 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:03:12 +0000 (12:03 -0400)
commit40aaa5b6dadc2cbdfff004c31fdd00b9684ff1a8
tree85318ee7e807874e6de1c6fd673b948cfad247b1
parent28c40b2cfb841d55f9f10fd973e1a72e0bf09572
KVM: x86: Allow force_emulation_prefix to be written without a reload

Allow force_emulation_prefix to be written by privileged userspace
without reloading KVM.  The param does not have any persistent affects
and is trivial to snapshot.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220830231614.3580124-28-seanjc@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c