Date: Mon, 13 Feb 2017 15:47:34 -0800 From: Anish Gupta <akgupt3@gmail.com> To: "C. L. Martinez" <carlopmart@gmail.com>, freebsd-virtualization@freebsd.org Subject: Re: Installing Freebsd guests under bhyve without using scripts Message-ID: <e4cedb16-d569-ba1c-7875-76fefc8e7ab8@gmail.com> In-Reply-To: <CAEjQA5K0U2pcZ5jRtMBhDrqhe8daYDVDz7g54kTd5RVt4yOnLw@mail.gmail.com> References: <CAEjQA5K0U2pcZ5jRtMBhDrqhe8daYDVDz7g54kTd5RVt4yOnLw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes, you need bhyveload to load guest OS, setup hypervisor
nested{EPT/NPT] page table etc, see vmrun.sh
${LOADER} -c ${console} -m ${memsize} -d ${BOOTDISK} ${loader_opt} \
${vmname}
LOADER=bhyveload
and then use 'bhyve' to start and run guest/VM.
${FBSDRUN} -c ${cpus} -m ${memsize} ${apic_opt} -A -H -P \
-g ${gdbport} \
-s 0:0,hostbridge \
-s 1:0,lpc \
${devargs} \
-l com1,${console} \
${installer_opt} \
${vmname}
FBSDRUN=bhyve
Of course ${memsize}, ${vmname} etc must match between bhyveload and bhyve.
-Anish
On 2/13/17 1:29 PM, C. L. Martinez wrote:
> Hi all,
>
> What are the steps to install freebsd guests under bhyve without using
> iocage, vm-bhyve or vmrun.sh??
>
> Do I need to use first bhyveload and after bhyve -A -c 1 -u, etc??
>
> Thanks.
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4cedb16-d569-ba1c-7875-76fefc8e7ab8>
