mbox series

[v2,0/2] i386: simplify Hyper-V enlightenments enablement

Message ID 20201217124959.262639-1-vkuznets@redhat.com (mailing list archive)
Headers show
Series i386: simplify Hyper-V enlightenments enablement | expand

Message

Vitaly Kuznetsov Dec. 17, 2020, 12:49 p.m. UTC
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(+)