From 58836d9db9f7c8f64f9a28c0d7dc7dad8284e3b8 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 13 May 2013 14:19:59 -0700 Subject: [PATCH] qemu: load the kvm module before trying to use it It should be loaded before this, but in some cases it is not for some reason. Signed-off-by: Josh Durgin --- teuthology/task/qemu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/task/qemu.py b/teuthology/task/qemu.py index ed1649aa69cd4..34811a77e8535 100644 --- a/teuthology/task/qemu.py +++ b/teuthology/task/qemu.py @@ -155,7 +155,8 @@ def run_qemu(ctx, config): log_dir = '{tdir}/archive/qemu/{client}'.format(tdir=testdir, client=client) remote.run( args=[ - 'mkdir', log_dir, + 'mkdir', log_dir, run.Raw('&&'), + 'sudo', 'modprobe', 'kvm', ] ) -- 2.39.5