Skip to content

i386: simplify Hyper-V enlightenments enablement

Vitaly Kuznetsov qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v15 patches 33 repliesApplied

Changes in v2 from the cover letter

- Moved X86MachineClass related setup to x86_cpu_pre_plug [Eduardo], introduced kvm_hv_evmcs_available() to support the change.
- Droped PATCHes0-4 from v1 as x86_cpu_hyperv_realize() is not needed for the purpose of this series. I'll be sending them out as part of "KVM: expand Hyper-V features early" series after 5.11-rc1 Linux release.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i386: introduce kvm_hv_evmcs_available()target/i386/kvm-stub.c target/i386/kvm.c target/i386/kvm_i386.h+14 -00 replies
2/2i386: provide simple 'hyperv=on' option to x86 machine typesdocs/hyperv.txt hw/i386/x86.c include/hw/i386/x86.h+57 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] i386: simplify Hyper-V enlightenments enablement

Changes since v1:
- Moved X86MachineClass related setup to x86_cpu_pre_plug [Eduardo], introduced kvm_hv_evmcs_available() to support the change.
- Droped PATCHes0-4 from v1 as x86_cpu_hyperv_realize() is not needed for the purpose of this series. I'll be sending them out as part of "KVM: expand Hyper-V features early" series after 5.11-rc1 Linux release.

Original description:

This series is a part of the previously sent "[PATCH RFC v3 00/23] i386:
KVM: expand Hyper-V features early":
https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg02443.html

We're not ready to merge the full patch set yet because the required KVM capability is only queued for 5.11. We can, however, extract the part providing 'hyperv=on' option to x86 machine types which is valuable on its own.

Vitaly Kuznetsov (2):
i386: introduce kvm_hv_evmcs_available()
i386: provide simple 'hyperv=on' option to x86 machine types

 docs/hyperv.txt        |  8 ++++++++
 hw/i386/x86.c          | 42 ++++++++++++++++++++++++++++++++++++++++++
 include/hw/i386/x86.h  |  7 +++++++
 target/i386/kvm-stub.c |  5 +++++
 target/i386/kvm.c      |  8 ++++++++
 target/i386/kvm_i386.h |  1 +
 6 files changed, 71 insertions(+)
Signature · 1 line
2.29.2