Hi 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 (18): check: Only test vmxnet3 when it is compiled in check: Only test ne2000 when it is compiled in check: Only test eepro100 when it is compiled in check: Only test pcnet when it is compiled in check: Only test rtl8139 when it is compiled in check: Only test es1370 when it is compiled in check: Only test ac97 when it is compiled in check: Only test hda when it is compiled in check: Only test ipack when it is compiled in check: Only test ioh3420 when it is compiled in check: Only test i82801b11 when it is compiled in check: Only test sdhci when it is compiled in check: Only test wdt_ib700 when it is compiled in check: Only test pvpanic when it is compiled in check: Only test nvme when it is compiled in check: Only test usb-ohci when it is compiled in check: Only test usb-uhci devices when they are compiled in check: Only test usb-ehci when it is compiled in hw/misc/pvpanic.c | 11 ----- include/hw/misc/pvpanic.h | 11 ++++- tests/Makefile.include | 92 ++++++++++++++++++++------------------- 3 files changed, 57 insertions(+), 57 deletions(-) -- 2.17.1