Re: [libvirt] [PATCH] bhyve: fix crash on missing interface model

2018-03-12 Thread Roman Bogorodskiy
Michal Privoznik wrote: > On 03/11/2018 05:02 PM, Roman Bogorodskiy wrote: > > The bhyve driver crashes in bhyveBuildNetArgStr() when > > network interface model is not defined. As it has to be provided > > explicitly, add a check to report an error if it's missing. > > --- > >

Re: [libvirt] [PATCH] bhyve: fix crash on missing interface model

2018-03-12 Thread Michal Privoznik
On 03/11/2018 05:02 PM, Roman Bogorodskiy wrote: > The bhyve driver crashes in bhyveBuildNetArgStr() when > network interface model is not defined. As it has to be provided > explicitly, add a check to report an error if it's missing. > --- > src/bhyve/bhyve_command.c | 6 ++ > 1 file

[libvirt] [PATCH] bhyve: fix crash on missing interface model

2018-03-11 Thread Roman Bogorodskiy
The bhyve driver crashes in bhyveBuildNetArgStr() when network interface model is not defined. As it has to be provided explicitly, add a check to report an error if it's missing. --- src/bhyve/bhyve_command.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/bhyve/bhyve_command.c