1. 18 12月, 2018 1 次提交
  2. 12 12月, 2018 2 次提交
  3. 05 11月, 2018 1 次提交
  4. 31 10月, 2018 1 次提交
  5. 19 10月, 2018 5 次提交
  6. 03 10月, 2018 1 次提交
    • P
      replay: wake up vCPU when replaying · 0c08185f
      Pavel Dovgalyuk 提交于
      In record/replay icount mode vCPU thread and iothread synchronize
      the execution using the checkpoints.
      vCPU thread processes the virtual timers and iothread processes all others.
      When iothread wants to wake up sleeping vCPU thread, it sends dummy queued
      work. Therefore it could be the following sequence of the events in
      record mode:
       - IO: sending dummy work
       - IO: processing timers
       - CPU: wakeup
       - CPU: clearing dummy work
       - CPU: processing virtual timers
      
      But due to the races in replay mode the sequence may change:
       - IO: sending dummy work
       - CPU: wakeup
       - CPU: clearing dummy work
       - CPU: sleeping again because nothing to do
       - IO: Processing timers
       - CPU: zzzz
      
      In this case vCPU will not wake up, because dummy work is not to be set up
      again.
      
      This patch tries to wake up the vCPU when it sleeps and the icount warp
      checkpoint isn't met. It means that vCPU has something to do, because
      there are no other reasons of non-matching warp checkpoint.
      Signed-off-by: NPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
      
      --
      
      v5: improve checking that vCPU is still sleeping
      Message-Id: <20180912081945.3228.19776.stgit@pasha-VirtualBox>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0c08185f
  7. 17 8月, 2018 1 次提交
  8. 15 8月, 2018 3 次提交
  9. 10 7月, 2018 4 次提交
  10. 02 7月, 2018 1 次提交
  11. 29 6月, 2018 4 次提交
  12. 15 6月, 2018 3 次提交
  13. 01 6月, 2018 4 次提交
  14. 31 5月, 2018 5 次提交
  15. 23 5月, 2018 1 次提交
  16. 09 5月, 2018 1 次提交
  17. 27 4月, 2018 1 次提交
  18. 26 4月, 2018 1 次提交