From 9fbdf1353e4eda9c96e798bd934c7491c1d807f7 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 23 Feb 2018 15:16:51 +0000 Subject: [PATCH] testrunner: pass through /dev/kvm to containers For reasons I can't quite figure out, `oci-kvm-hook` doesn't work on F25 (though it does on F27). The nodes are currently stuck at F25 because of severe issues with `docker cp` in newer version (rhbz#1489505). So let's just explicitly pass /dev/kvm into the container, which is all `oci-kvm-hook` is trying to do anyway. I've verified this works. This will unblock https://github.com/ostreedev/ostree/pull/1462. --- papr/testrunner | 1 + 1 file changed, 1 insertion(+) diff --git a/papr/testrunner b/papr/testrunner index e2df1f4..e6aaaff 100755 --- a/papr/testrunner +++ b/papr/testrunner @@ -74,6 +74,7 @@ provision_container() { fi sudo docker run --name $name -d \ + --device /dev/kvm \ --cidfile $state/cid \ "$image" sleep infinity