[Bug 214432] bhyve VM exiting: reason VMX / exit_reason 2

Alex Deiter alex.deiter at gmail.com
Sat Nov 12 00:17:24 UTC 2016


Hello,

I'm trying to start a SmartOS joyent_20161110T013148Z guest VM in bhyve on FreeBSD/amd64 12.0-CURRENT(r308465).

This is what bhyve outputs when the VM starts: 

# cat device.map 
(cd0) /test/smartos-latest.iso

# cat grub.cfg
multiboot /platform/i86pc/kernel/amd64/unix /platform/i86pc/kernel/amd64/unix -B smartos=true,console=ttyb
module /platform/i86pc/amd64/boot_archive /platform/i86pc/amd64/boot_archive type=rootfs name=ramdisk
boot

# grub-bhyve -m device.map -r cd0 -M 4096M test < grub.cfg

# bhyve -m 4096M -s 3,ahci-cd,/test/smartos-latest.iso -s 31,lpc -l com1,/dev/nmdm0A -l com2,/dev/nmdm1A test
vm exit[0]
        reason          VMX
        rip             0x0000000000000225
        inst_length     2
        status          0
        exit_reason     2
        qualification   0x0000000000000000
        inst_type               0
        inst_error              0
Abort (core dumped)


I have no idea what "reason VMX" means or what "exit_reason 2" means.
Is there a way to decode that? 

What kinds of info is required to debug this issue? 

Thank you!

--
Alex Deiter
alex.deiter at gmail.com





More information about the freebsd-virtualization mailing list