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.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to
"freebsd-virtualization-unsubscr...@freebsd.org"