[libvirt] [PATCH 0/4] vmx: allow more than 4 NICs (RHBZ#1560917)

Pino Toscano ptoscano at redhat.com
Wed Mar 28 11:40:17 UTC 2018


Hi,

the VMX parser, used in the esx driver, has currently hardcoded 4 NICs
possible, ignoring extra more than that. The following series removes
this limitation, allowing to parse all the 10 NICs in the VMX of
RHBZ#1560917.

Thanks,

Pino Toscano (4):
  vmx: check for present/enabled devices earlier
  vmx: allocate space for network interfaces if needed
  internal: add STRCASEPREFIX
  vmx: convert any amount of NICs

 src/internal.h                                  |   1 +
 src/vmx/vmx.c                                   | 150 +++++++++++-----------
 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-8.vmx | 163 ++++++++++++++++++++++++
 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-8.xml |  89 +++++++++++++
 tests/vmx2xmltest.c                             |   1 +
 5 files changed, 325 insertions(+), 79 deletions(-)
 create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-8.vmx
 create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-8.xml

-- 
2.14.3




More information about the libvir-list mailing list