1. 05 10月, 2014 1 次提交
  2. 27 9月, 2014 2 次提交
  3. 22 9月, 2014 1 次提交
    • J
      ahci: Adding basic functionality qtest. · 1cd1031d
      John Snow 提交于
      Currently, there is no qtest to test the functionality of
      the AHCI functionality present within the Q35 machine type.
      
      This patch adds a skeleton for an AHCI test suite,
      and adds a simple sanity-check test case where we
      identify that the AHCI device is present, then
      disengage the virtual machine.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-2-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      1cd1031d
  4. 19 9月, 2014 1 次提交
    • M
      tests: disable global props test for old glib · 9d41401b
      Michael S. Tsirkin 提交于
      follow-up patch moves global property tests to subprocesses.
      Unfortunately with old glib this causes:
      
      tests/test-qdev-global-props.c: In function
      ‘test_static_prop’:
      tests/test-qdev-global-props.c:80:5: error: implicit
      declaration of function ‘g_test_trap_subprocess’
      [-Werror=implicit-function-declaration]
      tests/test-qdev-global-props.c:80:5: error: nested extern
      declaration of ‘g_test_trap_subprocess’ [-Werror=nested-externs]
      
      This function was only added in glib 2.38, and our
      minimum version is 2.12.
      
      To fix, disable the test for glib < 2.38.
      
      Apply before that patch to avoid breaking bisect.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9d41401b
  5. 08 9月, 2014 2 次提交
  6. 29 8月, 2014 3 次提交
  7. 09 8月, 2014 1 次提交
  8. 18 7月, 2014 1 次提交
  9. 16 7月, 2014 1 次提交
  10. 06 7月, 2014 1 次提交
  11. 23 6月, 2014 2 次提交
  12. 19 6月, 2014 2 次提交
  13. 02 6月, 2014 1 次提交
  14. 28 5月, 2014 2 次提交
    • L
      QemuOpt: add unit tests · 4ba6fabf
      Leandro Dorileo 提交于
      Cover basic aspects and API usage for QemuOpt. The current implementation
      covers the API's planned to be changed by Chunyan Liu in his QEMUOptionParameter
      replacement/cleanup job.
      
      Other APIs should be covered in future improvements.
      
      [Squashing in a small fix "QemuOpt: use qemu_find_opts_err() to avoid
      output on stderr in tests".
      
      qemu_find_opts() calls error_report() instead of propagating the Error
      object.  It is undesirable to clutter test case output with error
      messages from a passing test.
      
      Use qemu_find_opts_err() to avoid the output on stderr.
      --Stefan]
      Signed-off-by: NLeandro Dorileo <l@dorileo.org>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4ba6fabf
    • G
      tests: rename acpi-test to bios-tables-test · 501f28ca
      Gabriel L. Somlo 提交于
      The test harness for acpi (generating a boot disk, starting qemu,
      waiting for the BIOS to finish booting before examining guest
      memory, etc.) is perfectly suited for testing other bios tables
      beside acpi, such as e.g., smbios.
      
      This patch renames acpi-test to bios-tables-test to reflect that,
      and in preparation for adding smbios tests.
      Signed-off-by: NGabriel Somlo <somlo@cmu.edu>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      501f28ca
  15. 16 5月, 2014 1 次提交
  16. 09 5月, 2014 3 次提交
  17. 06 5月, 2014 5 次提交
  18. 28 4月, 2014 1 次提交
  19. 08 4月, 2014 1 次提交
  20. 01 4月, 2014 6 次提交
  21. 20 3月, 2014 1 次提交
  22. 13 3月, 2014 1 次提交
    • S
      rfifolock: add recursive FIFO lock · 2da61b67
      Stefan Hajnoczi 提交于
      QemuMutex does not guarantee fairness and cannot be acquired
      recursively:
      
      Fairness means each locker gets a turn and the scheduler cannot cause
      starvation.
      
      Recursive locking is useful for composition, it allows a sequence of
      locking operations to be invoked atomically by acquiring the lock around
      them.
      
      This patch adds RFifoLock, a recursive lock that guarantees FIFO order.
      Its first user is added in the next patch.
      
      RFifoLock has one additional feature: it can be initialized with an
      optional contention callback.  The callback is invoked whenever a thread
      must wait for the lock.  For example, it can be used to poke the current
      owner so that they release the lock soon.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2da61b67