From: Josh Durgin Date: Mon, 13 May 2013 21:19:59 +0000 (-0700) Subject: qemu: load the kvm module before trying to use it X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7d333769917eef81e65fceb193046223ff698945;p=teuthology.git 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 (cherry picked from commit 58836d9db9f7c8f64f9a28c0d7dc7dad8284e3b8) --- diff --git a/teuthology/task/qemu.py b/teuthology/task/qemu.py index ed1649aa6..34811a77e 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', ] )