tests/vm: Added configuration file support
commit3f1e8137f29b824c69d316143cc873c2239ecaed
authorRobert Foley <robert.foley@linaro.org>
Wed, 1 Jul 2020 13:56:19 +0000 (1 14:56 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:52:59 +0000 (11 15:52 +0100)
treecab66662a00e14201c575de17aa505232f5c449f
parent5d676197ebe9bfe0ecc466c5375bcdbc7a7e48f5
tests/vm: Added configuration file support

Changes to tests/vm/basevm.py to allow accepting a configuration file
as a parameter. Allows for specifying VM options such as
cpu, machine, memory, and arbitrary qemu arguments for specifying options
such as NUMA configuration.
Also added an example conf_example_aarch64.yml and conf_example_x86.yml.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Peter Puhov <peter.puhov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200601211421.1277-4-robert.foley@linaro.org>
Message-Id: <20200701135652.1366-8-alex.bennee@linaro.org>
configure
tests/vm/Makefile.include
tests/vm/basevm.py
tests/vm/conf_example_aarch64.yml [new file with mode: 0644]
tests/vm/conf_example_x86.yml [new file with mode: 0644]