]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kvm_geterr_test: Compile out the portions that require kvm_open2(3) on
authorngie <ngie@FreeBSD.org>
Sat, 27 May 2017 23:19:32 +0000 (23:19 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 27 May 2017 23:19:32 +0000 (23:19 +0000)
commit70ff15dcd473d74055562ac71af35bf424a590c4
tree6ae3cc19be27a7c001d0859b7e45f07793ca30e5
parent17c97095fe2baab021467d5161df4f229cbbf14e
kvm_geterr_test: Compile out the portions that require kvm_open2(3) on
systems that lack the libcall, based on __FreeBSD_version.

kvm_open2(3) wasn't made available until r291406, which is in ^/stable/11,
but not ^/stable/10. This makes some of kvm_geterr_test available for testing
on ^/stable/10.

MFC after: now
Sponsored by: Dell EMC Isilon
lib/libkvm/tests/kvm_geterr_test.c