Installing Freebsd guests under bhyve without using scripts

C. L. Martinez carlopmart at gmail.com
Thu Feb 16 09:57:11 UTC 2017


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


More information about the freebsd-virtualization mailing list