[libvirt PATCH 0/3] tests: Fix qemucapabilitiestest on macOS

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

 



We need to mock the function that probes for HVF support.

Andrea Bolognani (3):
  tests: Use domaincapsmock in qemucapabilitiestest
  qemu: Make virQEMUCapsProbeHVF() non-static
  tests: Mock virQEMUCapsProbeHVF()

 src/qemu/qemu_capabilities.c | 4 ++--
 src/qemu/qemu_capabilities.h | 2 ++
 tests/domaincapsmock.c       | 6 ++++++
 tests/qemucapabilitiestest.c | 3 ++-
 4 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.37.1




[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