summaryrefslogtreecommitdiffstats
path: root/hw/usb/dev-mtp.c
Commit message (Expand)AuthorAgeFilesLines
* hw/usb: dev-mtp: Use g_mkdir()Bin Meng2022-10-311-2/+2
* Remove qemu-common.h include from most unitsMarc-André Lureau2022-04-061-1/+0Star
* hw/usb/dev-mtp: create directories with a+x mode maskVolker Rümelin2022-03-041-2/+2
* Mark remaining global TypeInfo instances as constBernhard Beschow2022-02-211-1/+1
* usb/dev-mtp: use GDateTime for formatting timestamp for objectsDaniel P. Berrangé2021-06-141-6/+3Star
* usb/mtp: avoid dynamic stack allocationGerd Hoffmann2021-05-041-1/+2
* Use OBJECT_DECLARE_SIMPLE_TYPE when possibleEduardo Habkost2020-09-181-2/+1Star
* Use DECLARE_*CHECKER* macrosEduardo Habkost2020-09-091-1/+2
* Move QOM typedefs and add missing includesEduardo Habkost2020-09-091-0/+1
* usb/dev-mtp: Fix Error double free after inotify failureMarkus Armbruster2020-07-021-2/+0Star
* error: Use error_reportf_err() where appropriateMarkus Armbruster2020-05-271-4/+5
* qdev: set properties with device_class_set_props()Marc-André Lureau2020-01-241-1/+1
* usb-mtp: add sanity checks on rootdirBandan Das2019-08-291-14/+24
* Include hw/qdev-properties.h lessMarkus Armbruster2019-08-161-0/+1
* Include migration/vmstate.h lessMarkus Armbruster2019-08-161-0/+1
* Include qemu-common.h exactly where neededMarkus Armbruster2019-06-121-0/+1
* Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster2019-06-121-1/+1
* usb-mtp: refactor the flow of usb_mtp_write_dataBandan Das2019-06-071-27/+30
* usb-mtp: change default to success for usb_mtp_update_objectBandan Das2019-05-021-1/+1
* usb-mtp: fix alignment of access of ObjectInfo filename fieldDaniel P. Berrangé2019-05-021-3/+3
* usb-mtp: fix string length for filename when writing metadataDaniel P. Berrangé2019-05-021-1/+1
* usb-mtp: fix bounds check for guest provided filenameDaniel P. Berrangé2019-04-161-2/+9
* filemon: fix watch IDs to avoid potential wraparound issuesDaniel P. Berrangé2019-04-021-5/+5
* usb-mtp: remove usb_mtp_object_free_oneBandan Das2019-04-021-12/+2Star
* usb-mtp: fix return status of deleteBandan Das2019-04-021-28/+34
* usb-mtp: prevent null dereference while deleting objectsBandan Das2019-03-071-3/+1Star
* usb-mtp: fix some usb_mtp_write_data return pathsBandan Das2019-03-071-8/+10
* usb-mtp: return incomplete transfer on a lstat failureBandan Das2019-03-071-5/+14
* hw/usb: switch MTP to use new inotify APIsDaniel P. Berrangé2019-02-261-164/+110Star
* hw/usb: fix const-ness for string params in MTP driverDaniel P. Berrangé2019-02-261-4/+4
* hw/usb: don't set IN_ISDIR for inotify watch in MTP driverDaniel P. Berrangé2019-02-261-2/+1Star
* usb-mtp: replace the homebrew write with qemu_write_fullBandan Das2019-01-301-11/+3Star
* usb-mtp: breakup MTP write into smaller chunksBandan Das2019-01-301-43/+91
* usb-mtp: Reallocate buffer in multiples of MTP_WRITE_BUF_SZBandan Das2019-01-301-14/+13Star
* usb: dev-mtp: close fd in usb_mtp_object_readdir()Li Qiang2019-01-301-0/+1
* qemu/queue.h: simplify reverse access to QTAILQPaolo Bonzini2019-01-111-2/+2
* usb: dev-mtp: fix memory leak in error pathLi Qiang2019-01-081-0/+1
* usb-mtp: Limit filename to object information sizeMichael Hanselmann2018-12-141-4/+5
* usb-mtp: use O_NOFOLLOW and O_CLOEXEC.Gerd Hoffmann2018-12-141-4/+9
* usb-mtp: outlaw slashes in filenamesGerd Hoffmann2018-12-031-0/+6
* usb-mtp: fix utf16_to_strGerd Hoffmann2018-12-031-6/+12
* usb-mtp: reset ObjectInfo dataset size on cleanupBandan Das2018-10-011-0/+2
* usb-mtp: fix error conditions for write operationBandan2018-10-011-3/+4
* dev-mtp: rename x-root to rootdirBandan Das2018-08-211-2/+2
* dev-mtp: Add support for > 4GB file transfersBandan Das2018-08-211-4/+27
* dev-mtp: retry write for incomplete transfersBandan Das2018-08-211-2/+20
* dev-mtp: fix buffer allocation for writing file contentsBandan Das2018-08-211-2/+4
* dev-mtp: add support for canceling transactionBandan Das2018-08-211-4/+26
* usb-mtp: Return error on suspicious TYPE_DATA packet from initiatorBandan Das2018-06-121-0/+5
* usb/dev-mtp: Fix use of uninitialized valuesPhilippe Mathieu-Daudé2018-06-121-1/+5