]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx: allocate space for network interfaces if needed
authorPino Toscano <ptoscano@redhat.com>
Wed, 28 Mar 2018 11:40:19 +0000 (13:40 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sun, 1 Apr 2018 10:43:42 +0000 (12:43 +0200)
commit6d394989fda53b53f0a21522bebe44ea01a40de9
tree46aff036e54b672f58d878bdce97681c36c4f242
parent5d5430e1fc6f853f79da39fbef08e97bebffc8eb
vmx: allocate space for network interfaces if needed

Dynamically grow the array of network interfaces for each interface
read, instead of using a single array of size 4.  This way, in the
future it will be easier to not limit the number of network interfaces
(which this patch still does not change).

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
src/vmx/vmx.c