Re: Installing Freebsd guests under bhyve without using scripts

2017-02-16 Thread C. L. Martinez
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
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Installing Freebsd guests under bhyve without using scripts

2017-02-13 Thread Anish Gupta
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-unsubscr...@freebsd.org"


___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"