Skip to content
Snippets Groups Projects
  1. Dec 18, 2021
  2. Dec 15, 2021
  3. Nov 19, 2021
  4. Nov 17, 2021
  5. Nov 16, 2021
  6. Nov 11, 2021
  7. Nov 09, 2021
  8. Nov 08, 2021
  9. Nov 04, 2021
  10. Nov 02, 2021
  11. Nov 01, 2021
  12. Oct 30, 2021
  13. Oct 20, 2021
    • Igor Mammedov's avatar
      tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator · e741aff0
      Igor Mammedov authored
      
      Currently it is not possible to create tests that have KVM as a hard
      requirement on a host that doesn't support KVM for tested target
      binary (modulo going through the trouble of compiling out
      the offending test case).
      
      Following scenario makes test fail when it's run on non x86 host:
        qemu-system-x86_64 -enable-kvm -M q35,kernel-irqchip=on -smp 1,maxcpus=288
      
      This patch introduces qtest_has_accel() to let users check if accel is
      available in advance and avoid executing non run-able test-cases.
      
      It implements detection of TCG and KVM only, the rest could be
      added later on, when we actually start testing them in qtest.
      
      Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
      Message-Id: <20210902113551.461632-3-imammedo@redhat.com>
      Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      e741aff0
  14. Oct 19, 2021
  15. Oct 18, 2021
  16. Oct 14, 2021
Loading