On 02/16/2018 02:23 PM, Colin Walters wrote:
Hi,
In working on our CI (and just locally in containers in general), I
find https://github.com/stefwalter/oci-kvm-hook to be very, very
useful. Yes, there are other ways one can do it; see the thread in
https://github.com/stefwalter/oci-kvm-hook/issues/5
I propose moving it into our organization to raise its visibility and
have it not be "owned" by one person in general.
Any thoughts/objections? (Or other ways people do qemu-in-containers?)
Does this actually work? I would figure the device cgroup would prevent
use of the kvm device inside a container unless you also modified the
cgroup?
podman run --device /dev/kvm
...
Will also add the device.
And for those stuck in the past :^)
docker run --device /dev/kvm