All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Laurent Vivier" <lvivier@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Peter Xu" <peterx@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 01/25] configure: We don't want to clean configuration files
Date: Tue, 17 Jul 2018 22:22:41 +0200	[thread overview]
Message-ID: <87a7qpy5m6.fsf@secure.mitica> (raw)
In-Reply-To: <CAFEAcA-w0Mcm9tLHqmXRDcrMDnE5JO4NoHPtv_RsvZ56i5A48g@mail.gmail.com> (Peter Maydell's message of "Tue, 17 Jul 2018 20:30:35 +0100")

Peter Maydell <peter.maydell@linaro.org> wrote:
> On 17 July 2018 at 18:27, Juan Quintela <quintela@redhat.com> wrote:
>> On the other hand, sometimes it looks like I am the only user that use
>> this.  The original reason for this was to be able to compile out
>> drivers that downstream don't care about.  There were a couple of
>> intents to integrate with something like kernel kconfig, but I think
>> that we never end integrating anything from there.
>
> I think "be able to compile out stuff you don't want" is
> useful from a "reduce the security boundary" perspective,
> and indeed we have at least one fork of QEMU which is
> basically aimed at chopping stuff out, so there's a group
> of users who'd like to be able to do that

agreed about that.  Some of the bits are just there for historical
reasons, or it was easier to do it that way.  Case in hand, vfio-spapr,
we compile it in always, but my understanding is that it is only used on
ppc.  On the other hand, spliting things complicates things a lot, see
for instance the virtio-pci.c example that I gave on other answer.  You
can split instead of #ifdef, but need yet another registration.

>-- you're not on
> your own in that sense. But it probably does require more
> serious effort if we want to address this use case, so as
> always it comes down to whether anybody wants to do the work,
> I guess.

Completely agree.  I can justify the effort that I put to be able to
"compile less stuff and then compile faster".  Doing it properly takes
more time that I can afford right now.

I care mostly about x86_64-seftmmu with kvm, appart from the bits that I
sent, the other low hanging fruit that I can think of is:

- being able to compile only q35 or i440fx
- split CONFIG_RDMA into CONFIG_RDMA_DEVICES and CONFIG_RDMA_MIGRATION

Thing that could be clearer:
- What is the difference between CONFIG_VIRTIO_VGA and COVFIG_VIRTIO_GPU
- can we really drop/make optional isapc, yes, I know that some things
  still hang from there.
- VHOST_USER_SCSI, VHOST_USER, VIIRTIO_SCSI, VIRTIO_BLK,
  VIRTIO_DATAPLANE, VHOST_BLK and who knows what.  It is not clear to me
  which ones are the ones that I want.

Later, Juan.

  reply	other threads:[~2018-07-17 20:22 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 11:33 [Qemu-devel] [PATCH 00/25] Don't "check" disabled drivers Juan Quintela
2018-07-17 11:33 ` [Qemu-devel] [PATCH 01/25] configure: We don't want to clean configuration files Juan Quintela
2018-07-17 12:46   ` Daniel P. Berrangé
2018-07-17 17:05     ` Juan Quintela
2018-07-17 17:18       ` Peter Maydell
2018-07-17 17:27         ` Juan Quintela
2018-07-17 19:30           ` Peter Maydell
2018-07-17 20:22             ` Juan Quintela [this message]
2018-07-17 11:33 ` [Qemu-devel] [PATCH 02/25] config: CONFIG_SERIAL* is already in pci.mak Juan Quintela
2018-07-17 11:33 ` [Qemu-devel] [PATCH 03/25] check: Use land/lor when possible Juan Quintela
2018-07-17 11:33 ` [Qemu-devel] [PATCH 04/25] check: Only test vmxnet3 when it is compiled in Juan Quintela
2018-07-17 11:42   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 05/25] check: Only test ne2000 " Juan Quintela
2018-07-17 11:42   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 06/25] check: Only test eepro100 " Juan Quintela
2018-07-17 11:47   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 07/25] check: Only test pcnet " Juan Quintela
2018-07-17 11:43   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 08/25] check: Only test rtl8139 " Juan Quintela
2018-07-17 11:46   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 09/25] check: Only test es1370 " Juan Quintela
2018-07-17 11:52   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 10/25] check: Only test ac97 " Juan Quintela
2018-07-17 11:49   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 11/25] check: Only test hda " Juan Quintela
2018-07-17 11:50   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 12/25] check: Only test ipack " Juan Quintela
2018-07-17 12:09   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 13/25] check: Only test isa-testdev " Juan Quintela
2018-07-17 12:13   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 14/25] check: Only test ioh3420 " Juan Quintela
2018-07-17 12:13   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 15/25] check: Only test i82801b11 " Juan Quintela
2018-07-17 12:14   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 16/25] check: Only test sdhci " Juan Quintela
2018-07-17 11:48   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 17/25] check: Only test wdt_ib700 " Juan Quintela
2018-07-17 11:50   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 18/25] check: Only test pvpanic " Juan Quintela
2018-07-17 12:40   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 19/25] check: Only test nvme " Juan Quintela
2018-07-17 14:00   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 20/25] check: Only test usb-xhci-nec " Juan Quintela
2018-07-17 14:06   ` Thomas Huth
2018-07-17 17:06     ` Juan Quintela
2018-07-26 15:09     ` Juan Quintela
2018-07-27  8:13       ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 21/25] check: Only test usb-ohci " Juan Quintela
2018-07-17 14:09   ` Thomas Huth
2018-07-17 11:33 ` [Qemu-devel] [PATCH 22/25] check: Only test usb-uhci devices when they are " Juan Quintela
2018-07-17 14:10   ` Thomas Huth
2018-07-17 11:34 ` [Qemu-devel] [PATCH 23/25] check: Only test usb-ehci when it is " Juan Quintela
2018-07-17 14:10   ` Thomas Huth
2018-07-17 11:34 ` [Qemu-devel] [PATCH 24/25] check: Only test ivshm " Juan Quintela
2018-07-17 11:34 ` [Qemu-devel] [PATCH 25/25] check: Only test tpm devices when they are " Juan Quintela

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=87a7qpy5m6.fsf@secure.mitica \
    --to=quintela@redhat.com \
    --cc=berrange@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.