diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-20 19:21:42 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-22 12:48:19 -0500 |
commit | cd8ecfb19cbbdd13f2b2e210c88485bf5f15c51c (patch) | |
tree | 95c7627dccc59b97f2e3b4009e985c4d6b03ec36 /qapi/qobject-output-visitor.c | |
parent | abf9ffa7b3dd0d621c0cf5596cd59949ad66d81a (diff) | |
download | qemu-cd8ecfb19cbbdd13f2b2e210c88485bf5f15c51c.zip qemu-cd8ecfb19cbbdd13f2b2e210c88485bf5f15c51c.tar.gz qemu-cd8ecfb19cbbdd13f2b2e210c88485bf5f15c51c.tar.bz2 |
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>
(cherry picked from commit 420ae1fc51c99abfd03b1c590f55617edd2a2bed)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions