1. 01 9月, 2013 1 次提交
  2. 25 8月, 2013 1 次提交
  3. 12 8月, 2013 3 次提交
  4. 09 8月, 2013 1 次提交
  5. 29 7月, 2013 1 次提交
  6. 27 7月, 2013 1 次提交
  7. 19 7月, 2013 4 次提交
    • P
      virtio: Implement MMIO based virtio transport · 4b52530b
      Peter Maydell 提交于
      Add support for the generic MMIO based virtio transport.
      
      This patch includes some fixes for bugs spotted by
      Ying-Shiuan Pan <yspan@itri.org.tw>.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NKONRAD Frederic <fred.konrad@greensocs.com>
      Message-id: 1373977512-28932-6-git-send-email-peter.maydell@linaro.org
      [Fred changes: updated to new virtio-bus mechanisms]
      Signed-off-by: NKONRAD Frederic <fred.konrad@greensocs.com>
      [PMM changes:
       * fixed trivial makefile conflict
       * removed unused int_enable
       * host_features doesn't need migrating
       * reset guest accessible state in the reset function
       * minor style fixes like extra blank lines
       * RAZ/WI if there's no backend
       * made transport size 0x200, in line with kvmtool
       * set has_variable_vring_alignment
      ]
      4b52530b
    • P
      virtio: Support transports which can specify the vring alignment · 6ce69d1c
      Peter Maydell 提交于
      Support virtio transports which can specify the vring alignment
      (ie where the guest communicates this to the host) by providing
      a new virtio_queue_set_align() function. (The default alignment
      remains as before.)
      
      Transports which wish to make use of this must set the
      has_variable_vring_alignment field in their VirtioBusClass
      struct to true; they can then change the alignment via
      virtio_queue_set_align().
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1373977512-28932-5-git-send-email-peter.maydell@linaro.org
      6ce69d1c
    • P
      virtio: Add support for guest setting of queue size · e63c0ba1
      Peter Maydell 提交于
      The MMIO virtio transport spec allows the guest to tell the host how
      large the queue size is. Add virtio_queue_set_num() function which
      implements this in the QEMU common virtio support code.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1373977512-28932-4-git-send-email-peter.maydell@linaro.org
      e63c0ba1
    • S
      dataplane: sync virtio.c and vring.c virtqueue state · 9154b02c
      Stefan Hajnoczi 提交于
      Load the virtio.c state into vring.c when we start dataplane mode and
      vice versa when stopping dataplane mode.  This patch makes it possible
      to start and stop dataplane any time while the guest is running.
      
      This will eventually allow us to go back to QEMU main loop for
      bdrv_drain_all() and live migration.  In the meantime, this patch makes
      the dataplane lifecycle more robust but should make no visible
      difference.  It may be useful in the virtio-net dataplane effort.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      9154b02c
  8. 04 7月, 2013 4 次提交
  9. 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
  10. 18 6月, 2013 1 次提交
  11. 31 5月, 2013 1 次提交
    • A
      qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path · bbfa18fc
      Amos Kong 提交于
      Recent virtio refactoring in QEMU made virtio-bus become the parent bus
      of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation,
      typename will be added to fw_dev_path by default, the new fw_dev_path
      could not be identified by seabios. It causes that bootindex parameter
      of scsi device doesn't work.
      
      This patch implements get_fw_dev_path() in BusClass, it will be called
      if bus doesn't implement the method, tyename will be added to
      fw_dev_path. If the implemented method returns NULL, nothing will be
      added to fw_dev_path.
      
      It also implements virtio_bus_get_fw_dev_path() to return NULL. Then
      QEMU will still pass original style of fw_dev_path to seabios.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Message-id: 1369814202-10346-1-git-send-email-akong@redhat.com
      --
      v2: only add nothing to fw_dev_path when get_fw_dev_path() is
          implemented and returns NULL. then it will not effect other devices
          don't have get_fw_dev_path() implementation.
      v3: implement default get_fw_dev_path() in BusClass
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bbfa18fc
  12. 29 5月, 2013 1 次提交
  13. 17 5月, 2013 1 次提交
  14. 15 5月, 2013 1 次提交
  15. 09 5月, 2013 2 次提交
  16. 04 5月, 2013 4 次提交
  17. 25 4月, 2013 12 次提交