1. 16 7月, 2013 1 次提交
    • M
      virtio-net: add feature bit for any header s/g · 488f069b
      Michael S. Tsirkin 提交于
      Old qemu versions required that 1st s/g entry is the header.
      
      Since QEMU 1.5, patchset titled "virtio-net: iovec handling cleanup"
      removed this limitation but a feature bit is needed so guests know it's
      safe to lay out header differently.
      
      This patch applies on top and adds such a feature bit to QEMU.
      It is set by default for virtio-net.
      virtio net header inline with the data is beneficial
      for latency and small packet bandwidth - guest driver
      code utilizing this feature has been acked but missed 3.11
      by a narrow margin, it's pending for 3.12.
      
      This feature bit is cleared by default when compatibility with old
      machine types is requested.
      
      Other performance-sensitive devices (blk and scsi)
      don't yet support arbitrary s/g layouts, so
      we only set this bit for virtio-net for now.
      There are plans to allow arbitrary layouts there, but
      no code has been posted yet.
      
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      488f069b
  2. 04 5月, 2013 1 次提交
  3. 25 4月, 2013 5 次提交
  4. 19 4月, 2013 1 次提交
  5. 17 4月, 2013 1 次提交
  6. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  7. 19 3月, 2013 1 次提交
  8. 01 3月, 2013 3 次提交
  9. 08 2月, 2013 1 次提交
  10. 02 2月, 2013 2 次提交
  11. 22 1月, 2013 1 次提交
  12. 08 1月, 2013 2 次提交
  13. 20 12月, 2012 1 次提交
  14. 19 12月, 2012 3 次提交
  15. 30 11月, 2012 1 次提交
  16. 16 11月, 2012 1 次提交
  17. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  18. 28 9月, 2012 1 次提交
    • A
      virtio: Introduce virtqueue_get_avail_bytes() · 0d8d7690
      Amit Shah 提交于
      The current virtqueue_avail_bytes() is oddly named, and checks if a
      particular number of bytes are available in a vq.  A better API is to
      fetch the number of bytes available in the vq, and let the caller do
      what's interesting with the numbers.
      
      Introduce virtqueue_get_avail_bytes(), which returns the number of bytes
      for buffers marked for both, in as well as out.  virtqueue_avail_bytes()
      is made a wrapper over this new function.
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      0d8d7690
  19. 07 8月, 2012 1 次提交
  20. 17 7月, 2012 1 次提交
  21. 12 7月, 2012 2 次提交
  22. 22 5月, 2012 1 次提交
  23. 19 4月, 2012 1 次提交
  24. 22 2月, 2012 1 次提交
  25. 29 11月, 2011 1 次提交
  26. 17 9月, 2011 1 次提交
  27. 12 9月, 2011 1 次提交
  28. 05 8月, 2011 1 次提交
  29. 05 7月, 2011 1 次提交