Re: [PATCH v1 0/3] qemumonitorjson tests for cpu compare and baseline

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

 



On 2/20/20 11:01 PM, Collin Walling wrote:
These patches implement tests for the libvirt qemu_monitor_json API for
the hypervisor-cpu-compare and -baseline commands. The input and output
data is mocked with arbitrary values.

A prerequisite patch is included to load the capabilities schema for
a specific architecture. Originally, only the x86 capabilities were
loaded for the qemu_monitor_json tests. By accepting a string denoting
which architecture's QEMU capabilities we'd like to load, we can now
test the comparison and baseline code that is currently only supported
on s390.

Collin Walling (3):
   qemumonitorjsontest: load schema based on specified arch
   qemumonitorjsontest: add tests for cpu comparison
   qemumonitorjsontest: add test for cpu baseline

  tests/qemublocktest.c       |   2 +-
  tests/qemuhotplugtest.c     |   2 +-
  tests/qemumonitorjsontest.c | 131 +++++++++++++++++++++++++++++++++++++++++++-
  tests/testutilsqemuschema.c |   8 +--
  tests/testutilsqemuschema.h |   4 +-
  5 files changed, 137 insertions(+), 10 deletions(-)


Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

and pushed.

Michal




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

  Powered by Linux