diff options
author | Paolo Bonzini | 2020-01-20 19:21:42 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-01-24 20:59:09 +0100 |
commit | 420ae1fc51c99abfd03b1c590f55617edd2a2bed (patch) | |
tree | a7ccaa34289e2c546e9acdd6cb33462950c0764d /target/i386/hvf/x86_emu.c | |
parent | hw/core/Makefile: Group generic objects versus system-mode objects (diff) | |
download | qemu-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