[PATCH v2 0/2] Xen: skip xenHypervisor version init in tests

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

 



Several tests fail when run as root on a Xen-dom0-system, since
virInitialize() then succeeds to open /proc/xen/privcmd and returns the
actual supported features instead of the faked one when calling
xenHypervisorMakeCapabilitiesInternal(). Since Xen-3.3 supports
additional features like "hap" and "viridian", the xencapstest fails.

v2: Skip initialization of static version variables for Xen Hypervisor and use
provided values for unit test cases.

Philipp Hahn (2):
  Xen: move versions to struct
  Xen: Fake versions in xencapstest

 src/xen/xen_driver.c     |    2 +-
 src/xen/xen_hypervisor.c |  307 ++++++++++++++++++++++++----------------------
 src/xen/xen_hypervisor.h |   10 ++-
 tests/xencapstest.c      |   10 ++
 4 files changed, 180 insertions(+), 149 deletions(-)

--
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]