Re: [PATCH] bhyve: relax emulator binary value check

2021-02-05 Thread Roman Bogorodskiy
Michal Privoznik wrote: > On 2/4/21 4:47 PM, Roman Bogorodskiy wrote: > > Currently, requesting domain capabilities fails when the specified > > emulator binary does not equal to "/usr/sbin/bhyve". Relax this check > > to allow any path with basename "bhyve", as it's a common case when > >

Re: [PATCH] bhyve: relax emulator binary value check

2021-02-05 Thread Michal Privoznik
On 2/4/21 4:47 PM, Roman Bogorodskiy wrote: Currently, requesting domain capabilities fails when the specified emulator binary does not equal to "/usr/sbin/bhyve". Relax this check to allow any path with basename "bhyve", as it's a common case when binary is specified without an absolute path.

[PATCH] bhyve: relax emulator binary value check

2021-02-04 Thread Roman Bogorodskiy
Currently, requesting domain capabilities fails when the specified emulator binary does not equal to "/usr/sbin/bhyve". Relax this check to allow any path with basename "bhyve", as it's a common case when binary is specified without an absolute path. Signed-off-by: Roman Bogorodskiy --- I'm not