[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] hyperv: move to hw/ and allow opt-out
From: |
Roman Kagan |
Subject: |
[Qemu-devel] [PATCH 0/5] hyperv: move to hw/ and allow opt-out |
Date: |
Fri, 21 Sep 2018 11:20:36 +0300 |
This series restructures Hyper-V emulation code such that
- most of it lives in hw/ and bears no target-specific dependencies
- it's only built when CONFIG_HYPERV=y (default on x86+KVM)
Based-on: address@hidden
Roman Kagan (5):
hyperv: split hyperv-proto.h into x86 and arch-independent parts
hyperv: make hyperv_vp_index inline
hyperv: factor out arch-independent API into hw/hyperv
default-configs: collect CONFIG_HYPERV* in hyperv.mak
i386: add hyperv-stub for CONFIG_HYPERV=n
default-configs/hyperv.mak | 2 +
default-configs/i386-softmmu.mak | 2 +-
include/hw/hyperv/hyperv-proto.h | 129 +++++++++++++++++++
{target/i386 => include/hw/hyperv}/hyperv.h | 23 ++--
target/i386/hyperv-proto.h | 115 +----------------
target/i386/hyperv.h | 15 +--
{target/i386 => hw/hyperv}/hyperv.c | 79 ++----------
hw/misc/hyperv_testdev.c | 2 +-
target/i386/hyperv-stub.c | 33 +++++
target/i386/hyperv.c | 130 +-------------------
target/i386/kvm.c | 5 +-
hw/Makefile.objs | 1 +
hw/hyperv/Makefile.objs | 1 +
target/i386/Makefile.objs | 4 +-
14 files changed, 201 insertions(+), 340 deletions(-)
create mode 100644 default-configs/hyperv.mak
create mode 100644 include/hw/hyperv/hyperv-proto.h
copy {target/i386 => include/hw/hyperv}/hyperv.h (59%)
copy {target/i386 => hw/hyperv}/hyperv.c (65%)
create mode 100644 target/i386/hyperv-stub.c
create mode 100644 hw/hyperv/Makefile.objs
--
2.17.1
- [Qemu-devel] [PATCH 0/5] hyperv: move to hw/ and allow opt-out,
Roman Kagan <=
- [Qemu-devel] [PATCH 2/5] hyperv: make hyperv_vp_index inline, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH 1/5] hyperv: split hyperv-proto.h into x86 and arch-independent parts, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH 5/5] i386: add hyperv-stub for CONFIG_HYPERV=n, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH 3/5] hyperv: factor out arch-independent API into hw/hyperv, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH 4/5] default-configs: collect CONFIG_HYPERV* in hyperv.mak, Roman Kagan, 2018/09/21