All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 00/10] Don't check disabled drivers
@ 2018-08-22  9:54 Juan Quintela
  2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 01/10] configure: We don't want to clean configuration files Juan Quintela
                   ` (9 more replies)
  0 siblings, 10 replies; 42+ messages in thread
From: Juan Quintela @ 2018-08-22  9:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx

Hi

In this v3 series:
- Redo the make clean removal of config-devices.mak

- Remove the CONFIG_SERIAL bits, real solution require more thought (I
  tried to run boot-serial-test on all the architectures with serial
  and it was not good).  Too many coments, will try to do some cleanup
  first.

- isa-testdev: I think that one is ok now
- remove x86_64-softmmu instead of i386-softmmu, consistence is great.
- ivshm: it is trivial
- endiannes: I think now it is correct

- xhci-nec: Now also check for ppc64.  I was tying to test xhci (and
  the other hcds) all architectures.  Let's say that it was not pretty
  either.

This are the patches that I think that are ready to go, please review.

Later, Juan

[v2]
this are the patches from v1 that have been reviewed.  Minor changes
in spelled done.  I expect to move those for 3.1.  I will post the
changes and additons on top of this one.

Complain now, or I will send the pull once 3.1 opens.

ToDo:
- I am working on virtio-pci being split
- I plan to integrate virtio-ccw split from Thomas
- I started trying to "untangle" q35 and piix, but it is really deppe
  tangled.

Should I sent the pull request directly, or go through maintainers?

Thanks, Juan.


[v2]
We can disable drivers with "<foo>-softmmu/config-devices.mak".  But
if we remove drivers there and do "make check", we still try to test
that devices (that are compiled in).  This is a list with the removal
of the ovbious ones.

While I was doing this I fonund:
- we remove <foo>-softmmu/config-devices.mak when we do make clean
  That is an "user" configuration file, we shouldn't do that.
- Use land/lor for consistence
- CONFIG_SERIAL was defined twice for all configurations that include
  pci.mak, fix it.
- pvpanic: We can do the same tricks that everywhere to be able to
  compile it out.

To do a better job, we are in trouble because we only have
"config-devices.mak", but not config-devices.h, so we can't disable
part of the tests/files when we don't want them.  Bigger culprits here
are usb and virtio devices, basically all of them depend of the others
one way or another.

Motivation:

- I compile *lots* of times a day, so it is great to be able to
  compile less devices, it takes less time.
- But if I want to do make check, I need to compile basically a full
  configuration for that platform, so we are at square one.

There are still things that still take too long:
- e1000*/virtio-net pxe test.  It takes more than one second for each,
  and we have e1000/virtio-net/e1000p/virtio-net(again).
- qom tests.  We check _all_ machine types here.  In fast mode, IMHO
  we would only want something like pc-3.0 and q35-30 in fast mode
  (in slow mode everything is ok).
- migration tests: yes, they also took around 5-6 seconds in total,
  and we are adding new tests.  Something needs to be done here.

Time to do "make check" on my laptop (reasonably fast laptop from this
Jannuary) is almost 3mins.  This makes it too long to run continously
for testing that I haven't broken anything.

In another submission I wil send some examples on "how" to disable
other drivers that we can't do now.  But it requires that we generate
config-devices.h to be able to apply them (or yet more complicated
things of registration, see how virtio devices needs to be disabled)

Please review, Juan.


Juan Quintela (10):
  configure: We don't want to clean configuration files
  check: Use land/lor when possible
  check: Only test isa-testdev when it is compiled in
  check: Only test usb-xhci-nec when it is compiled in
  x86_64-softmmu: Configuration is identical to i386-softmmu
  check: Only test ivshm when it is compiled in
  check: Only test boot-serial when sga is compiled in
  check: Move VMXNET3 test to common
  check: Move endianess test to common
  check: Move wdt_ib700 test to common

 Makefile                           |  3 +-
 default-configs/x86_64-softmmu.mak | 67 +-----------------------------
 tests/Makefile.include             | 51 ++++++++---------------
 3 files changed, 21 insertions(+), 100 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-08-28 10:43 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-22  9:54 [Qemu-devel] [PATCH v3 00/10] Don't check disabled drivers Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 01/10] configure: We don't want to clean configuration files Juan Quintela
2018-08-22 10:08   ` Thomas Huth
2018-08-22 14:24     ` Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 02/10] check: Use land/lor when possible Juan Quintela
2018-08-22 10:13   ` Thomas Huth
2018-08-22 14:28     ` Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 03/10] check: Only test isa-testdev when it is compiled in Juan Quintela
2018-08-22 10:18   ` Thomas Huth
2018-08-22 14:30     ` Juan Quintela
2018-08-22 16:34     ` Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 04/10] check: Only test usb-xhci-nec " Juan Quintela
2018-08-22 10:22   ` Thomas Huth
2018-08-22 14:32     ` Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 05/10] x86_64-softmmu: Configuration is identical to i386-softmmu Juan Quintela
2018-08-22 10:23   ` Thomas Huth
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 06/10] check: Only test ivshm when it is compiled in Juan Quintela
2018-08-22 10:26   ` Thomas Huth
2018-08-22 14:36     ` Juan Quintela
2018-08-22 14:43       ` Thomas Huth
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga " Juan Quintela
2018-08-22 10:30   ` Thomas Huth
2018-08-22 14:37     ` Juan Quintela
2018-08-23  7:43       ` Gerd Hoffmann
2018-08-23  8:05         ` Thomas Huth
2018-08-23  9:48           ` Gerd Hoffmann
2018-08-23  9:53             ` Daniel P. Berrangé
2018-08-23 10:27               ` Gerd Hoffmann
2018-08-23 11:06               ` Juan Quintela
2018-08-27 10:53               ` Gerd Hoffmann
2018-08-28  8:19                 ` Daniel P. Berrangé
2018-08-28 10:20                   ` Gerd Hoffmann
2018-08-28 10:31                     ` Daniel P. Berrangé
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 08/10] check: Move VMXNET3 test to common Juan Quintela
2018-08-22 10:34   ` Thomas Huth
2018-08-22 10:41     ` Juan Quintela
2018-08-22 10:43       ` Thomas Huth
2018-08-22 14:39         ` Juan Quintela
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 09/10] check: Move endianess " Juan Quintela
2018-08-22 10:36   ` Thomas Huth
2018-08-22  9:54 ` [Qemu-devel] [PATCH v3 10/10] check: Move wdt_ib700 " Juan Quintela
2018-08-22 10:37   ` Thomas Huth

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.