1. 07 3月, 2011 6 次提交
  2. 25 1月, 2011 4 次提交
  3. 24 1月, 2011 1 次提交
    • A
      spice: add chardev (v5) · cbcc6336
      Alon Levy 提交于
      Adding a chardev backend for spice, where spice determines what
      to do with it based on the name attribute given during chardev creation.
      For usage by spice vdagent in conjunction with a properly named
      virtio-serial device, and future smartcard channel usage.
      
      Example usage:
       qemu -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent \
       -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
      
      v4->v5:
       * add tracing events
       * fix missing comma
       * fix help string to show debug is optional
      
      v3->v4:
       * updated commit message
      
      v1->v3 changes: (v2 had a wrong commit message)
       * removed spice-qemu-char.h, folded into ui/qemu-spice.h
       * removed dead IOCTL code
       * removed comment
       * removed ifdef CONFIG_SPICE from qemu-config.c and qemu-options.hx help.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      cbcc6336
  4. 12 1月, 2011 1 次提交
  5. 11 1月, 2011 4 次提交
    • G
      usb: move remote wakeup handling to common code · ed5a83dd
      Gerd Hoffmann 提交于
      This patch moves setting and clearing the remote_wakeup feature
      bit (via USB_REQ_{SET,CLEAR}_FEATURE) to common code.  Also
      USB_REQ_GET_STATUS handling is moved to common code.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      ed5a83dd
    • G
      usb: move USB_REQ_{GET,SET}_CONFIGURATION handling to common code · a980a065
      Gerd Hoffmann 提交于
      This patch adds fields to the USBDevice struct for the current
      speed (hard-wired to full speed for now) and current device
      configuration.  Also a init function is added which inializes
      these fields.  This allows USB_REQ_{GET,SET}_CONFIGURATION
      handling to be moved to common code.
      
      For most drivers the conversion is trivial ad they support a single
      configuration only anyway.  One exception is bluetooth where some
      device-specific setup code runs after get/set configuration.  The
      other is usb-net which actually has two configurations so the
      the code to check for the active configuration has been adapted.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a980a065
    • G
      usb: move USB_REQ_SET_ADDRESS handling to common code · 41c6abbd
      Gerd Hoffmann 提交于
      USB_REQ_SET_ADDRESS handling is identical in *all* emulated devices.
      Move it to common code.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      41c6abbd
    • G
      usb: data structs and helpers for usb descriptors. · 37fb59d3
      Gerd Hoffmann 提交于
      This patch adds hw/usb-desc.[ch] files.  They carry data structures
      for various usb descriptors and helper functions to generate usb
      packets from the structures.
      
      The intention is to have a internal representation of the device
      desription which is more usable than the current char array blobs,
      so we can have common code handle common usb device emulation using
      the device description.
      
      The usage of this infrastructure is optional for usb drivers as there
      are cases such as pass-through where it probably isn't very useful.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      37fb59d3
  6. 17 12月, 2010 2 次提交
    • S
      qed: Read/write support · eabba580
      Stefan Hajnoczi 提交于
      This patch implements the read/write state machine.  Operations are
      fully asynchronous and multiple operations may be active at any time.
      
      Allocating writes lock tables to ensure metadata updates do not
      interfere with each other.  If two allocating writes need to update the
      same L2 table they will run sequentially.  If two allocating writes need
      to update different L2 tables they will run in parallel.
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      eabba580
    • S
      qed: Table, L2 cache, and cluster functions · 298800ca
      Stefan Hajnoczi 提交于
      This patch adds code to look up data cluster offsets in the image via
      the L1/L2 tables.  The L2 tables are writethrough cached in memory for
      performance (each read/write requires a lookup so it is essential to
      cache the tables).
      
      With cluster lookup code in place it is possible to implement
      bdrv_is_allocated() to query the number of contiguous
      allocated/unallocated clusters.
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      298800ca
  7. 21 11月, 2010 1 次提交
  8. 31 10月, 2010 1 次提交
  9. 21 10月, 2010 1 次提交
  10. 09 10月, 2010 2 次提交
  11. 11 9月, 2010 1 次提交
  12. 10 9月, 2010 7 次提交