Skip to content

remove #if defined CONFIG_KVM || !defined NEED_CPU_H

Xuebing Wang qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7kvm: remove the hack "#if defined CONFIG_KVM || !defined NEED_CPU_H"include/sysemu/kvm.h+0 -131 reply
2/7kvm-i386: fix build for x86_64-linux-user after applying previous patchtarget-i386/kvm-stub.c+0 -60 replies
3/7kvm-i386: remove target-i386/kvm-stub.cinclude/sysemu/kvm.h target-i386/Makefile.objs target-i386/cpu.c +2 more+27 -290 replies
4/7kvm: fix build for target sh4-softmmukvm-stub.c+1 -00 replies
5/7kvm-ppc: fix build for ppc64-softmmutarget-ppc/kvm_ppc.h+12 -00 replies
6/7kvm-ppc: remove target-ppc/kvm-stub.cinclude/hw/ppc/openpic.h target-ppc/Makefile.objs target-ppc/kvm-stub.c +1 more+5 -200 replies
7/7kvm-i386: fix build for "x86_64-softmmu --disable-kvm"hw/i386/kvm/i8259.c hw/i386/kvm/ioapic.c hw/i386/pc_piix.c +4 more+10 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] remove #if defined CONFIG_KVM || !defined NEED_CPU_H

Hi Community,

I am not sure if there is value for this patchset.

After the first pach:
Size of x86_64-softmmu/qemu-system-x86_64 is unchanged. Size of sh4-softmmu/qemu-system-sh4 increases by about 2.8KB.

Xuebing Wang (7):
kvm: remove the hack "#if defined CONFIG_KVM || !defined NEED_CPU_H"
kvm-i386: fix build for x86_64-linux-user after applying previous
patch
kvm-i386: remove target-i386/kvm-stub.c
kvm: fix build for target sh4-softmmu
kvm-ppc: fix build for ppc64-softmmu
kvm-ppc: remove target-ppc/kvm-stub.c
kvm-i386: fix build for "x86_64-softmmu --disable-kvm"

 hw/i386/kvm/i8259.c       |    2 +-
 hw/i386/kvm/ioapic.c      |    2 +-
 hw/i386/pc_piix.c         |    2 +-
 hw/i386/pc_q35.c          |    2 +-
 include/hw/i386/pc.h      |    1 -
 include/hw/ppc/openpic.h  |    1 -
 include/sysemu/kvm.h      |   18 ------------------
 kvm-stub.c                |    1 +
 target-i386/Makefile.objs |    1 -
 target-i386/cpu.c         |    2 +-
 target-i386/kvm-stub.c    |   30 ------------------------------
 target-i386/kvm_i386.h    |   32 ++++++++++++++++++++++++++++++++
 target-ppc/Makefile.objs  |    1 -
 target-ppc/kvm-stub.c     |   18 ------------------
 target-ppc/kvm_ppc.h      |   17 +++++++++++++++++
 15 files changed, 55 insertions(+), 75 deletions(-)
 delete mode 100644 target-i386/kvm-stub.c
 delete mode 100644 target-ppc/kvm-stub.c
Signature · 1 line
1.7.9.5