This is version 8 of the patch series to add support for aarch64 VMs in the vm-build infrastructure. - Ubuntu 18.04 aarch64 VM - CentOS 8 aarch64 VM
v7: https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg05286.html Changes in v8: - Added Ubuntu common module in tests/vm. - Changed ubuntu.i386 and ubuntu.aarch64 to use new common module. - Split out ConsoleSocket addition (python/qemu) to separate patch from changes to use it in tests/vm. - Adjustments in configure when checking for aarch64 efi images. - Remove use of QEMU_LOCAL in basevm.py. We will use the presence of the --build-path argument instead. Robert Foley (12): tests/vm: pass args through to BaseVM's __init__ tests/vm: Add configuration to basevm.py tests/vm: Added configuration file support tests/vm: Pass --debug through for vm-boot-ssh. tests/vm: Add ability to select QEMU from current build. tests/vm: allow wait_ssh() to specify command tests/vm: Add common Ubuntu python module 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 python/qemu: Add ConsoleSocket for optional use in QEMUMachine tests/vm: Add workaround to consume console configure | 29 +++ python/qemu/console_socket.py | 118 +++++++++++++ python/qemu/machine.py | 23 ++- tests/vm/Makefile.include | 27 +++ tests/vm/aarch64vm.py | 106 +++++++++++ tests/vm/basevm.py | 284 +++++++++++++++++++++++------- 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 | 68 +++++++ tests/vm/ubuntu.i386 | 46 ++--- tests/vm/ubuntuvm.py | 58 ++++++ 17 files changed, 1077 insertions(+), 130 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 create mode 100644 tests/vm/ubuntuvm.py -- 2.17.1