Re: [Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-06 Thread Wei Liu
On Mon, Jul 04, 2016 at 01:13:42PM +0100, Wei Liu wrote: > This basically replicates the same logic in libxl_linux.c but with one > change -- only test num_exec == 0 in nic hotplug case because NetBSD let > QEMU call a script itself. Without this patch libxl will loop > indefinitely trying to execu

[Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-04 Thread Wei Liu
This basically replicates the same logic in libxl_linux.c but with one change -- only test num_exec == 0 in nic hotplug case because NetBSD let QEMU call a script itself. Without this patch libxl will loop indefinitely trying to execute hotplug script. Reported-by: John Nemeth Signed-off-by: Wei

Re: [Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-04 Thread Roger Pau Monné
On Mon, Jul 04, 2016 at 04:56:33AM -0700, John Nemeth wrote: > On Jul 4, 12:23pm, Wei Liu wrote: > } On Mon, Jul 04, 2016 at 12:09:30PM +0100, Wei Liu wrote: > } > On Mon, Jul 04, 2016 at 01:11:04AM -0700, John Nemeth wrote: > } > > On Jul 2, 12:35pm, Wei Liu wrote: > } > > } +/* > } > > }

Re: [Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-04 Thread John Nemeth
On Jul 4, 12:23pm, Wei Liu wrote: } } Also CC Roger since he authored the original code. } } Feel free to correct me misunderstanding on this issue. } } On Mon, Jul 04, 2016 at 12:09:30PM +0100, Wei Liu wrote: } > Add back xen-devel. Please reply to all recipients in the future. Oops, I usu

Re: [Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-04 Thread Wei Liu
Also CC Roger since he authored the original code. Feel free to correct me misunderstanding on this issue. On Mon, Jul 04, 2016 at 12:09:30PM +0100, Wei Liu wrote: > Add back xen-devel. Please reply to all recipients in the future. > > On Mon, Jul 04, 2016 at 01:11:04AM -0700, John Nemeth wrote:

Re: [Xen-devel] [PATCH] libxl/netbsd: check num_exec in hotplug function

2016-07-04 Thread Wei Liu
Add back xen-devel. Please reply to all recipients in the future. On Mon, Jul 04, 2016 at 01:11:04AM -0700, John Nemeth wrote: > On Jul 2, 12:35pm, Wei Liu wrote: > } > } This basically replicates the same logic in libxl_linux.c. Without this > } libxl will loop indefinitely trying to execute hotp