summaryrefslogtreecommitdiffstats
path: root/target/i386/hvf/x86_emu.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-01-20 19:21:42 +0100
committerPaolo Bonzini2020-01-24 20:59:09 +0100
commit420ae1fc51c99abfd03b1c590f55617edd2a2bed (patch)
treea7ccaa34289e2c546e9acdd6cb33462950c0764d /target/i386/hvf/x86_emu.c
parenthw/core/Makefile: Group generic objects versus system-mode objects (diff)
downloadqemu-420ae1fc51c99abfd03b1c590f55617edd2a2bed.tar.gz
qemu-420ae1fc51c99abfd03b1c590f55617edd2a2bed.tar.xz
qemu-420ae1fc51c99abfd03b1c590f55617edd2a2bed.zip
target/i386: kvm: initialize feature MSRs very early
Some read-only MSRs affect the behavior of ioctls such as KVM_SET_NESTED_STATE. We can initialize them once and for all right after the CPU is realized, since they will never be modified by the guest. Reported-by: Qingua Cheng <qcheng@redhat.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1579544504-3616-2-git-send-email-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hvf/x86_emu.c')
0 files changed, 0 insertions, 0 deletions