qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements
@ 2018-08-03  8:52 Peter Maydell
  2018-08-03  8:52 ` [Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host Peter Maydell
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Peter Maydell @ 2018-08-03  8:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: patches, Alex Bennée, Fam Zheng, Philippe Mathieu-Daudé

The setup I had for my BSD VMs broke today, so I thought I'd
have a look at using the tests/vm/ support for building QEMU
inside BSD VMs rather than re-rolling my own. This patchset
fixes some rough edges I ran into along the way:
 * fixes support for non-KVM accelerators
 * propagates J=n setting into 'make check' in the VM
 * propagates V=1 setting into 'make' and 'make check' in the VM
 * uses --output-sync so that J=n settings don't mangle output
 * bumps the RAM settings so J=n doesn't cause the guest to
   run out of memory and kill the compiler

Ideally I'd like to be able to separately invoke commands
for "build in VM" and "run make check in VM for that build"; for
instance I only want V=1 on the make-check, not the make, and in
some cases might want to do a build but not check, and so on.
But that seemed too complicated for the moment.

Is it possible for the VMs to be persistent? Currently it
looks like they throw away their contents and start afresh
for every invocation. Doing build tests as incremental is
faster than doing every one as a from-clean...

Also, I notice that the OpenBSD VM setup is using SDL 1.2,
which means that configure complains and suggests switching
to SDL 2.0. How do we update the base image?

thanks
-- PMM

Peter Maydell (5):
  tests/vm: Use -cpu max rather than -cpu host
  tests/vm: Pass the jobs parallelism setting to 'make check'
  tests/vm: Propagate V=1 down into the make inside the VM
  tests/vm: Bump guest RAM up from 2G to 4G
  tests/vm: Use make's --output-sync option

 tests/vm/Makefile.include | 1 +
 docs/devel/testing.rst    | 1 +
 tests/vm/basevm.py        | 9 ++++++---
 tests/vm/freebsd          | 4 ++--
 tests/vm/netbsd           | 4 ++--
 tests/vm/openbsd          | 4 ++--
 tests/vm/ubuntu.i386      | 4 ++--
 7 files changed, 16 insertions(+), 11 deletions(-)

-- 
2.17.1

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03  8:52 [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements Peter Maydell
2018-08-03  8:52 ` [Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host Peter Maydell
2018-08-03  8:52 ` [Qemu-devel] [PATCH 2/5] tests/vm: Pass the jobs parallelism setting to 'make check' Peter Maydell
2018-08-03  8:52 ` [Qemu-devel] [PATCH 3/5] tests/vm: Propagate V=1 down into the make inside the VM Peter Maydell
2018-08-03  8:52 ` [Qemu-devel] [PATCH 4/5] tests/vm: Bump guest RAM up from 2G to 4G Peter Maydell
2018-08-03  8:52 ` [Qemu-devel] [PATCH 5/5] tests/vm: Use make's --output-sync option Peter Maydell
2018-08-03  9:29 ` [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements Fam Zheng
2018-08-03 10:45 ` Fam Zheng

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