Skip to content

tests/vm: Add support for aarch64 VMs

Robert Foley qemu-devel 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest9 patches 1 replyIn review
  2. v812 patches 13 repliesSuperseded
  3. v712 patches 13 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v69 patches4 repliesSuperseded
v59 patches0 repliesSuperseded
v410 patches5 repliesSuperseded
v310 patches3 repliesSuperseded
v214 patches4 repliesSuperseded
v114 patches10 repliesSuperseded

Changes in v9 from the cover letter

- Fixed one bug/typo in configure for efi-aarch64.
- Fixed indentation of efi-aarch64 code in configure.
- Updated file header for ubuntuvm.py
- Few minor changes in ConsoleSocket
- Updated some comments in basevm.py around the call to QEMUMachine regarding drain_console=True.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tests/vm: pass args through to BaseVM's __init__tests/vm/basevm.py+7 -90 replies
2/9tests/vm: Add configuration to basevm.pytests/vm/basevm.py+133 -390 replies
3/9tests/vm: Added configuration file supportconfigure tests/vm/Makefile.include tests/vm/basevm.py +2 more+155 -10 replies
4/9tests/vm: Add common Ubuntu python moduletests/vm/ubuntu.i386 tests/vm/ubuntuvm.py+72 -340 replies
5/9tests/vm: Added a new script for ubuntu.aarch64.configure tests/vm/Makefile.include tests/vm/aarch64vm.py +2 more+217 -00 replies
6/9tests/vm: Added a new script for centos.aarch64.tests/vm/Makefile.include tests/vm/centos-8-aarch64.ks tests/vm/centos.aarch64+280 -10 replies
7/9tests/vm: change scripts to use self._configtests/vm/basevm.py tests/vm/fedora tests/vm/freebsd +2 more+38 -420 replies
8/9python/qemu: Add ConsoleSocket for optional use in QEMUMachinepython/qemu/console_socket.py python/qemu/machine.py+129 -40 replies
9/9tests/vm: Add workaround to consume consoletests/vm/Makefile.include tests/vm/basevm.py+23 -20 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchAlex BennéePhilippe Mathieu-DaudéPeter Puhov
1/9R-b R-b T-b
2/9R-b R-b
3/9R-b R-b
4/9T-b
5/9R-b
6/9R-b R-b
7/9R-b
8/9A-b T-b R-b
9/9A-b R-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 3 reviewers.

Read the v9 thread

Cover letter [PATCH v9 0/9] tests/vm: Add support for aarch64 VMs

This is version 9 of the patch series to
add support for aarch64 VMs in the vm-build infrastructure.
- Ubuntu 18.04 aarch64 VM
- CentOS 8 aarch64 VM

v8: https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg08458.html

Changes in v9:
- Fixed one bug/typo in configure for efi-aarch64.
- Fixed indentation of efi-aarch64 code in configure.
- Updated file header for ubuntuvm.py
- Few minor changes in ConsoleSocket
- Updated some comments in basevm.py around the call to QEMUMachine regarding drain_console=True.

Robert Foley (9):
tests/vm: pass args through to BaseVM's __init__ tests/vm: Add configuration to basevm.py
tests/vm: Added configuration file support
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     | 110 +++++++++++++
 python/qemu/machine.py            |  23 ++-
 tests/vm/Makefile.include         |  22 +++
 tests/vm/aarch64vm.py             | 106 +++++++++++++
 tests/vm/basevm.py                | 256 ++++++++++++++++++++++++------
 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              |  60 +++++++
 17 files changed, 1045 insertions(+), 123 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
Signature · 1 line
2.17.1