]> git.ipfire.org Git - thirdparty/libvirt.git/commit
utils: Convert pollfd array to be allocated
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 25 Jul 2019 18:22:07 +0000 (14:22 -0400)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 26 Jul 2019 09:30:53 +0000 (10:30 +0100)
commit8d2d8a6bea1174a35ee727b08153b18d99cdd65c
treeee934ed88493336220a4deb7c20d5b63f0a27463
parent149eda402ff5f8cb5314b454e20aefc1023e129f
utils: Convert pollfd array to be allocated

Convert the struct pollfd *fds to be allocated rather than residing
on the stack. This prepares it for the next patch where the size of
the array of fds becomes dynamic.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/vircommand.c