Date: Fri, 11 Nov 2016 16:28:02 -0800 From: grehan@freebsd.org To: Alex Deiter <alex.deiter@gmail.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: [Bug 214432] bhyve VM exiting: reason VMX / =?UTF-8?Q?exit=5Freason=20=32?= Message-ID: <797f78046e400db482df45e13073b229@ptree32.com.au> In-Reply-To: <530F83B0-DC83-423C-9B3F-EB930FC27F3C@gmail.com> References: <530F83B0-DC83-423C-9B3F-EB930FC27F3C@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alex,
> I'm trying to start a SmartOS joyent_20161110T013148Z guest VM in
> bhyve on FreeBSD/amd64 12.0-CURRENT(r308465).
...
> # 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
The SmartOS kernel issues BIOS calls while running. You will need to
boot it with a UEFI/CSM image that provides a BIOS interface -
grub-bhyve only does image placement, so a BIOS call from a guest will
eventually result in a triple-fault (exit code 2, from the Intel SDM
Vol3 Appendix C. Yes, a bit cryptic, and should at least be a text
message).
Instructions for booting SmartOS are at:
https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-October/003833.html
though, I'd add another line to that
-s 0,hostbridge \
.. which allows recent SmartOS versions to use MSI interrupts for
virtio devices.
later,
Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?797f78046e400db482df45e13073b229>
