[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Dumping USB packets

From: Jordan Bouyat
Subject: [Qemu-devel] Dumping USB packets
Date: Thu, 27 Jun 2013 15:06:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

Hi !
I recently grab a dummy usb
and modified it to behave like an HID mouse with the help of

It works, but my goal is to dump the whole USB packet in order to modify
it or replaying it.
I spend some hours to search in the source code, but the only data I
succeeded to dump are the content data of the USB packet in the
usb_dummy_handle_data() with the uint8_t buf[p->iov.size] variable.

I also search in the USBPacket strucure (include/hw/usb.h) with the
attribute data-buf[4096], but didn't succeed.

Could someone help me ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]