[libvirt] [PATCH 0/2] correct libxl config file convert

Chunyan Liu cyliu at suse.com
Thu Apr 21 11:10:19 UTC 2016


Correct libxl config file type=vif handling.

Chunyan Liu (2):
  xenFormatNet: correct `type=netfront' to 'type=vif' to match libxl
  xlconfigtest: add test case for type=vif in xl format

 src/xenconfig/xen_common.c               | 38 ++++++++++++++++++-----------
 src/xenconfig/xen_common.h               |  7 +++---
 src/xenconfig/xen_xl.c                   |  4 +--
 src/xenconfig/xen_xm.c                   |  8 +++---
 tests/xlconfigdata/test-vif-typename.cfg | 25 +++++++++++++++++++
 tests/xlconfigdata/test-vif-typename.xml | 42 ++++++++++++++++++++++++++++++++
 tests/xlconfigtest.c                     |  1 +
 7 files changed, 102 insertions(+), 23 deletions(-)
 create mode 100644 tests/xlconfigdata/test-vif-typename.cfg
 create mode 100644 tests/xlconfigdata/test-vif-typename.xml

-- 
2.1.4




More information about the libvir-list mailing list