mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
af0144e51b
We need to download a base image anyway, so we might as well make that a full prebuilt of our VM image. This makes the initial startup of ./tools/aarch64vm significantly faster. It also makes it easier to add the prebuilt into a Docker dev container later. Also move the VM data into the cargo target dir so we do not dirty the src dir. A Makefile for building and uploading the prebuilt has been added. This change also moved the testvm code from ./tools/testvm into ./tools/impl so the python code can be shared with future scripts (relative imports from other folders are tricky in Python). BUG=b:199951064 TEST=./tools/aarch64vm ssh Change-Id: I3fb57bfb8f7330b765e9be5ded821615ecddd841 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3221704 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2 lines
76 B
Bash
Executable file
2 lines
76 B
Bash
Executable file
#!/usr/bin/env bash
|
|
python3 $(dirname $0)/impl/testvm.py --arch=x86_64 "$@"
|