Skip to contentSkip to conversation

Usb 20180312 patches

GIT PULL Applied Gerd Hoffmann 2 participants 3 messages Mar 12, 2018 – Mar 13, 2018

lore
Share & tools
lore
#0 lore raw

The following changes since commit e4ae62b802cec437f877f2cadc4ef059cc0eca76:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2018-03-09 17:28:16 +0000)

are available in the git repository at:

git://git.kraxel.org/qemu tags/usb-20180312-pull-request

for you to fetch changes up to c7ac1ab0201d47d12b75e1c98d79869bcdad5732:

usbredir: reorder fields in USBRedirDevice to reduce padding (2018-03-12 11:43:49 +0100)

----------------------------------------------------------------
usbredir: reorder fields in USBRedirDevice to reduce padding

----------------------------------------------------------------

zhenwei.pi (1):
usbredir: reorder fields in USBRedirDevice to reduce padding

 hw/usb/redirect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.3
#1 lore raw

[Qemu-devel] [PULL 1/1] usbredir: reorder fields in USBRedirDevice to reduce padding

From: "zhenwei.pi" <[email protected]>

Changing the current ordering saves 8 bytes per entry in x86_64.

Message-id: [email protected]

---
 hw/usb/redirect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/usb/redirect.c +2 -2
index ec174309db..65a9196c1a 100644
@@ -106,10 +106,10 @@ struct USBRedirDevice {
     USBDevice dev;
     /* Properties */
     CharBackend cs;
+    bool enable_streams;
     uint8_t debug;
-    char *filter_str;
     int32_t bootindex;
-    bool enable_streams;
+    char *filter_str;
     /* Data passed from chardev the fd_read cb to the usbredirparser read cb */
     const uint8_t *read_buf;
     int read_buf_size;
Signature · 1 line
2.9.3
#2 lore raw
In reply to Gerd Hoffmann
Quoted 15 lines · Gerd Hoffmann

The following changes since commit e4ae62b802cec437f877f2cadc4ef059cc0eca76:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2018-03-09 17:28:16 +0000)

are available in the git repository at:

git://git.kraxel.org/qemu tags/usb-20180312-pull-request

for you to fetch changes up to c7ac1ab0201d47d12b75e1c98d79869bcdad5732:

usbredir: reorder fields in USBRedirDevice to reduce padding (2018-03-12 11:43:49 +0100)

----------------------------------------------------------------
usbredir: reorder fields in USBRedirDevice to reduce padding

Quoted 7 lines

----------------------------------------------------------------

zhenwei.pi (1):
usbredir: reorder fields in USBRedirDevice to reduce padding

 hw/usb/redirect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

-- PMM