[libvirt] [PATCH 0/6] CPU selection fixes and tests

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

 



4 out of the 8 tests added by patch 2/6 fail with current libvirt. After
5/6 some of them pass and some of them fail in a different way. After
6/6 all of them pass.

Jirka

Jiri Denemark (6):
  Fake host CPU for qemu tests
  Tests for CPU selection in qemu driver
  Deal with CPU models in []
  Move MIN macro to util.h so that others can use it
  Support removing features when converting data to CPU
  Use configured CPU model if possible

 src/cpu/cpu.c                                      |    8 +-
 src/cpu/cpu.h                                      |    6 +-
 src/cpu/cpu_x86.c                                  |   82 +++++++++++++++-----
 src/qemu/qemu_conf.c                               |   39 ++++++++--
 src/util/util.c                                    |    4 -
 src/util/util.h                                    |    4 +
 .../qemuxml2argvdata/qemuxml2argv-cpu-exact1.args  |    1 +
 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml |   28 +++++++
 .../qemuxml2argvdata/qemuxml2argv-cpu-exact2.args  |    1 +
 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.xml |   35 ++++++++
 .../qemuxml2argv-cpu-minimum1.args                 |    1 +
 .../qemuxml2argvdata/qemuxml2argv-cpu-minimum1.xml |   21 +++++
 .../qemuxml2argv-cpu-minimum2.args                 |    1 +
 .../qemuxml2argvdata/qemuxml2argv-cpu-minimum2.xml |   25 ++++++
 .../qemuxml2argvdata/qemuxml2argv-cpu-strict1.args |    1 +
 .../qemuxml2argvdata/qemuxml2argv-cpu-strict1.xml  |   38 +++++++++
 .../qemuxml2argv-cpu-topology1.args                |    1 +
 .../qemuxml2argv-cpu-topology1.xml                 |   21 +++++
 .../qemuxml2argv-cpu-topology2.args                |    1 +
 .../qemuxml2argv-cpu-topology2.xml                 |   22 +++++
 .../qemuxml2argv-cpu-topology3.args                |    1 +
 .../qemuxml2argv-cpu-topology3.xml                 |   21 +++++
 tests/qemuxml2argvtest.c                           |    9 ++
 tests/testutilsqemu.c                              |   30 +++++++-
 24 files changed, 362 insertions(+), 39 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum1.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum1.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum2.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum2.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-strict1.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-strict1.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology1.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology1.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology2.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology2.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology3.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-topology3.xml

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