Re: [libvirt] [PATCH 1/6] bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM

2017-03-09 Thread Roman Bogorodskiy
Fabian Freyer wrote: > On 08.03.2017 18:19, Michal Privoznik wrote: > > ACK, but we really need a better way to detect capabilites. For instance > > now, bhyve binary is executed 4 times just to find out whether it > > supports 4 capabilities. That's just madness. Maybe we can get in touch > > w

Re: [libvirt] [PATCH 1/6] bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM

2017-03-08 Thread Fabian Freyer
On 08.03.2017 18:19, Michal Privoznik wrote: > ACK, but we really need a better way to detect capabilites. For instance > now, bhyve binary is executed 4 times just to find out whether it > supports 4 capabilities. That's just madness. Maybe we can get in touch > with bhyve developers and ask them?

Re: [libvirt] [PATCH 1/6] bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM

2017-03-08 Thread Michal Privoznik
On 02/12/2017 04:12 PM, Roman Bogorodskiy wrote: > From: Fabian Freyer > > 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 confi

[libvirt] [PATCH 1/6] bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM

2017-02-12 Thread Roman Bogorodskiy
From: Fabian Freyer 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 spe