Open aandryashin opened 6 years ago
Thanks for the report. I can recreate the issue. On my MacOS system (quite outdated: El Capitan, Fusion 7.1.3, Fedora 28) "pmu=off" solves the issue. Is "disable-modern=on" on virtio devices really necessary?
I am not sure about all virtio devices, may be it is necessary only for root_fs, without that option 9p filesystem cannot be mounted and just hangs.
The branch nestedvm contains a new runtime configuration option --nestedvm
for testing. It adds the extra qemu command line parameters.
The "--nestedvm" option (now in master) also works for Vmware ESXi guests. Setup instructions can be found here: https://communities.vmware.com/docs/DOC-8970
Brief description It is not possible to use runq docker runtime in nested virtual machine with vmx enabled.
Steps to reproduce the issue Run nested VM with runq docker runtime enabled and try to run any container.
Expected behaviour
Actual behaviour
Content of section
runtimes
of/etc/docker/daemon.json
Content of
/var/lib/runq/qemu/proxy --version
Content of
docker --version
Additional information There was the same issue in Clear Containers: https://github.com/intel/cc-oci-runtime/issues/1053 that was fixed by this commit: https://github.com/containers/virtcontainers/commit/dd13e0b7e0a4957a6b8e982356e0cb4bc227e391#diff-82527fac73a6f9f5442c1db98ce1784aR589
I can confirm that the issue is disappeared when I used
"-cpu", "host,pmu=off"
option and addeddisable-modern=true
to virtio devices.