diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-01-08 14:27:47 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-01-08 15:15:50 +0100 |
commit | 34c6269457b8075f2951c37ca2a1901bd71379ea (patch) | |
tree | f4a3e0c06cc3c1860eeba91d291d0f89b9b4b102 /lavalab-gen.py | |
parent | b2de2b9347e0e7f31be336d865263524c86c71b3 (diff) |
qemu: Some arch does not have kvm
Since some arch does not have kvm, remove kvm usage for qemu.
We will reintroduce it later via a flag/autodetect.
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-x | lavalab-gen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index a584a1f..64a4b0b 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -78,6 +78,9 @@ def main(args): if not os.path.isdir("lava-slave/conmux/"): os.mkdir("lava-slave/conmux/") + # board specific hacks + if devicetype == "qemu": + device_line += "{% set no_kvm = True %}\n" if not os.path.isdir("lava-master/devices/"): os.mkdir("lava-master/devices/") device_path = "lava-master/devices/%s" % lab_name |