From 37f78fd8e2c17ac63ba5fcbd9b3d0e616e921606 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Thu, 20 Mar 2014 15:52:34 +0100 Subject: unifying: introduce usbdump property to specify dump name Stop hard-coding capture file and introduce the "usbdump" property to specify the capture file path. When omitted, no capture will be done. Signed-off-by: Peter Wu --- hw/usb/hid-logitech-dj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/usb/hid-logitech-dj.h') diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h index 6a2ca18413..de46a74453 100644 --- a/hw/usb/hid-logitech-dj.h +++ b/hw/usb/hid-logitech-dj.h @@ -223,6 +223,7 @@ typedef struct { typedef struct USBLtunifyState { USBDevice dev; USBEndpoint *intr[3]; /* interfaces (keyboard, mouse, DJ) */ + char *usbdump_filename; UsbDumpState *usb_dump_state; HIDState hid[2]; /* HID devices (keyboard, mouse) */ -- cgit v1.2.1