[PATCH 0/2] fix xen HVM pae|apic|acpi features parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to xm.config manual, HVM pae|apic|acpi feature default
is 1 (enabled). But in conversion from xm config to libvirt xml,
if xm config doesn't contain pae|apic|acpi, it sets default value
to 0, this causes some problems in HVM guest.

Update parser codes to set HVM pae|apic|acpi default value to 1
to match xm config convension.

Add tests data to test it.

Chunyan Liu (2):
  xenconfig: set HVM pae/apic/acpi/ default to 1
  Add tests to xmconfigtest

 src/xenconfig/xen_common.c                         |  6 +--
 .../xmconfigdata/test-fullvirt-default-feature.cfg | 23 +++++++++++
 .../test-fullvirt-default-feature.cfg.out          | 26 ++++++++++++
 .../xmconfigdata/test-fullvirt-default-feature.xml | 48 ++++++++++++++++++++++
 tests/xmconfigtest.c                               |  9 +++-
 5 files changed, 108 insertions(+), 4 deletions(-)
 create mode 100644 tests/xmconfigdata/test-fullvirt-default-feature.cfg
 create mode 100644 tests/xmconfigdata/test-fullvirt-default-feature.cfg.out
 create mode 100644 tests/xmconfigdata/test-fullvirt-default-feature.xml

-- 
1.8.4.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]