target/i386: early MSR initialization + pass down host microcode revision for "-cpu host"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/i386: kvm: initialize feature MSRs very earlytarget/ target/ | +49 | 0 replies | |
| 2/3 | target/i386: add a ucode-rev propertytarget/ target/ target/ +1 more | +18 | 0 replies | |
| 3/3 | target/i386: kvm: initialize microcode revision from KVMtarget/ target/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] target/i386: early MSR initialization + pass down host microcode revision for "-cpu host"
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(-)
Signature · 1 line
1.8.3.1