VMware Communities
ramonmedeiros
Contributor
Contributor

Issues on Macbook Air Sierra: Try to run a guest on Fusion, which has a guest (nested virtualization) on KVM

My Setup:
Macbook Air Sierra, 8GB RAM

My Guest:
Fedora 5GB RAM

Fedora's Guest:
Ubuntu 2GB RAM

When i started Ubuntu, got some error:

Soft lockup CPU stuck at ###seconds


What i already did:
Enabled nested virtualization
Appended "vhv.enabled = TRUE"  to vmx

here is my vmx

ramonn@Ramons-MacBook-Air:~$ cat /Volumes/Storage/fedora.vmwarevm/fedora.vmx

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "12"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "4636"

mem.hotadd = "TRUE"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Virtual Disk.vmdk"

ide1:0.present = "TRUE"

ide1:0.autodetect = "TRUE"

ide1:0.deviceType = "cdrom-image"

ide1:0.startConnected = "TRUE"

ethernet0.present = "TRUE"

ethernet0.connectionType = "nat"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "FALSE"

ethernet0.addressType = "generated"

ethernet0.linkStatePropagation.enable = "TRUE"

usb.present = "TRUE"

ehci.present = "TRUE"

ehci.pciSlotNumber = "35"

mks.enable3d = "TRUE"

svga.graphicsMemoryKB = "786432"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

hpet0.present = "TRUE"

usb.vbluetooth.startConnected = "TRUE"

tools.syncTime = "TRUE"

displayName = "fedora"

guestOS = "fedora-64"

nvram = "fedora.nvram"

virtualHW.productCompatibility = "hosted"

tools.upgrade.policy = "upgradeAtPowerCycle"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.suspend = "soft"

powerType.reset = "soft"

extendedConfigFile = "fedora.vmxf"

ide1:0.fileName = "/Volumes/Storage/ISOS/Fedora-Server-dvd-x86_64-25-1.3.iso"

uuid.bios = "56 4d 35 a0 2b 73 b4 61-e8 09 d2 a7 51 3e 06 9e"

uuid.location = "56 4d 35 a0 2b 73 b4 61-e8 09 d2 a7 51 3e 06 9e"

migrate.hostlog = "./fedora-52e02106.hlog"

scsi0:0.redo = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "16"

usb.pciSlotNumber = "32"

ethernet0.pciSlotNumber = "33"

vmci0.pciSlotNumber = "34"

ethernet0.generatedAddress = "00:0c:29:3e:06:9e"

ethernet0.generatedAddressOffset = "0"

vmci0.id = "1363019422"

monitor.phys_bits_used = "42"

vmotion.checkpointFBSize = "4194304"

vmotion.checkpointSVGAPrimarySize = "67108864"

cleanShutdown = "FALSE"

softPowerOff = "FALSE"

svga.guestBackedPrimaryAware = "TRUE"

isolation.tools.hgfs.disable = "TRUE"

hgfs.mapRootShare = "FALSE"

hgfs.linkRootShare = "FALSE"

sharedFolder.maxNum = "0"

checkpoint.vmState = ""

numvcpus = "2"

vpmc.enable = "TRUE"

chipset.useAcpiBattery = "FALSE"

chipset.useApmBattery = "FALSE"

monitor.virtual_mmu = "automatic"

monitor.virtual_exec = "automatic"

numa.autosize.vcpu.maxPerVirtualNode = "2"

numa.autosize.cookie = "20001"

gui.exitOnCLIHLT = "TRUE"

isolation.tools.copy.disable = "TRUE"

isolation.tools.paste.disable = "TRUE"

isolation.tools.dnd.disable = "TRUE"

ehci:0.deviceType = "video"

ehci:0.port = "0"

ehci:0.parent = "-1"

usb:1.present = "TRUE"

usb:1.speed = "2"

usb:1.deviceType = "hub"

usb:1.port = "1"

usb:1.parent = "-1"

acpi.smbiosVersion2.7 = "FALSE"

vhv.enable = "TRUE"

sound.present = "FALSE"

serial0.present = "FALSE"

floppy0.present = "FALSE"

sharedFolder0.present = "FALSE"

usb:0.present = "TRUE"

usb:0.deviceType = "hid"

usb:0.port = "0"

usb:0.parent = "-1"

0 Kudos
6 Replies
Mikero
Community Manager
Community Manager

Did you go into the VM's settings > Processors and Memory > Advanced > and click 'Enable Hypervisor Applications in this virtual machine' ?

-
Michael Roy - Product Marketing Engineer: VCF
0 Kudos
ramonmedeiros
Contributor
Contributor

Yep, also enable profiling.

I am able to probe kvm_intel inside my guest. Also, can start my KVM guest but can't install due messages of soft lockup

0 Kudos
Mikero
Community Manager
Community Manager

Does the issue persist with other installations or distro's?

-
Michael Roy - Product Marketing Engineer: VCF
0 Kudos
ramonmedeiros
Contributor
Contributor

Tried with Ubuntu and fedora.

Same behaviour

0 Kudos
Mikero
Community Manager
Community Manager

Weird... Could you gather a support bundle and share?

Help > Collect Support Information

-
Michael Roy - Product Marketing Engineer: VCF
0 Kudos
ramonmedeiros
Contributor
Contributor

I  can't send the log now.

Being the trail version. Can be a issue?

0 Kudos