summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 08dc306921..5170d87570 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -536,6 +536,7 @@ class BaseConfig(object):
def check_and_set(self):
"""Check configs sanity and set when needed"""
+ self.validate_paths()
check_tun()
# Check audio
if self.audio_enabled:
@@ -598,6 +599,8 @@ class BaseConfig(object):
k_upper = k.upper()
self.set(k_upper, v)
+ def validate_paths(self):
+ """Ensure all relevant path variables are set"""
# When we're started with a *.qemuboot.conf arg assume that image
# artefacts are relative to that file, rather than in whatever
# directory DEPLOY_DIR_IMAGE in the conf file points to.