• Jan Kiszka's avatar
    x86/ipipe: kvm: Harden kvm_set_shared_msr in vmx_set_msr · ba6f5a46
    Jan Kiszka authored
    vmx_set_msr may be called without a ipipe notifier registered, i.e.
    outside of vcpu_run. In that case, shared MSRs may be set to guest state
    while I-pipe will have no chance to restore them when interrupting
    afterwards. Register the notifier and move the whole thing under hard
    irq protection.
    
    This fixes crashes when calling "info registers" from the QEMU console a
    number times.
    Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
    ba6f5a46
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...