aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-mtp.c
AgeCommit message (Expand)AuthorFilesLines
2020-09-18Use OBJECT_DECLARE_SIMPLE_TYPE when possibleEduardo Habkost1-2/+1
2020-09-09Use DECLARE_*CHECKER* macrosEduardo Habkost1-1/+2
2020-09-09Move QOM typedefs and add missing includesEduardo Habkost1-0/+1
2020-07-02usb/dev-mtp: Fix Error double free after inotify failureMarkus Armbruster1-2/+0
2020-05-27error: Use error_reportf_err() where appropriateMarkus Armbruster1-4/+5
2020-01-24qdev: set properties with device_class_set_props()Marc-André Lureau1-1/+1
2019-08-29usb-mtp: add sanity checks on rootdirBandan Das1-14/+24
2019-08-16Include hw/qdev-properties.h lessMarkus Armbruster1-0/+1
2019-08-16Include migration/vmstate.h lessMarkus Armbruster1-0/+1
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-0/+1
2019-06-12Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster1-1/+1
2019-06-07usb-mtp: refactor the flow of usb_mtp_write_dataBandan Das1-27/+30
2019-05-02usb-mtp: change default to success for usb_mtp_update_objectBandan Das1-1/+1
2019-05-02usb-mtp: fix alignment of access of ObjectInfo filename fieldDaniel P. Berrangé1-3/+3
2019-05-02usb-mtp: fix string length for filename when writing metadataDaniel P. Berrangé1-1/+1
2019-04-16usb-mtp: fix bounds check for guest provided filenameDaniel P. Berrangé1-2/+9
2019-04-02filemon: fix watch IDs to avoid potential wraparound issuesDaniel P. Berrangé1-5/+5
2019-04-02usb-mtp: remove usb_mtp_object_free_oneBandan Das1-12/+2
2019-04-02usb-mtp: fix return status of deleteBandan Das1-28/+34
2019-03-07usb-mtp: prevent null dereference while deleting objectsBandan Das1-3/+1
2019-03-07usb-mtp: fix some usb_mtp_write_data return pathsBandan Das1-8/+10
2019-03-07usb-mtp: return incomplete transfer on a lstat failureBandan Das1-5/+14
2019-02-26hw/usb: switch MTP to use new inotify APIsDaniel P. Berrangé1-164/+110
2019-02-26hw/usb: fix const-ness for string params in MTP driverDaniel P. Berrangé1-4/+4
2019-02-26hw/usb: don't set IN_ISDIR for inotify watch in MTP driverDaniel P. Berrangé1-2/+1
2019-01-30usb-mtp: replace the homebrew write with qemu_write_fullBandan Das1-11/+3
2019-01-30usb-mtp: breakup MTP write into smaller chunksBandan Das1-43/+91
2019-01-30usb-mtp: Reallocate buffer in multiples of MTP_WRITE_BUF_SZBandan Das1-14/+13
2019-01-30usb: dev-mtp: close fd in usb_mtp_object_readdir()Li Qiang1-0/+1
2019-01-11qemu/queue.h: simplify reverse access to QTAILQPaolo Bonzini1-2/+2
2019-01-08usb: dev-mtp: fix memory leak in error pathLi Qiang1-0/+1
2018-12-14usb-mtp: Limit filename to object information sizeMichael Hanselmann1-4/+5
2018-12-14usb-mtp: use O_NOFOLLOW and O_CLOEXEC.Gerd Hoffmann1-4/+9
2018-12-03usb-mtp: outlaw slashes in filenamesGerd Hoffmann1-0/+6
2018-12-03usb-mtp: fix utf16_to_strGerd Hoffmann1-6/+12
2018-10-01usb-mtp: reset ObjectInfo dataset size on cleanupBandan Das1-0/+2
2018-10-01usb-mtp: fix error conditions for write operationBandan1-3/+4
2018-08-21dev-mtp: rename x-root to rootdirBandan Das1-2/+2
2018-08-21dev-mtp: Add support for > 4GB file transfersBandan Das1-4/+27
2018-08-21dev-mtp: retry write for incomplete transfersBandan Das1-2/+20
2018-08-21dev-mtp: fix buffer allocation for writing file contentsBandan Das1-2/+4
2018-08-21dev-mtp: add support for canceling transactionBandan Das1-4/+26
2018-06-12usb-mtp: Return error on suspicious TYPE_DATA packet from initiatorBandan Das1-0/+5
2018-06-12usb/dev-mtp: Fix use of uninitialized valuesPhilippe Mathieu-Daudé1-1/+5
2018-06-01usb: use local path for local headersMichael S. Tsirkin1-1/+1
2018-05-07usb-mtp: Unconditionally check for the readonly bitBandan Das1-4/+5
2018-05-07usb-mtp: Add some NULL checks for issues pointed out by coverityBandan Das1-3/+3
2018-02-26usb-mtp: Advertise SendObjectInfo for write supportBandan Das1-2/+134
2018-02-26usb-mtp: Introduce write support for MTP objectsBandan Das1-2/+155
2018-02-26usb-mtp: Support delete of mtp objectsBandan Das1-0/+123