Originally created by @catthehacker on GitHub (Mar 18, 2021).
Not sure whether this is bug or feature request but I'm trying to run virtualbox/docker inside the osx "container" but it fails on virtualisation check.
My L0 (debian) has enabled kvm_amdnested option, so does L1 (arch). Based on https://github.com/kholia/OSX-KVM/blob/master/notes.md I tried to add virtualisation flags and built the image but it doesn't seem to work.
Your QEMU version seems a bit low, I haven't tried nested virt inside Mac though, other than Xcode simulator
@sickcodes commented on GitHub (Mar 18, 2021):
Your QEMU version seems a bit low, I haven't tried nested virt inside Mac though, other than Xcode simulator
Right, I did forgot to use buster-backports to get latest qemu (and even then qemu-system-x86 was held back by apt, don't know why) but that didn't changed much. I guess I will tinker with it for a while and try to get it working.
updated info
Linux aegean 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux
1
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_CODENAME=buster
Filesystem Size Used Avail Use% Mounted on
/dev/md2 437G 276G 139G 67% /
QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-3~bpo10+1)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 5.0.0
total used free shared buff/cache available
Mem: 62Gi 9.0Gi 13Gi 9.0Mi 40Gi 53Gi
Swap: 31Gi 0B 31Gi
12
12
crw-rw---- 1 root kvm 10, 232 Mar 18 14:55 /dev/kvm
total 40K
drwxrwxrwt 2 root root 4.0K Mar 18 14:50 .
drwxrwxrwt 14 root root 32K Mar 18 14:57 ..
root 1151 0.1 0.1 3169776 118260 ? Ssl 14:51 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
cat 12952 0.0 0.0 6552 820 pts/4 S+ 15:01 0:00 grep dockerd
efd71b14bf62 sickcodes/docker-osx:auto "/bin/bash -c 'echo …" 7 minutes ago Up 7 minutes 0.0.0.0:50922->10022/tcp upbeat_kalam
kvm:x:106:
docker:x:998:cat
libvirt:x:116:
libvirt-qemu:x:64055:libvirt-qemu
@catthehacker commented on GitHub (Mar 18, 2021):
Right, I did forgot to use `buster-backports` to get latest `qemu` (and even then `qemu-system-x86` was held back by `apt`, don't know why) but that didn't changed much. I guess I will tinker with it for a while and try to get it working.
<details>
<summary>updated info</summary>
```
Linux aegean 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux
1
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_CODENAME=buster
Filesystem Size Used Avail Use% Mounted on
/dev/md2 437G 276G 139G 67% /
QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-3~bpo10+1)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 5.0.0
total used free shared buff/cache available
Mem: 62Gi 9.0Gi 13Gi 9.0Mi 40Gi 53Gi
Swap: 31Gi 0B 31Gi
12
12
crw-rw---- 1 root kvm 10, 232 Mar 18 14:55 /dev/kvm
total 40K
drwxrwxrwt 2 root root 4.0K Mar 18 14:50 .
drwxrwxrwt 14 root root 32K Mar 18 14:57 ..
root 1151 0.1 0.1 3169776 118260 ? Ssl 14:51 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
cat 12952 0.0 0.0 6552 820 pts/4 S+ 15:01 0:00 grep dockerd
efd71b14bf62 sickcodes/docker-osx:auto "/bin/bash -c 'echo …" 7 minutes ago Up 7 minutes 0.0.0.0:50922->10022/tcp upbeat_kalam
kvm:x:106:
docker:x:998:cat
libvirt:x:116:
libvirt-qemu:x:64055:libvirt-qemu
```
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @catthehacker on GitHub (Mar 18, 2021).
Not sure whether this is bug or feature request but I'm trying to run virtualbox/docker inside the osx "container" but it fails on virtualisation check.
My L0 (debian) has enabled
kvm_amdnestedoption, so does L1 (arch). Based on https://github.com/kholia/OSX-KVM/blob/master/notes.md I tried to add virtualisation flags and built the image but it doesn't seem to work.@sickcodes commented on GitHub (Mar 18, 2021):
Your QEMU version seems a bit low, I haven't tried nested virt inside Mac though, other than Xcode simulator
@catthehacker commented on GitHub (Mar 18, 2021):
Right, I did forgot to use
buster-backportsto get latestqemu(and even thenqemu-system-x86was held back byapt, don't know why) but that didn't changed much. I guess I will tinker with it for a while and try to get it working.updated info
@sickcodes commented on GitHub (Mar 19, 2021):
I'm excited to see once it works!
@catthehacker commented on GitHub (Apr 23, 2021):
That's a nope unless Apple will adds support for AMD CPUs.