[Qemu-devel] [PATCH v3 2/2] usb-mtp: added object properties

2016-08-06 Thread Isaac Lozano
this property, it seems, so we can cheat a bit and just use the object handle for it. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- hw/usb/dev-mtp.c | 177 +++ 1 file changed, 177 insertions(+) diff --git a/hw/usb/dev-mtp.c b/hw/us

[Qemu-devel] [PATCH v3 0/2] usb-mtp: Added support for sending files larger than 4gb

2016-08-06 Thread Isaac Lozano
properties to support object properties, though. But most of the properties are data that we already have access to. Isaac Lozano (2): usb-mtp: fix sending files larger than 4gb usb-mtp: added object properties hw/usb/dev-mtp.c | 197 +-- 1

[Qemu-devel] [PATCH v2 2/2] usb-mtp: added object properties

2016-07-21 Thread Isaac Lozano
this property, it seems, so we can cheat a bit and just use the object handle for it. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- hw/usb/dev-mtp.c | 186 +-- 1 file changed, 181 insertions(+), 5 deletions(-) diff --git a/hw/usb/dev

[Qemu-devel] [PATCH v2 1/2] usb-mtp: fix sending files larger than 4gb

2016-07-21 Thread Isaac Lozano
MTP requires that if a file is larger than 4gb or if sending data larger than 4gb, that the length field be set to 0x. Also widened a couple variables to prevent overflow errors. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- hw/usb/dev-mtp.c | 21 -

[Qemu-devel] [PATCH v2 0/2] usb-mtp: Added support for sending files larger than 4gb

2016-07-21 Thread Isaac Lozano
properties to support object properties, though. But most of the properties are data that we already have access to. Isaac Lozano (2): usb-mtp: fix sending files larger than 4gb usb-mtp: added object properties hw/usb/dev-mtp.c | 197 +-- 1

Re: [Qemu-devel] [PATCH] usb-mtp: added support for files larger than 4gb

2016-07-15 Thread Isaac Lozano
ld. Replacing the RES_GENERAL_ERROR with RES_INVALID_OBJECT_PROP_CODE (after adding it to the enum) should fix that. I'll get a v2 in soon. - Isaac Lozano

[Qemu-devel] [PATCH] usb-mtp: added support for files larger than 4gb

2016-07-14 Thread Isaac Lozano
Added support for sending data larger than 4gb. Also implemented object properties so that Windows can receive >4gb files. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- hw/usb/dev-mtp.c | 196 +-- 1 file changed, 191 inserti

[Qemu-devel] [PATCH] usb-mtp: fix usb_mtp_get_device_info so that libmtp on the guest doesn't complain

2016-04-17 Thread Isaac Lozano
continue anyway. This is because libmtp expects a MTP Vendor Extension ID of 0x0006 and a MTP Version of 0x0064. These numbers are taken from Microsoft's MTP Vendor Extension Identification Message page and are what most physical devices show. Signed-off-by: Isaac Lozano <109loza...@g

[Qemu-devel] [PATCH v2] util: Improved qemu_hexmap() to include an ascii dump of the buffer

2016-03-25 Thread Isaac Lozano
qemu_hexdump() in util/hexdump.c has been changed to give also include a ascii dump of the buffer. Also, calls to hex_dump() in net/net.c have been replaced with calls to qemu_hexdump(). This takes care of two misc BiteSized Tasks. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- v2:

[Qemu-devel] [PATCH] util: Improved qemu_hexmap() to include an ascii dump of the buffer

2016-03-22 Thread Isaac Lozano
qemu_hexdump() in util/hexdump.c has been changed to give also include a ascii dump of the buffer. Also, calls to hex_dump() in net/net.c have been replaced with calls to qemu_hexdump(). This takes care of two misc BiteSized Tasks. Signed-off-by: Isaac Lozano <109loza...@gmail.com> --- net