1. 06 2月, 2015 1 次提交
    • P
      rtl8139: simplify timer logic · 237c255c
      Paolo Bonzini 提交于
      Pavel Dovgalyuk reports that TimerExpire and the timer are not restored
      correctly on the receiving end of migration.
      
      It is not clear to me whether this is really the case, but we can take
      the occasion to get rid of the complicated code that computes PCSTimeout
      on the fly upon changes to IntrStatus/IntrMask.  Just always keep a
      timer running, it will fire every ~130 seconds at most if the interrupt
      is masked with TimerInt != 0.
      
      This makes rtl8139_set_next_tctr_time idempotent (when the virtual clock
      is stopped between two calls, as is the case during migration).
      
      Tested with Frediano's qtest.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-id: 1421765099-26190-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      237c255c
  2. 05 2月, 2015 1 次提交
  3. 30 1月, 2015 2 次提交
  4. 29 1月, 2015 2 次提交
  5. 28 1月, 2015 12 次提交
  6. 27 1月, 2015 22 次提交