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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 12 00:03:19 UTC 2016


            Bug ID: 214432
           Summary: bhyve VM exiting: reason VMX / exit_reason 2
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: alex.deiter at gmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Host OS: FreeBSD 12.0-CURRENT r308465 amd64
Guest OS: SmartOS joyent_20161110T013148Z

installed packages: 
grub2-bhyve-0.40               Grub-emu loader for bhyve

Steps for reproducing:

1. Create device.map file:
# cat device.map 
(cd0) /test/smartos-latest.iso

2. Create grub.cfg:
# cat grub.cfg file:
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

3. Load VM kernel and rootfs ramdisk:
# grub-bhyve -m device.map -r cd0 -M 4096M test < grub.cfg

4. Try to start VM:
# 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)

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list