1. 10 1月, 2011 2 次提交
  2. 05 1月, 2011 2 次提交
  3. 27 12月, 2010 1 次提交
    • M
      pci: fix migration path for devices behind bridges · a6a7005d
      Michael S. Tsirkin 提交于
      The device path used for migration is currently broken for
      for all devices behind a nested bridge.
      
      Replace this by a hierarchical list of slot/function numbers, walking
      the path from root down to device. Add :00 after the domain number
      so that if there are no nested bridges, this is compatible
      with what we have now.
      
      Note: as pointed out by Gleb, using openfirmware paths
      might be cleaner, doing this would break compatibility though,
      and the IDs used are not guest or user visible at all,
      so breaking the compatibility is probably not worth it.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      a6a7005d
  4. 24 12月, 2010 3 次提交
  5. 22 12月, 2010 3 次提交
  6. 21 12月, 2010 1 次提交
  7. 20 12月, 2010 1 次提交
    • I
      qbus: register reset handler for qbus whose parent is NULL · 80376c3f
      Isaku Yamahata 提交于
      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: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: N"Michael S. Tsirkin" <mst@redhat.com>
      Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      80376c3f
  8. 19 12月, 2010 6 次提交
  9. 18 12月, 2010 4 次提交
  10. 17 12月, 2010 17 次提交