Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 09:57:18 +0000
From:      "C. L. Martinez" <carlopmart@gmail.com>
To:        virtualization@freebsd.org
Subject:   Re: Installing Freebsd guests under bhyve without using scripts
Message-ID:  <20170216095718.45g3nvmhakyffijn@scotland.uxdom.org>
In-Reply-To: <e4cedb16-d569-ba1c-7875-76fefc8e7ab8@gmail.com>
References:  <CAEjQA5K0U2pcZ5jRtMBhDrqhe8daYDVDz7g54kTd5RVt4yOnLw@mail.gmail.com> <e4cedb16-d569-ba1c-7875-76fefc8e7ab8@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 13, 2017 at 03:47:34PM -0800, Anish Gupta wrote:
> 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
> 

Many thanks Anish

-- 
Greetings,
C. L. Martinez



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170216095718.45g3nvmhakyffijn>