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
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
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
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 -
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
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
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
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_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_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
10 matches
Mail list logo