1. 04 9月, 2014 1 次提交
  2. 02 9月, 2014 1 次提交
  3. 23 6月, 2014 2 次提交
  4. 19 6月, 2014 5 次提交
  5. 11 6月, 2014 1 次提交
  6. 12 8月, 2013 1 次提交
    • M
      vhost: clear signalled_used_valid on vhost stop · 3561ba14
      Michael S. Tsirkin 提交于
      When vhost device stops, its implementation synchronizes kernel state
      back to virtio.c so we can continue emulating the device
      in userspace.
      
      This patch ensures that virtio.c's signalled_used_valid flag is reset so
      that userspace does not suppress guest notifications due to stale
      signalled_used values.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      3561ba14
  7. 04 7月, 2013 2 次提交
  8. 20 6月, 2013 1 次提交
    • P
      memory: make section size a 128-bit integer · 052e87b0
      Paolo Bonzini 提交于
      So far, the size of all regions passed to listeners could fit in 64 bits,
      because artificial regions (containers and aliases) are eliminated by
      the memory core, leaving only device regions which have reasonable sizes
      
      An IOMMU however cannot be eliminated by the memory core, and may have
      an artificial size, hence we may need 65 bits to represent its size.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      052e87b0
  9. 25 4月, 2013 1 次提交
  10. 19 4月, 2013 1 次提交
    • N
      vhost: Add vhost_commit callback for SeaBIOS ROM region re-mapping · af603142
      Nicholas Bellinger 提交于
      This patch follows MST's recommendation to move checks for
      vhost_verify_ring_mappings() -> cpu_physical_memory_map() operations
      from MemoryListener->region_[add,del]() -> vhost_set_memory() into
      final MemoryListener->commit() -> vhost_commit() callback.
      
      It addresses the case where virtio-scsi vq ioport RAM re-mapping
      to read-only SeaBIOS ROM triggers a cpu_physical_memory_map()
      NIL MemoryRegionSection pointer failure.
      
      Also save vhost_dev->mem_changed_[start,end]_addr values in
      vhost_set_memory() for final ranges_overlap checks.  (Thanks Paolo!)
      
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Asias He <asias@redhat.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      af603142
  11. 09 4月, 2013 2 次提交
  12. 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
  13. 27 2月, 2013 1 次提交
  14. 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
  15. 30 1月, 2013 1 次提交
  16. 08 1月, 2013 3 次提交
  17. 19 12月, 2012 2 次提交
  18. 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
  19. 22 10月, 2012 1 次提交
  20. 15 10月, 2012 1 次提交
  21. 07 9月, 2012 1 次提交
  22. 12 7月, 2012 1 次提交
  23. 11 4月, 2012 2 次提交
  24. 29 2月, 2012 4 次提交
  25. 26 1月, 2012 1 次提交
  26. 14 1月, 2012 1 次提交