qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 00/15] Be able to compile out not needed options
@ 2009-06-23 14:13 quintela
  2009-06-23 14:13 ` [Qemu-devel] [PATCH 01/15] Only compile-in selected audio drivers quintela
                   ` (15 more replies)
  0 siblings, 16 replies; 31+ messages in thread
From: quintela @ 2009-06-23 14:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: Juan Quintela

From: Juan Quintela <quintela@redhat.com>

Hi

this series of patches:
a- move object files only used by one target to that target Makefile.target
b- add flags to disable parts: --disable-{bluez,usb,vwmare,virtio,scsi}
   defaults is leave it enabled.  You need to add the --disable-* flag to get any change
c- disable the use of --smb <dir>

What is the intent:  we want to be able to not compile-in things that we are not
interested in (they are experimental/not needed for our target/...).

Is this the right approach?  Should I do something different?

For the next series, I am also interested on enable/disabling bits of a subsysem:
being able to support usb-hid but not usb-{host,net,msnd}.  I already have patches
to disable that, just waiting to hear what is the preffered way to get
that functionality.

Known problems:
- qemu-*.hx files don't run over cpp and then we are not able to remove from
  the help page the options that we don't support.
- drive_hot_add without scsi support do nothing.

Any comments?

Later, Juan.



Juan Quintela (15):
  Only compile-in selected audio drivers
  Make --disable-bluez to really remove bluetooth support
  rename usb variable to usb host
  protect with CONFIG_BRLAPI
  Make --disable-usb to really remove usb support
  Add --disable-smb to remove smb directories support
  add option to remove scsi support
  add option to disable wmware devices
  ssi bus is only used on the arm platform
  move i2c devices only used in arm devices to arm target
  sd flash is only used in arm devices
  move m48t59 and ecc driver to ppc and sparc, that are the targets
    that use it
  nand and ecc are only used on arm and cris argets
  enable isa_mmio only in the platforms that use it: ppc, arm, mips and
    sparc
  add option to disable virtio drivers

 Makefile          |   23 ++++++++++-----
 Makefile.hw       |    8 ++--
 Makefile.target   |   40 ++++++++++++++++++++------
 configure         |   81 +++++++++++++++++++++++++++++++++++++++++++---------
 hw/baum.h         |    2 +
 hw/nseries.c      |    2 +
 hw/pc.c           |    8 +++++
 hw/pci-hotplug.c  |    9 +++++-
 hw/pci.h          |    2 +
 hw/pckbd.c        |    4 +-
 hw/ppc_newworld.c |    2 +
 hw/ppc_oldworld.c |    3 +-
 hw/ppc_prep.c     |    2 +
 hw/pxa2xx.c       |    4 ++
 hw/realview.c     |    2 +
 hw/usb.h          |    3 ++
 hw/versatilepb.c  |    2 +
 monitor.c         |    2 +
 net.c             |    2 +
 qemu-monitor.hx   |    4 ++
 qemu-options.hx   |    4 ++-
 sysemu.h          |    4 ++
 vl.c              |   30 +++++++++++++++----
 23 files changed, 197 insertions(+), 46 deletions(-)

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2009-06-29  9:46 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 14:13 [Qemu-devel] [RFC PATCH 00/15] Be able to compile out not needed options quintela
2009-06-23 14:13 ` [Qemu-devel] [PATCH 01/15] Only compile-in selected audio drivers quintela
2009-06-23 15:52   ` malc
2009-06-23 14:14 ` [Qemu-devel] [PATCH 02/15] Make --disable-bluez to really remove bluetooth support quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 03/15] rename usb variable to usb host quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 04/15] protect with CONFIG_BRLAPI quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 05/15] Make --disable-usb to really remove usb support quintela
2009-06-23 17:29   ` [Qemu-devel] " Jan Kiszka
2009-06-23 14:14 ` [Qemu-devel] [PATCH 06/15] Add --disable-smb to remove smb directories support quintela
2009-06-23 17:25   ` [Qemu-devel] " Jan Kiszka
2009-06-23 14:14 ` [Qemu-devel] [PATCH 07/15] add option to remove scsi support quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 08/15] add option to disable wmware devices quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 09/15] ssi bus is only used on the arm platform quintela
2009-06-23 14:14 ` [Qemu-devel] [PATCH 10/15] move i2c devices only used in arm devices to arm target quintela
2009-06-23 16:20   ` Blue Swirl
2009-06-23 14:14 ` [Qemu-devel] [PATCH 11/15] sd flash is only used in arm devices quintela
2009-06-23 16:19   ` Blue Swirl
2009-06-23 16:27     ` [Qemu-devel] " Juan Quintela
2009-06-23 16:43       ` Blue Swirl
2009-06-23 19:11     ` [Qemu-devel] " Anthony Liguori
2009-06-23 14:14 ` [Qemu-devel] [PATCH 12/15] move m48t59 and ecc driver to ppc and sparc, that are the targets that use it quintela
2009-06-23 16:20   ` Blue Swirl
2009-06-23 14:14 ` [Qemu-devel] [PATCH 13/15] nand and ecc are only used on arm and cris argets quintela
2009-06-23 16:21   ` Blue Swirl
2009-06-23 14:14 ` [Qemu-devel] [PATCH 14/15] enable isa_mmio only in the platforms that use it: ppc, arm, mips and sparc quintela
2009-06-23 16:21   ` Blue Swirl
2009-06-23 14:14 ` [Qemu-devel] [PATCH 15/15] add option to disable virtio drivers quintela
2009-06-23 19:09 ` [Qemu-devel] [RFC PATCH 00/15] Be able to compile out not needed options Anthony Liguori
2009-06-24 18:17   ` [Qemu-devel] " Juan Quintela
2009-06-24 18:31     ` Anthony Liguori
2009-06-29  9:45       ` Gerd Hoffmann

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