All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL v2 1.0] usb patch queue
@ 2011-11-21 16:15 Gerd Hoffmann
  2011-11-21 16:15 ` [Qemu-devel] [PATCH 1/7] usb-storage: move status debug message to usb_msd_send_status Gerd Hoffmann
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2011-11-21 16:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

This pull fixes SYNCRONIZE_CACHE handling in usb-storage code.

The SYNCRONIZE_CACHE scsi command is different from all other ones:
It doesn't transfer any data, but still doesn't complete instantly.
usb-storage failes to handle this case correctly, resulting in all sorts
of funky assert failures and segfaults when the guest writes to a
virtual usb stick and flushes stuff.

Patches 1-4 are minor cleanups for usb-storage (slighly improved scsi
request tracking).  Patch 5 is the actual bugfix, which depends on the
cleanups.

Patches 6+7 are bonus fixes for Coverity-spotted issues which are
sitting in the usb patch queue for a while already.

The following changes since commit bc4268998d154b9b3cc86a7b6bd932cc974591c9:

  x86: fix pcmpestrm and pcmpistrm (2011-11-19 13:51:27 +0000)

are available in the git repository at:
  git://git.kraxel.org/qemu usb.31

Gerd Hoffmann (7):
      usb-storage: move status debug message to usb_msd_send_status.
      usb-storage: fill status in complete callback.
      usb-storage: drop tag from device state.
      usb-storage: drop result from device state.
      usb-storage: don't try to send the status early.
      ehci: add assert
      usb-linux: fix /proc/bus/usb/devices scan

 hw/usb-ehci.c |    1 +
 hw/usb-msd.c  |   65 ++++++++++++++++++++++++++++++--------------------------
 usb-linux.c   |    7 +++++-
 3 files changed, 42 insertions(+), 31 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-11-22  0:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 16:15 [Qemu-devel] [PULL v2 1.0] usb patch queue Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 1/7] usb-storage: move status debug message to usb_msd_send_status Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 2/7] usb-storage: fill status in complete callback Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 3/7] usb-storage: drop tag from device state Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 4/7] usb-storage: drop result " Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 5/7] usb-storage: don't try to send the status early Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 6/7] ehci: add assert Gerd Hoffmann
2011-11-21 16:15 ` [Qemu-devel] [PATCH 7/7] usb-linux: fix /proc/bus/usb/devices scan Gerd Hoffmann
2011-11-21 17:17   ` Markus Armbruster
2011-11-22  0:20 ` [Qemu-devel] [PULL v2 1.0] usb patch queue Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.