From 29eadc7b92bef861bf699822b751520ba2764253 Mon Sep 17 00:00:00 2001 From: Antoine Date: Sun, 26 Jul 2020 18:17:46 +0200 Subject: [PATCH] add readme and enable nested virtualization with modprode into libvirtd entrypoint --- libvirtd.sh | 2 ++ readme.md | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 readme.md diff --git a/libvirtd.sh b/libvirtd.sh index c29fffa..836cf35 100644 --- a/libvirtd.sh +++ b/libvirtd.sh @@ -31,6 +31,8 @@ mkdir /sys.devices.container && { # load modules modprobe ip6_tables -d /host +# enable nested virtualzation +modprobe kvm_intel nested=1 -d /host # If no cpuacct,cpu is present, symlink it to cpu,cpuacct # Otherwise libvirt and our emulator get confused diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..bf93cc7 --- /dev/null +++ b/readme.md @@ -0,0 +1,4 @@ + +# docker-kvm-qemu-libvirt + +docker container for libvirtd deployment