Page MenuHomeFreeBSD

UEFI support in vmrun.sh
ClosedPublic

Authored by lattera-gmail.com on Apr 12 2017, 11:53 PM.

Details

Summary

This patch adds UEFI support in vmrun.sh/usr/share/examples/bhyve/vmrun.sh -E

Test Plan

pkg install uefi-edk2-bhyve tigervnc

Run vmrun.sh as you normally would, but pass in the -E option, which will cause bhyve to create a framebuffer, listening on 127.0.0.1:5900. You can use vncviewer from the tigervnc package to connect to the framebuffer.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

allanjude added inline comments.
share/examples/bhyve/vmrun.sh
54 ↗(On Diff #27391)

lets keep -h, and use -L to control the IP we listen on.

223 ↗(On Diff #27391)

add a helpful message telling them the name of the pkg to install?

lattera-gmail.com edited the summary of this revision. (Show Details)

Update to address Allan's comments.

lattera-gmail.com marked 2 inline comments as done.Apr 13 2017, 12:01 AM
allanjude accepted this revision.Apr 13 2017, 12:02 AM
allanjude added inline comments.
share/examples/bhyve/vmrun.sh
49 ↗(On Diff #27392)

you forgot to re-add -h here, but I'll fix that before I commit it

This revision is now accepted and ready to land.Apr 13 2017, 12:02 AM
This revision was automatically updated to reflect the committed changes.