On 03/02/20 12:56, Kamil Rytarowski wrote: > On 03.02.2020 12:41, Philippe Mathieu-Daudé wrote: >>> @@ -1768,6 +1785,7 @@ disabled with --disable-FEATURE, default is >>> enabled if available: >>> hax HAX acceleration support >>> hvf Hypervisor.framework acceleration support >>> whpx Windows Hypervisor Platform acceleration support >>> + nvmm NetBSD Virtual Machine Monitor acceleration support >>> rdma Enable RDMA-based migration >>> pvrdma Enable PVRDMA support >>> vde support for vde network >>> @@ -2757,6 +2775,20 @@ if test "$whpx" != "no" ; then >>> fi >>> fi >>> >> >> Maybe you can add something like: >> >> if test "$targetos" = "NetBSD"; then >> nvmm="check" >> fi >> >> to build by default with NVMM if available. > > I will add nvmm=yes to the NetBSD) targetos check section.
No, nvmm=yes instead should fail the build if nvmm.h is not available. That is not a good default. Paolo