1. 06 10月, 2016 1 次提交
  2. 19 7月, 2016 1 次提交
  3. 07 6月, 2016 1 次提交
  4. 19 5月, 2016 1 次提交
  5. 29 1月, 2016 1 次提交
    • P
      ide: Clean up includes · 53239262
      Peter Maydell 提交于
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-17-git-send-email-peter.maydell@linaro.org
      53239262
  6. 05 12月, 2015 1 次提交
    • M
      tests: Use proper functions types instead of void (*fn) · 041088c7
      Markus Armbruster 提交于
      We have several function parameters declared as void (*fn).  This is
      just a stupid way to write void *, and the only purpose writing it
      like that could serve is obscuring the sin of bypassing the type
      system without need.
      
      The original sin is commit 49ee3590: its qtest_add_func() is a wrapper
      for g_test_add_func().  Fix the parameter type to match
      g_test_add_func()'s.  This uncovers type errors in ide-test.c; fix
      them.
      
      Commit 7949c0e3 faithfully repeated the sin for qtest_add_data_func().
      Fix it the same way, along with a harmless type error uncovered in
      vhost-user-test.c.
      
      Commit 063c23d9 repeated it for qtest_add_abrt_handler().  The screwy
      parameter gets assigned to GHook member func, so change its type to
      match.  Requires wrapping kill_qemu() to keep the type checker happy.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [AF/armbru: Inline GTestFunc/GTestDataFunc typedef for old GLib]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      041088c7
  7. 26 11月, 2015 1 次提交
    • J
      ide-test: fix timeouts · 9c73517c
      John Snow 提交于
      Use explicit timeouts instead of trying to approximate it by counting
      the cumulative duration of nsleep calls.
      
      In practice, the timeout if inb() dwarfed the nsleep delays, and as a
      result the real timeout value became a lot larger than 5 seconds.
      
      So: change the semantics from "Not sooner than 5 seconds" to "no more
      than 5 seconds" to ensure we don't hang the tester for very long.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1448393771-15483-2-git-send-email-jsnow@redhat.com
      9c73517c
  8. 25 11月, 2015 1 次提交
    • J
      ide-test: cdrom_pio_impl fixup · a421f3c3
      John Snow 提交于
      Final tidying: move the interrupt wait into the loop,
      document that the status read clears the IRQ, and move
      the final interrupt check outside of the loop.
      
      This should be functionally equivalent to how it works
      currently, but a little less ambiguous and slightly more
      explicit about the state transitions.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1448060035-31973-3-git-send-email-jsnow@redhat.com
      a421f3c3
  9. 21 11月, 2015 1 次提交
  10. 09 10月, 2015 1 次提交
  11. 06 10月, 2015 1 次提交
  12. 18 9月, 2015 2 次提交
  13. 21 7月, 2015 1 次提交
  14. 29 4月, 2015 2 次提交
  15. 10 3月, 2015 1 次提交
  16. 10 12月, 2014 1 次提交
  17. 08 9月, 2014 1 次提交
  18. 16 8月, 2014 4 次提交
  19. 22 1月, 2014 1 次提交
  20. 07 11月, 2013 1 次提交
  21. 29 10月, 2013 1 次提交
  22. 19 7月, 2013 1 次提交
  23. 15 6月, 2013 1 次提交
    • M
      ide-test: fix failure for test_flush · 22bfa16e
      Michael Roth 提交于
      bd07684a added a test to ensure BSY
      flag is set when a flush request is in flight. It does this by setting
      a blkdebug breakpoint on flush_to_os before issuing a CMD_FLUSH_CACHE.
      It then resumes CMD_FLUSH_CACHE operation and checks that BSY is unset.
      
      The actual unsetting of BSY does not occur until ide_flush_cb gets
      called in a bh, however, so in some cases this check will race with
      the actual completion.
      
      Fix this by polling the ide status register until BSY flag gets unset
      before we do our final sanity checks. According to
      f68ec837 this is in line with how a guest
      would determine whether or not the device is still busy.
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      22bfa16e
  24. 06 6月, 2013 2 次提交
  25. 15 5月, 2013 1 次提交
  26. 08 5月, 2013 3 次提交