]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-host-validate: add bhyve support
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 24 Feb 2017 16:27:56 +0000 (20:27 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 11 Mar 2017 17:22:58 +0000 (21:22 +0400)
commit321ff4087cd731b2a1eddff38f9ef288d6922201
tree01c325a5e11b08de5113e69ca3738dc913d98768
parent0623945c401c04e53d2e26557774ff279a7f65e1
virt-host-validate: add bhyve support

Add bhyve support to virt-host-validate(1). It checks for the
essential kernel modules to be available so that user can actually
start VMs, have networking and console access.

It uses the kldnext(2)/kldstat(2) routines to retrieve modules list.
As bhyve is only available on FreeBSD and these routines were available
long before bhyve appeared, not adding any specific configure checks
for that.

Also, update tools/Makefile.am to add
virt-host-validate-$driver.[hc] to the build only if the
appropriate driver is enabled.
po/POTFILES.in
tools/Makefile.am
tools/virt-host-validate-bhyve.c [new file with mode: 0644]
tools/virt-host-validate-bhyve.h [new file with mode: 0644]
tools/virt-host-validate.c
tools/virt-host-validate.pod