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

Vitaly Kuznetsov posted 2 patches 3 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201217124959.262639-1-vkuznets@redhat.com
Maintainers: Marcelo Tosatti <mtosatti@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Eduardo Habkost <ehabkost@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
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(+)
[PATCH v2 0/2] i386: simplify Hyper-V enlightenments enablement
Posted by Vitaly Kuznetsov 3 years, 4 months ago
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(+)

-- 
2.29.2