qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Xuebing Wang <xbing6@gmail.com>, qemu-devel@nongnu.org
Cc: Gleb Natapov <gleb@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/7] remove #if defined CONFIG_KVM || !defined NEED_CPU_H
Date: Thu, 06 Mar 2014 13:00:02 +0100	[thread overview]
Message-ID: <53186342.6090601@redhat.com> (raw)
In-Reply-To: <1394101634-21509-1-git-send-email-xbing6@gmail.com>

Il 06/03/2014 11:27, Xuebing Wang ha scritto:
> Hi Community,
>
> I am not sure if there is value for this patchset.

I am not sure this is too useful, since after all the code works and the 
patches are tricky.

I'd be more interested in seeing work done to remove qemu-common.h and 
cpu.h inclusions from header files, and possibly splitting TCG-specific 
parts out of exec-all.h.  I hope we convinced you that this is the right 
thing to do for such central files.

Paolo

> 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
>

  parent reply	other threads:[~2014-03-06 12:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-06 10:27 [Qemu-devel] [PATCH 0/7] remove #if defined CONFIG_KVM || !defined NEED_CPU_H Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 1/7] kvm: remove the hack "#if defined CONFIG_KVM || !defined NEED_CPU_H" Xuebing Wang
2014-03-06 14:54   ` Andreas Färber
2014-03-06 10:27 ` [Qemu-devel] [PATCH 2/7] kvm-i386: fix build for x86_64-linux-user after applying previous patch Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 3/7] kvm-i386: remove target-i386/kvm-stub.c Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 4/7] kvm: fix build for target sh4-softmmu Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 5/7] kvm-ppc: fix build for ppc64-softmmu Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 6/7] kvm-ppc: remove target-ppc/kvm-stub.c Xuebing Wang
2014-03-06 10:27 ` [Qemu-devel] [PATCH 7/7] kvm-i386: fix build for "x86_64-softmmu --disable-kvm" Xuebing Wang
2014-03-06 12:00 ` Paolo Bonzini [this message]
2014-03-06 15:16 ` [Qemu-devel] [PATCH 0/7] remove #if defined CONFIG_KVM || !defined NEED_CPU_H Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53186342.6090601@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=gleb@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xbing6@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).