This is version 3 of the patch series to add support for aarch64 VMs in the vm-build infrastructure. - Ubuntu 18.04 aarch64 VM - CentOS 8 aarch64 VM
V2: https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg05310.html Changes in V3. - Most changes were around checking for dependencies needed for the aarch64 VMs (qemu-efi-aarch64) and for the python3-yaml package. - Added checks to configure for dependencies of aarch64 VMs as well as the python3-yaml dependency. - Also added checks in tests/vm/Makefile.include to check for dependencies and output the appropriate text for vm-help. - Moved the workaround for consuming the console to the end of the patch. - Added patch to validate the target of vm-build operations. Robert Foley (10): tests/vm: Add validation of target to Makefile.include 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 | 12 +- tests/vm/Makefile.include | 43 ++++- tests/vm/aarch64vm.py | 100 ++++++++++++ tests/vm/basevm.py | 252 ++++++++++++++++++++++++------ tests/vm/centos-8-aarch64.ks | 51 ++++++ tests/vm/centos.aarch64 | 226 +++++++++++++++++++++++++++ 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, 1075 insertions(+), 83 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 -- 2.17.1
