mbox series

[v5,0/9] tests/vm: Add support for aarch64 VMs

Message ID 20200430155718.212-1-robert.foley@linaro.org (mailing list archive)
Headers show
Series tests/vm: Add support for aarch64 VMs | expand

Message

Robert Foley April 30, 2020, 3:57 p.m. UTC
This is version 5 of the patch series to 
add support for aarch64 VMs in the vm-build infrastructure.
 - Ubuntu 20.04 aarch64 VM
 - CentOS 8 aarch64 VM

v4: https://lists.nongnu.org/archive/html/qemu-devel/2020-03/msg03558.html

Changes in v5
- Updated the Ubuntu aarch64 VM from 18.04 to 20.04.
- Changed the creation of the flash drives to be silent to stdout.
- Changed handling of qemu_args from yaml file to preserve quoted strings.  
  This allows us to put something like this in the yaml as part of the 
  qemu_args, and preserve the quotes: -append "root=/dev/vda1 console=ttyAMA0"
- Fix issue in CentOS aarch64 VM where python was not set up.

Robert Foley (9):
  tests/vm: Add configuration to basevm.py
  tests/vm: Added configuration file support
  tests/vm: add --boot-console switch
  tests/vm: Add ability to select QEMU from current build.
  tests/vm: allow wait_ssh() to specify command
  tests/vm: Added a new script for ubuntu.aarch64.
  tests/vm: Added a new script for centos.aarch64.
  tests/vm: change scripts to use self._config
  tests/vm: Add workaround to consume console

 configure                         |  25 +++
 python/qemu/console_socket.py     | 162 +++++++++++++++++
 python/qemu/machine.py            |  23 ++-
 tests/vm/Makefile.include         |  27 +++
 tests/vm/aarch64vm.py             | 105 +++++++++++
 tests/vm/basevm.py                | 282 ++++++++++++++++++++++++------
 tests/vm/centos-8-aarch64.ks      |  51 ++++++
 tests/vm/centos.aarch64           | 227 ++++++++++++++++++++++++
 tests/vm/conf_example_aarch64.yml |  51 ++++++
 tests/vm/conf_example_x86.yml     |  50 ++++++
 tests/vm/fedora                   |  17 +-
 tests/vm/freebsd                  |  16 +-
 tests/vm/netbsd                   |  19 +-
 tests/vm/openbsd                  |  17 +-
 tests/vm/ubuntu.aarch64           | 117 +++++++++++++
 15 files changed, 1098 insertions(+), 91 deletions(-)
 create mode 100644 python/qemu/console_socket.py
 create mode 100644 tests/vm/aarch64vm.py
 create mode 100644 tests/vm/centos-8-aarch64.ks
 create mode 100755 tests/vm/centos.aarch64
 create mode 100644 tests/vm/conf_example_aarch64.yml
 create mode 100644 tests/vm/conf_example_x86.yml
 create mode 100755 tests/vm/ubuntu.aarch64