1. 11 9月, 2012 4 次提交
    • G
      xhci: trace cc codes in cleartext · 873123fe
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      873123fe
    • G
      xhci: drop buffering · d5a15814
      Gerd Hoffmann 提交于
      This patch splits the xhci_xfer_data function into three.
      The xhci_xfer_data function used to do does two things:
      
        (1) copy transfer data between guest memory and a temporary buffer.
        (2) report transfer results to the guest using events.
      
      Now we three functions to handle this:
      
        (1) xhci_xfer_map creates a scatter list for the transfer and
            uses that (instead of the temporary buffer) to build a
            USBPacket.
        (2) xhci_xfer_unmap undoes the mapping.
        (3) xhci_xfer_report sends out events.
      
      The patch also fixes reporting of transaction errors which must be
      reported unconditinally, not only in case the guest asks for it
      using the ISP flag.
      
      [ v2: fix warning ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      d5a15814
    • G
      ehci: add doorbell trace events · 1defcbd1
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1defcbd1
    • G
      ehci: trace guest bugs · 5c514681
      Gerd Hoffmann 提交于
      make qemu_queue_{cancel,reset} return the number of packets released,
      so the caller can figure whenever there have been active packets even
      though there shouldn't have been any.  Add tracepoint to log this.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      5c514681
  2. 05 9月, 2012 1 次提交
    • A
      qxl: add QXL_IO_MONITORS_CONFIG_ASYNC · 020af1c4
      Alon Levy 提交于
      Revision bumped to 4 for new IO support, enabled for spice-server >=
      0.11.1. New io enabled if revision is 4. Revision can be set to 4.
      
      [ kraxel: 3 continues to be the default revision.  Once we have a new
                stable spice-server release and the qemu patches to enable
                the new bits merged we'll go flip the switch and make rev4
                the default ]
      
      This io calls the corresponding new spice api
      spice_qxl_monitors_config_async to let spice-server read a new guest set
      monitors config and notify the client.
      
      On migration reissue spice_qxl_monitors_config_async.
      
      RHBZ: 770842
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      
      fixup
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      020af1c4
  3. 16 8月, 2012 2 次提交
  4. 27 7月, 2012 2 次提交
  5. 26 7月, 2012 1 次提交
  6. 17 7月, 2012 2 次提交
  7. 14 7月, 2012 4 次提交
  8. 12 7月, 2012 2 次提交
    • G
      ehci: implement Interrupt Threshold Control support · 7efc17af
      Gerd Hoffmann 提交于
      Also reorganize and comment the irq functions while being at it.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      7efc17af
    • G
      usb: add usb attached scsi emulation · 0f58f68b
      Gerd Hoffmann 提交于
      $subject says all.  First cut.
      
      It's a pure UAS (usb attached scsi) emulation, without BOT (bulk-only
      transport) compatibility.  If your guest can't handle it use usb-storage
      instead.
      
      The emulation works like any other scsi hba emulation (eps, lsi, virtio,
      megasas, ...).  It provides just the HBA where you can attach scsi
      devices as you like using '-device'.  A single scsi target with up to
      256 luns is supported.
      
      For now only usb 2.0 transport is supported.  This will change in the
      future though as I plan to use this as playground when codeing up &
      testing usb 3.0 transport and streams support in the qemu usb core and
      the xhci emulation.
      
      No migration support yet.  I'm planning to add usb 3.0 support first as
      this probably requires saving additional state.
      
      Special thanks go to Paolo for bringing the qemu scsi emulation into
      shape, so this can be added nicely without having to touch a single line
      of scsi code.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0f58f68b
  9. 09 7月, 2012 1 次提交
  10. 02 7月, 2012 1 次提交
  11. 29 6月, 2012 1 次提交
  12. 20 6月, 2012 1 次提交
  13. 16 6月, 2012 1 次提交
    • D
      Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG events · afeecec2
      Daniel P. Berrange 提交于
      Allow certain event types to be rate limited to avoid flooding
      monitor clients. The monitor_protocol_event() method is changed
      such that instead of immediately emitting the event to Monitor
      instances, it will call a new monitor_protocol_event_queue()
      method.
      
      This will check to see if the rate limit for the event has been
      exceeded, and if so schedule a timer to wakeup at the end of the
      rate limit period. If further events arrive before the timer fires,
      the previously queued event will be discarded in favour of the new
      event. The event will eventually be emitted when the timer fires.
      
      This logic is applied to RTC_CHANGE, BALLOON_CHANGE & WATCHDOG
      events, since the data associated with these events is stateless
      
       * monitor.c: Add support for rate limiting
       * monitor.h: Define monitor_global_init for one-time setup tasks
       * vl.c: Invoke monitor_global_init
       * trace-events: Add hooks for monitor event tracing
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Acked-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      afeecec2
  14. 07 6月, 2012 10 次提交
  15. 28 5月, 2012 1 次提交
  16. 18 4月, 2012 1 次提交
  17. 17 4月, 2012 5 次提交