Skip to content

tests/vm: serial console autoinstall, misc fixes.

Gerd Hoffmann qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 17 repliesIn review
  2. v314 patches 28 repliesSuperseded
  3. v213 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches20 repliesSuperseded

Changes in v4 from the cover letter

- rebase, drop patches merged.
- use in-tree seabios binary, for serial console support.
- some minor tweaks.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tests/vm: send proxy environment variables over sshtests/vm/basevm.py+9 -00 replies
2/11tests/vm: use ssh with pty unconditionallytests/vm/basevm.py+4 -91 reply
3/11tests/vm: run test builds on snapshottests/vm/Makefile.include+1 -01 reply
4/11tests/vm: proper guest shutdowntests/vm/basevm.py+15 -71 reply
5/11tests/vm: add vm-boot-{ssh, serial}-<guest> targetstests/vm/Makefile.include+19 -01 reply
6/11tests/vm: serial console support helperstests/vm/basevm.py+83 -31 reply
7/11tests/vm: openbsd autoinstall, using serial consoletests/vm/openbsd+146 -131 reply
8/11tests/vm: freebsd autoinstall, using serial consoletests/vm/freebsd+170 -100 replies
9/11tests/vm: netbsd autoinstall, using serial consoletests/vm/netbsd+177 -108 replies
10/11tests/vm: fedora autoinstall, using serial consoletests/vm/Makefile.include tests/vm/basevm.py tests/vm/fedora+199 -21 reply
11/11tests/vm: ubuntu.i386: apt proxy setuptests/vm/ubuntu.i386+4 -00 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéThomas HuthKamil RytarowskiEd Maste
1/11R-b T-b
2/11R-b T-b T-b
3/11R-b T-b T-b A-b
4/11R-b T-b T-b
5/11R-b T-b T-b
6/11R-b T-b T-b
7/11R-b T-b
8/11R-b T-b T-b
9/11R-b T-b T-b R-b
10/11R-b T-b T-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 00/11] tests/vm: serial console autoinstall, misc fixes.

This patch series changes the way virtual machines for test builds are managed. They are created locally on the developer machine now. The installer is booted on the serial console and the scripts walks through the dialogs to install and configure the guest.

That takes the download.patchew.org server out of the loop and makes it alot easier to tweak the guest images (adding build dependencies for example).

The install scripts take care to apply host proxy settings (from *_proxy environment variables) to the guest, so any package downloads will be routed through the proxy and can be cached that way. This also makes them work behind strict firewalls.

There are also a bunch of smaller tweaks for tests/vm to fix issues I was struggling with. See commit messages of individual patches for details.

v4:
- rebase, drop patches merged.
- use in-tree seabios binary, for serial console support.
- some minor tweaks.
v3:
- python3 fixes.
- openbsd: configure memory limits.
- freebsd: configure autoboot delay.

Gerd Hoffmann (11):
tests/vm: send proxy environment variables over ssh tests/vm: use ssh with pty unconditionally tests/vm: run test builds on snapshot tests/vm: proper guest shutdown
tests/vm: add vm-boot-{ssh,serial}-<guest> targets tests/vm: serial console support helpers tests/vm: openbsd autoinstall, using serial console tests/vm: freebsd autoinstall, using serial console tests/vm: netbsd autoinstall, using serial console tests/vm: fedora autoinstall, using serial console tests/vm: ubuntu.i386: apt proxy setup

 tests/vm/basevm.py        | 135 +++++++++++++++++++++++----
 tests/vm/Makefile.include |  23 ++++-
 tests/vm/fedora           | 189 ++++++++++++++++++++++++++++++++++++++
 tests/vm/freebsd          | 180 ++++++++++++++++++++++++++++++++++--
 tests/vm/netbsd           | 187 +++++++++++++++++++++++++++++++++++--
 tests/vm/openbsd          | 159 +++++++++++++++++++++++++++++---
 tests/vm/ubuntu.i386      |   4 +
 7 files changed, 825 insertions(+), 52 deletions(-)
 create mode 100755 tests/vm/fedora
Signature · 1 line
2.18.1