About nested virtualization for bhyve

2021-02-21 Thread alphachi
I know the scheme like this can be implemented:
Layer 0 - KVM on Linux Host
Layer 1 - FreeBSD guest
Layer 2 - bhyve guest

Does bhyve support the following schemes?

Scheme A:
Layer 0 - bhyve on FreeBSD Host
Layer 1 - FreeBSD guest
Layer 2 - bhyve guest

Scheme B:
Layer 0 - bhyve on FreeBSD Host
Layer 1 - Windows guest
Layer 2 - Hyper-V guest

https://wiki.freebsd.org/bhyve just refers how to enable nested
virtualization on non-bhyve hosts like I knew.

What about on a bhyve host? For example, any configruation in
/boot/loader.conf or /etc/sysctl.conf to enable it?

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"


Re: About nested virtualization for bhyve

2021-02-21 Thread Peter Grehan

Hi,


Does bhyve support the following schemes?

Scheme A:
Layer 0 - bhyve on FreeBSD Host
Layer 1 - FreeBSD guest
Layer 2 - bhyve guest

Scheme B:
Layer 0 - bhyve on FreeBSD Host
Layer 1 - Windows guest
Layer 2 - Hyper-V guest

 ...

What about on a bhyve host? For example, any configruation in
/boot/loader.conf or /etc/sysctl.conf to enable it?


 Those configurations aren't yet supported: bhyve will have to emulate 
VT-x/SVM functionality.


later,

Peter.
___
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: About nested virtualization for bhyve

2021-02-21 Thread alphachi
Thanks for your confirmation, Peter.

Any plan for this on branch 13.x?

Peter Grehan  于 2021年2月21日周日 18:12写道:

> Hi,
>
> > Does bhyve support the following schemes?
> >
> > Scheme A:
> > Layer 0 - bhyve on FreeBSD Host
> > Layer 1 - FreeBSD guest
> > Layer 2 - bhyve guest
> >
> > Scheme B:
> > Layer 0 - bhyve on FreeBSD Host
> > Layer 1 - Windows guest
> > Layer 2 - Hyper-V guest
>   ...
> > What about on a bhyve host? For example, any configruation in
> > /boot/loader.conf or /etc/sysctl.conf to enable it?
>
>   Those configurations aren't yet supported: bhyve will have to emulate
> VT-x/SVM functionality.
>
> later,
>
> Peter.
>
___
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"


[Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC.

2021-02-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246121

--- Comment #24 from Michael Reifenberger  ---
Hi,
do you have by chance updated patches for stable/12 and main?

For me bhyve_kbdlayout_option_fbsd122r.patch doesn't seem to work as intended.

Running a Windows 10 VM with '-k de' and setting the Windows KBD-Lang to 'deu'
seems to work for the intended Layout for Keys like '\|-_' but I don't get
Umlauts or €...

Also the bhyve_qemu_ext_key_event_msg patch doesn't apply cleanly on top of the
hyve_kbdlayout_option patch:

Patching file bhyve/ps2kbd.c using Plan A...
Hunk #1 succeeded at 185 (offset 7 lines).
Hunk #2 failed at 339.
Hunk #3 succeeded at 382 (offset 7 lines).
Hunk #4 succeeded at 393 (offset 7 lines).
1 out of 4 hunks failed--saving rejects to bhyve/ps2kbd.c.rej

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


Problem reports for virtualizat...@freebsd.org that need special attention

2021-02-21 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
In Progress |247208 | mpt(4): VMWare virtualized LSI controller panics  
New |240945 | [hyper-v] [netvsc] hn network driver incorrectly  

2 problems total for which you should take action.
___
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: sysutils/uefi-edk2-bhyve isssue

2021-02-21 Thread Rebecca Cran

On 2/18/2021 6:22 PM, The Doctor via freebsd-ports wrote:

ld-elf.so.1: /usr/local/lib/compat/libstdc++.so.6: version CXXABI_1.3.8 
required by 
/usr/ports/sysutils/uefi-edk2-bhyve/work/edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2/BaseTools/Source/C/bin/VfrCompile
 not found
make[2]: *** [GNUmakefile:315: 
/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib/DEBUG/BootMaintenanceManager.c]
 Error 1
make[2]: Leaving directory 
'/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib'


build.py...
  : error 7000: Failed to execute command
 make tbuild 
[/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib]
BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py:654: 
ResourceWarning: unclosed file <_io.BufferedReader name=13>
ResourceWarning: Enable tracemalloc to get the object allocation traceback


What version of FreeBSD are you running? And what version of GCC?


--
Rebecca Cran


___
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: sysutils/uefi-edk2-bhyve isssue

2021-02-21 Thread The Doctor via freebsd-virtualization
On Sun, Feb 21, 2021 at 09:38:29PM -0700, Rebecca Cran wrote:
> On 2/18/2021 6:22 PM, The Doctor via freebsd-ports wrote:
> > ld-elf.so.1: /usr/local/lib/compat/libstdc++.so.6: version CXXABI_1.3.8 
> > required by 
> > /usr/ports/sysutils/uefi-edk2-bhyve/work/edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2/BaseTools/Source/C/bin/VfrCompile
> >  not found
> > make[2]: *** [GNUmakefile:315: 
> > /usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib/DEBUG/BootMaintenanceManager.c]
> >  Error 1
> > make[2]: Leaving directory 
> > '/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib'
> >
> >
> > build.py...
> >   : error 7000: Failed to execute command
> >  make tbuild 
> > [/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib]
> > BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py:654: 
> > ResourceWarning: unclosed file <_io.BufferedReader name=13>
> > ResourceWarning: Enable tracemalloc to get the object allocation traceback
> 
> What version of FreeBSD are you running? And what version of GCC?
>

12.2 and I tried both GCC 9 and 10 !

> 
> -- 
> Rebecca Cran
> 
> 
> ___
> freebsd-po...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
NFLD on 13 Feb vote Liberal !
___
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: sysutils/uefi-edk2-bhyve isssue

2021-02-21 Thread Dustin Marquess
I had the same issue if the gcc48 port was installed, but removing
that somehow resolved it for me.

-Dustin

On Mon, Feb 22, 2021 at 12:08 AM The Doctor via freebsd-virtualization
 wrote:
>
> On Sun, Feb 21, 2021 at 09:38:29PM -0700, Rebecca Cran wrote:
> > On 2/18/2021 6:22 PM, The Doctor via freebsd-ports wrote:
> > > ld-elf.so.1: /usr/local/lib/compat/libstdc++.so.6: version CXXABI_1.3.8 
> > > required by 
> > > /usr/ports/sysutils/uefi-edk2-bhyve/work/edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2/BaseTools/Source/C/bin/VfrCompile
> > >  not found
> > > make[2]: *** [GNUmakefile:315: 
> > > /usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib/DEBUG/BootMaintenanceManager.c]
> > >  Error 1
> > > make[2]: Leaving directory 
> > > '/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib'
> > >
> > >
> > > build.py...
> > >   : error 7000: Failed to execute command
> > >  make tbuild 
> > > [/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib]
> > > BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py:654: 
> > > ResourceWarning: unclosed file <_io.BufferedReader name=13>
> > > ResourceWarning: Enable tracemalloc to get the object allocation traceback
> >
> > What version of FreeBSD are you running? And what version of GCC?
> >
>
> 12.2 and I tried both GCC 9 and 10 !
>
> >
> > --
> > Rebecca Cran
> >
> >
> > ___
> > freebsd-po...@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
> --
> Member - Liberal International This is doctor@@nl2k.ab.ca Ici 
> doctor@@nl2k.ab.ca
> Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist 
> rising!
> Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
> NFLD on 13 Feb vote Liberal !
> ___
> 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"


Re: sysutils/uefi-edk2-bhyve isssue

2021-02-21 Thread Rebecca Cran
Oh, yes - I’ve had problems building software with the gcc48 port installed 
too. Similar to the build error reported.

Rebecca

Sent from my iPhone

> On Feb 21, 2021, at 11:40 PM, Dustin Marquess  wrote:
> 
> I had the same issue if the gcc48 port was installed, but removing
> that somehow resolved it for me.
> 
> -Dustin
> 
>> On Mon, Feb 22, 2021 at 12:08 AM The Doctor via freebsd-virtualization
>>  wrote:
>> 
>>> On Sun, Feb 21, 2021 at 09:38:29PM -0700, Rebecca Cran wrote:
>>> On 2/18/2021 6:22 PM, The Doctor via freebsd-ports wrote:
 ld-elf.so.1: /usr/local/lib/compat/libstdc++.so.6: version CXXABI_1.3.8 
 required by 
 /usr/ports/sysutils/uefi-edk2-bhyve/work/edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2/BaseTools/Source/C/bin/VfrCompile
  not found
 make[2]: *** [GNUmakefile:315: 
 /usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib/DEBUG/BootMaintenanceManager.c]
  Error 1
 make[2]: Leaving directory 
 '/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib'
 
 
 build.py...
  : error 7000: Failed to execute command
 make tbuild 
 [/usr/ports/sysutils/uefi-edk2-bhyve/work/Build/BhyveX64/RELEASE_GCC5/X64/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib]
 BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py:654: 
 ResourceWarning: unclosed file <_io.BufferedReader name=13>
 ResourceWarning: Enable tracemalloc to get the object allocation traceback
>>> 
>>> What version of FreeBSD are you running? And what version of GCC?
>>> 
>> 
>> 12.2 and I tried both GCC 9 and 10 !
>> 
>>> 
>>> --
>>> Rebecca Cran
>>> 
>>> 
>>> ___
>>> freebsd-po...@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>> 
>> --
>> Member - Liberal International This is doctor@@nl2k.ab.ca Ici 
>> doctor@@nl2k.ab.ca
>> Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist 
>> rising!
>> Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
>> NFLD on 13 Feb vote Liberal !
>> ___
>> 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"