Robert Foley <robert.fo...@linaro.org> writes:
> 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.fo...@linaro.org> > --- > tests/vm/Makefile.include | 2 ++ > tests/vm/basevm.py | 29 +++++++++++++++++- > tests/vm/conf_example_aarch64.yml | 51 +++++++++++++++++++++++++++++++ > tests/vm/conf_example_x86.yml | 50 ++++++++++++++++++++++++++++++ > 4 files changed, 131 insertions(+), 1 deletion(-) > create mode 100644 tests/vm/conf_example_aarch64.yml > create mode 100644 tests/vm/conf_example_x86.yml > > diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include > index 778e506755..e9ed33226d 100644 > --- a/tests/vm/Makefile.include > +++ b/tests/vm/Makefile.include > @@ -35,6 +35,8 @@ vm-help vm-test: > @echo " V=1 - Enable verbose ouput on host > and guest commands" > @echo " QEMU=/path/to/qemu - Change path to QEMU binary" > @echo " QEMU_IMG=/path/to/qemu-img - Change path to qemu-img tool" > + @echo " QEMU_CONFIG=/path/conf.yml - Change path to VM > configuration .yml file." > + @echo " See conf_example_*.yml for > file format details." > > vm-build-all: $(addprefix vm-build-, $(IMAGES)) > > diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py > index 33004934af..f488d4103c 100755 > --- a/tests/vm/basevm.py > +++ b/tests/vm/basevm.py > @@ -32,6 +32,7 @@ import shutil > import multiprocessing > import traceback > from socket_thread import SocketThread > +import yaml So this throws my setup on my Gentoo SynQuacer. Is this meant to be in the standard library or is this a separate dependency? -- Alex Bennée