[libvirt] [PATCH v2 0/7] CPU selection fixes and tests

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

 



In this second version of the patchset, patches were reordered and a
comment for format expected by qemudParseX86Models() was modified as
suggested by Eric. In addition to these changes, qemu tests were fixed
to pass on RHEL.

Jirka

Jiri Denemark (7):
  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
  Fake host CPU for qemu tests
  Support for faking emulator in qemuxml2argv tests
  Tests for CPU selection in qemu driver

 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 +
 tests/qemuxml2argvdata/qemu.sh                     |   64 +++++++++++++++
 .../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                           |   27 +++++++
 tests/testutilsqemu.c                              |   30 +++++++-
 25 files changed, 444 insertions(+), 39 deletions(-)
 create mode 100755 tests/qemuxml2argvdata/qemu.sh
 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]