1. 03 Feb, 2012 1 commit
  2. 01 Feb, 2012 1 commit
    • Jan Kiszka's avatar
      qdev: Introduce lost tick policy property · 4e4fa398
      Jan Kiszka authored
      
      
      Potentially tick-generating timer devices will gain a common property:
      lock_tick_policy. It allows to encode 4 different ways how to deal with
      tick events the guest did not process in time:
      
      discard - ignore lost ticks (e.g. if the guest compensates for them
                already)
      delay   - replay all lost ticks in a row once the guest accepts them
                again
      merge   - if multiple ticks are lost, all of them are merged into one
                which is replayed once the guest accepts it again
      slew    - lost ticks are gradually replayed at a higher frequency than
                the original tick
      
      Not all timer device will need to support all modes. However, all need
      to accept the configuration via this common property.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      4e4fa398
  3. 27 Jan, 2012 6 commits
  4. 22 Jan, 2012 1 commit
  5. 19 Dec, 2011 5 commits
  6. 15 Dec, 2011 11 commits
  7. 28 Oct, 2011 2 commits
  8. 16 Oct, 2011 1 commit
  9. 12 Feb, 2011 1 commit
  10. 31 Jan, 2011 1 commit
  11. 05 Jan, 2011 1 commit
  12. 24 Dec, 2010 1 commit
  13. 21 Dec, 2010 1 commit
  14. 20 Dec, 2010 1 commit
    • Isaku Yamahata's avatar
      qbus: register reset handler for qbus whose parent is NULL · 80376c3f
      Isaku Yamahata authored
      Stefan Weil reported the regression caused by
      ec990eb6
      
       as follows
      
      > The second regression also occurs with MIPS malta.
      > Networking no longer works with the default pcnet nic.
      >
      > This is caused because the reset function for pcnet is no
      > longer called during system boot. The result in an invalid
      > mac address (all zero) and a non-working nic.
      >
      > For this second regression I still have no simple solution.
      > Of course mips_malta.c should be converted to qdev which
      > would fix both problems (but only for malta system emulation).
      
      The issue is, it is assumed that all qbuses, qdeves are under
      main_system_bus. But there are qbuses whose parent is NULL. So it
      is necessary to trigger reset for those qbuses.
      (On the other hand, if NULL is passed to qdev_create(), its parent bus
      is main_system_bus.)
      Ideally those buses should be moved under bus controller
      device which is qdev. But it's not done yet.
      So register qbus reset handler for qbus whose parent is NULL.
      Reported-by: default avatarStefan Weil <weil@mail.berlios.de>
      Signed-off-by: default avatar"Michael S. Tsirkin" <mst@redhat.com>
      Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      80376c3f
  15. 11 Dec, 2010 3 commits
  16. 22 Nov, 2010 3 commits