[libvirt] [PATCH 1/2] bhyve: helper function to probe hypervisor caps

Michal Privoznik mprivozn at redhat.com
Tue Mar 21 14:37:39 UTC 2017


On 03/20/2017 05:31 PM, Roman Bogorodskiy wrote:
> There are a number of functions in bhyve_capabilities.c that probe
> hypervisor capabilities by executing the bhyve(1) binary with the
> specific device arugment, checking error message (if any) and setting
> proper capability bit. As those are extremely similar, move this logic
> into a helper function and convert existing functions to use that.
> ---
>  src/bhyve/bhyve_capabilities.c | 122 +++++++++++++++++------------------------
>  1 file changed, 49 insertions(+), 73 deletions(-)

ACK

Michal




More information about the libvir-list mailing list