]> xenbits.xensource.com Git - libvirt.git/commit
bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM
authorFabian Freyer <fabian.freyer@physik.tu-berlin.de>
Tue, 24 May 2016 13:30:56 +0000 (15:30 +0200)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 11 Mar 2017 18:31:32 +0000 (22:31 +0400)
commitb6ae129534a2c74af5de70cf314ae9e948de8a8b
treebd7fb4b8451574cd3e4a4aebc65326d7802e1b2c
parent321ff4087cd731b2a1eddff38f9ef288d6922201
bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM

Implement the BHACE_CAP_LPC_BOOTROM capability by checking the stderr
output of 'bhyve -l bootrom'. If the bootrom option is unsupported, this
will contain the following output:

    bhyve: invalid lpc device configuration 'bootrom'

On newer bhyve versions that do support specifying a bootrom image, the
standard help will be printed.
src/bhyve/bhyve_capabilities.c
src/bhyve/bhyve_capabilities.h