qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target/i386: early MSR initialization + pass down host microcode revision for "-cpu host"
@ 2020-01-20 18:21 Paolo Bonzini
  2020-01-20 18:21 ` [PATCH 1/3] target/i386: kvm: initialize feature MSRs very early Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paolo Bonzini @ 2020-01-20 18:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: vkuznets, liran.alon

As part of this, patch 1 moves feature MSR initialization to
kvm_arch_init_vcpu, which also fixes a problem related to the ordering
of kvm_put_msrs and kvm_put_nested_state.  Patch 2 adds a customizable
ucode-rev property that is supported by both TCG and HVF.  Finally patch 3
adds the KVM support, including getting the host version via KVM_GET_MSRS
and passing it back to the guest for "-cpu host" only.

Paolo Bonzini (3):
  target/i386: kvm: initialize feature MSRs very early
  target/i386: add a ucode-rev property
  target/i386: kvm: initialize microcode revision from KVM

 target/i386/cpu.c         | 14 ++++++++
 target/i386/cpu.h         |  3 ++
 target/i386/hvf/x86_emu.c |  4 +--
 target/i386/kvm.c         | 86 +++++++++++++++++++++++++++++------------------
 target/i386/kvm_i386.h    |  1 +
 target/i386/misc_helper.c |  4 +++
 6 files changed, 76 insertions(+), 36 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-20 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20 18:21 [PATCH 0/3] target/i386: early MSR initialization + pass down host microcode revision for "-cpu host" Paolo Bonzini
2020-01-20 18:21 ` [PATCH 1/3] target/i386: kvm: initialize feature MSRs very early Paolo Bonzini
2020-01-20 18:21 ` [PATCH 2/3] target/i386: add a ucode-rev property Paolo Bonzini
2020-01-20 18:21 ` [PATCH 3/3] target/i386: kvm: initialize microcode revision from KVM Paolo Bonzini
2020-01-20 18:40 ` [PATCH 0/3] target/i386: early MSR initialization + pass down host microcode revision for "-cpu host" no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).