1. 25 4月, 2013 1 次提交
  2. 09 4月, 2013 2 次提交
  3. 01 3月, 2013 1 次提交
    • P
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini 提交于
      Done with this script:
      
      cd hw
      for i in `find . -name '*.h' | sed 's/^..//'`; do
        echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
      done | sed -i -f - `find . -type f`
      
      This is so that paths remain valid as files are moved.
      
      Instead, files in hw/dataplane are referenced with the relative path.
      We know they are not going to move to include/, and they are the only
      include files that are in subdirectories _and_ move.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  4. 11 2月, 2013 1 次提交
  5. 02 2月, 2013 1 次提交
    • J
      vhost: multiqueue support · a9f98bb5
      Jason Wang 提交于
      This patch lets vhost support multiqueue. The idea is simple, just launching
      multiple threads of vhost and let each of vhost thread processing a subset of
      the virtqueues of the device. After this change each emulated device can have
      multiple vhost threads as its backend.
      
      To do this, a virtqueue index were introduced to record to first virtqueue that
      will be handled by this vhost_net device. Based on this and nvqs, vhost could
      calculate its relative index to setup vhost_net device.
      
      Since we may have many vhost/net devices for a virtio-net device. The setting of
      guest notifiers were moved out of the starting/stopping of a specific vhost
      thread. The vhost_net_{start|stop}() were renamed to
      vhost_net_{start|stop}_one(), and a new vhost_net_{start|stop}() were introduced
      to configure the guest notifiers and start/stop all vhost/vhost_net devices.
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a9f98bb5
  6. 08 1月, 2013 1 次提交
  7. 19 12月, 2012 2 次提交
  8. 30 10月, 2012 1 次提交
  9. 07 9月, 2012 1 次提交
  10. 01 8月, 2012 2 次提交
  11. 23 7月, 2012 1 次提交
  12. 14 1月, 2012 1 次提交
  13. 26 8月, 2011 1 次提交
    • M
      vhost-net: cleanup host notifiers at last step · b0b3db79
      Michael S. Tsirkin 提交于
      When the vhost notifier is disabled, the userspace handler runs
      immediately: virtio_pci_set_host_notifier_internal might
      call virtio_queue_notify_vq.
      Since the VQ state and the tap backend state aren't
      recovered yet, this causes
      "Guest moved used index from XXX to YYY" assertions.
      
      The solution is to split out host notifier handling
      from vhost VQ setup and disable notifiers as our last step
      when we stop vhost-net. For symmetry enable them first thing
      on start.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      b0b3db79
  14. 21 8月, 2011 1 次提交
  15. 14 6月, 2011 1 次提交
  16. 12 6月, 2011 1 次提交
  17. 02 2月, 2011 1 次提交
  18. 14 9月, 2010 1 次提交
  19. 08 9月, 2010 1 次提交
  20. 31 7月, 2010 1 次提交
  21. 28 5月, 2010 1 次提交
  22. 22 5月, 2010 1 次提交
  23. 14 4月, 2010 1 次提交
  24. 12 4月, 2010 1 次提交
  25. 02 4月, 2010 1 次提交