1. 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
  2. 11 3月, 2014 4 次提交
  3. 15 2月, 2014 5 次提交
  4. 14 2月, 2014 7 次提交
  5. 10 2月, 2014 1 次提交
  6. 17 1月, 2014 1 次提交
  7. 13 1月, 2014 1 次提交
  8. 25 12月, 2013 1 次提交
  9. 10 12月, 2013 1 次提交
    • M
      acpi-test: basic acpi unit-test · ad6423a7
      Michael S. Tsirkin 提交于
      We run bios, and boot a minimal boot sector that immediately halts.
      Then poke at memory to find ACPI tables.
      
      This only checks that RSDP is there.
      More will be added later.
      
      Cc: Andreas Färber <afaerber@suse.de>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      ad6423a7
  10. 07 11月, 2013 2 次提交
  11. 06 11月, 2013 1 次提交
    • A
      qtest: Prepare QOM machine tests · 7c41f217
      Andreas Färber 提交于
      Instantiate all [*] machines per target, so that they get a bit of test
      coverage at all. This has proven helpful during QOM refactorings.
      
      [*] ppcemb target contains some non-working non-embedded machines, and
      ppc405 CPUs are not available there either.
      i386 and x86_64 do not cover pc*-x.y or xenfv.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      7c41f217
  12. 11 10月, 2013 2 次提交
  13. 03 10月, 2013 1 次提交
  14. 12 9月, 2013 1 次提交
  15. 06 9月, 2013 1 次提交
  16. 20 8月, 2013 1 次提交
  17. 17 8月, 2013 1 次提交
  18. 29 7月, 2013 2 次提交
  19. 25 7月, 2013 1 次提交
  20. 23 7月, 2013 1 次提交
  21. 19 7月, 2013 4 次提交