qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] usb-mtp events support
@ 2015-11-10 22:58 Bandan Das
  2015-11-10 22:58 ` [Qemu-devel] [PATCH v2 1/4] usb-mtp: use a list for keeping track of children Bandan Das
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bandan Das @ 2015-11-10 22:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel

This series adds support for mtp events that are piggybacked on
top of the Linux provided inotify mechanism. It performs well with some
light unit testing in a linux guest. The mtp share is still read only,
but now the guest will notice updates to the share as long as the
mtp client being used supports it.

v2:
1/4: Split up the check in usb_mtp_handle_reset into a new patch
     Rerrange the check for a null "o"
2/4:
     New patch that handles freeing of objects during a reset
3/4:
     Reword comment for DELETE event
     Reword comment for CREATE event for directories
     Rearrange the inotifyfd reading loop for readability
     Check for duplicates when creating a new object
     Remove unnecessary enum and replace with mtp event codes
     Add ifdefs and empty stubs for non linux systems. Ugly but I really
     wanted to minimize ifdef clutter. The other option is to compile
     mtp support for linux only but that seems a bit restrictive.
     Change behavior for "failed events" Instead of bailing out immediately,
     check if there's still some left that we can process.
4/4: No change

Bandan Das (4):
  usb-mtp: use a list for keeping track of children
  usb-mtp: free objects on a mtp reset
  usb-mtp: Add support for inotify based file monitoring
  usb-mtp: add support for basic mtp events

 hw/usb/dev-mtp.c | 365 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
 trace-events     |   4 +
 2 files changed, 351 insertions(+), 18 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2015-11-13 17:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10 22:58 [Qemu-devel] [PATCH v2 0/4] usb-mtp events support Bandan Das
2015-11-10 22:58 ` [Qemu-devel] [PATCH v2 1/4] usb-mtp: use a list for keeping track of children Bandan Das
2015-11-10 22:58 ` [Qemu-devel] [PATCH v2 2/4] usb-mtp: free objects on a mtp reset Bandan Das
2015-11-10 22:58 ` [Qemu-devel] [PATCH v2 3/4] usb-mtp: Add support for inotify based file monitoring Bandan Das
2015-11-13 12:34   ` Gerd Hoffmann
2015-11-13 17:16     ` Bandan Das
2015-11-10 22:58 ` [Qemu-devel] [PATCH v2 4/4] usb-mtp: add support for basic mtp events Bandan Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).