Re: [libvirt] [PATCH v2 14/21] utils: Convert pollfd array to be allocated

2019-07-10 Thread Stefan Berger
On 7/10/19 2:47 PM, Marc-André Lureau wrote: On Wed, Jul 10, 2019 at 10:12 PM Stefan Berger wrote: Convert the struct pollfd *fds to be allocated rather than residing on the stack. why? give some context to the commit message. thanks Preparation for the next patch where the size of the arr

Re: [libvirt] [PATCH v2 14/21] utils: Convert pollfd array to be allocated

2019-07-10 Thread Marc-André Lureau
On Wed, Jul 10, 2019 at 10:12 PM Stefan Berger wrote: > > Convert the struct pollfd *fds to be allocated rather than residing > on the stack. > why? give some context to the commit message. thanks > Signed-off-by: Stefan Berger > --- > src/util/vircommand.c | 5 - > 1 file changed, 4 inser

[libvirt] [PATCH v2 14/21] utils: Convert pollfd array to be allocated

2019-07-10 Thread Stefan Berger
Convert the struct pollfd *fds to be allocated rather than residing on the stack. Signed-off-by: Stefan Berger --- src/util/vircommand.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/vircommand.c b/src/util/vircommand.c index e32377497b..898ee0df45 100644 --- a