Date: Sun, 19 Aug 2018 10:06:04 -0600 From: Warner Losh <imp@bsdimp.com> To: Joe Maloney <jmaloney@ixsystems.com>, Warner Losh <imp@bsdimp.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: LUA loader: bhyve now doesn't? Message-ID: <CANCZdfr2OQm95AdtuneEpW874AtDEsMW2iSKPVjQimkOH70Hmw@mail.gmail.com> In-Reply-To: <20180819160503.nlns5pz6rnt7afzo@ler-imac.local> References: <20180819152253.bbcrefdvynl7y5ka@ler-imac.local> <CANCZdfqHV7Fy%2BbJAuMv5gfJmPJqh1QmKqjGz-bVH2wh6NyqeVQ@mail.gmail.com> <20180819153526.7ruovrpmdsimkmfj@ler-imac.local> <CAFvkmYPhREMQA41NkazFJWrvfZPqf35HZ6aDUD6ht8i_L7X--A@mail.gmail.com> <20180819160503.nlns5pz6rnt7afzo@ler-imac.local>
index | next in thread | previous in thread | raw e-mail
On Sun, Aug 19, 2018 at 10:05 AM, Larry Rosenman <ler@freebsd.org> wrote: > On Sun, Aug 19, 2018 at 11:54:51AM -0400, Joe Maloney wrote: > > I ran into this as well months ago. To workaround it I extracted > > userboot.so for the VM's, and launched bhyve with the alternate > > userboot.so. You can use a flag as described in the manpage to start > > userboot.so from an alternate location. > > > > https://www.freebsd.org/cgi/man.cgi?query=bhyveload&sektion=8 > > > > Also support was recently added for vm-bhyve to specify alternate > > userboot.so location for one that is compatible with 4th. You just need > to > > extract that somewhere onto the host, and specify it to load when > starting > > the VM. > > > > https://github.com/churchers/vm-bhyve/blob/ > d4532f6da3e155a4430acbb9138e59c0d5abfc39/sample-templates/config.sample > > > > Alternatively you could just use UEFI, or UEFI-CSM firmware. > Ok, so pulling /boot/userboot.so from my non-upgraded 12 system and > putting it in /boot/userboot-4th.so on the host allows the VM's to boot > after changing the config files to point bhyveload_loader to it (yes, > I'm using vm-bhyve). > > This default change is a POLA violation for bhyve/vm-bhyve users. OK. We're on it. Thanks for the heads up. We were unaware of the issue when we flipped the switch. Warnerhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr2OQm95AdtuneEpW874AtDEsMW2iSKPVjQimkOH70Hmw>
