tests/vm: Add configuration to basevm.py
commit5d676197ebe9bfe0ecc466c5375bcdbc7a7e48f5
authorRobert Foley <robert.foley@linaro.org>
Wed, 1 Jul 2020 13:56:18 +0000 (1 14:56 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:52:59 +0000 (11 15:52 +0100)
treeec7e307e723f5caac7da1cd6964944550a91031e
parent1f335d18e57ba9494e09184008ce7eccfd6755c9
tests/vm: Add configuration to basevm.py

Added use of a configuration to tests/vm/basevm.py.
The configuration provides parameters used to configure a VM.
This allows for providing alternate configurations to the VM being
created/launched. cpu, machine, memory, and NUMA configuration are all
examples of configuration which we might want to vary on the VM being created
or launched.
This will for example allow for creating an aarch64 vm.

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-3-robert.foley@linaro.org>
Message-Id: <20200701135652.1366-7-alex.bennee@linaro.org>
tests/vm/basevm.py