All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] Usb 20180312 patches
@ 2018-03-12 11:05 Gerd Hoffmann
  2018-03-12 11:05 ` [Qemu-devel] [PULL 1/1] usbredir: reorder fields in USBRedirDevice to reduce padding Gerd Hoffmann
  2018-03-13  9:43 ` [Qemu-devel] [PULL 0/1] Usb 20180312 patches Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2018-03-12 11:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: 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

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

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

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

-- 
2.9.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL 1/1] usbredir: reorder fields in USBRedirDevice to reduce padding
  2018-03-12 11:05 [Qemu-devel] [PULL 0/1] Usb 20180312 patches Gerd Hoffmann
@ 2018-03-12 11:05 ` Gerd Hoffmann
  2018-03-13  9:43 ` [Qemu-devel] [PULL 0/1] Usb 20180312 patches Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2018-03-12 11:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann, zhenwei.pi

From: "zhenwei.pi" <zhenwei.pi@youruncloud.com>

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

Signed-off-by: zhenwei.pi <zhenwei.pi@youruncloud.com>
Message-id: 1520318781-22644-1-git-send-email-zhenwei.pi@youruncloud.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/usb/redirect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index ec174309db..65a9196c1a 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -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;
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL 0/1] Usb 20180312 patches
  2018-03-12 11:05 [Qemu-devel] [PULL 0/1] Usb 20180312 patches Gerd Hoffmann
  2018-03-12 11:05 ` [Qemu-devel] [PULL 1/1] usbredir: reorder fields in USBRedirDevice to reduce padding Gerd Hoffmann
@ 2018-03-13  9:43 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2018-03-13  9:43 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: QEMU Developers

On 12 March 2018 at 11:05, Gerd Hoffmann <kraxel@redhat.com> wrote:
> 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(-)

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-13  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 11:05 [Qemu-devel] [PULL 0/1] Usb 20180312 patches Gerd Hoffmann
2018-03-12 11:05 ` [Qemu-devel] [PULL 1/1] usbredir: reorder fields in USBRedirDevice to reduce padding Gerd Hoffmann
2018-03-13  9:43 ` [Qemu-devel] [PULL 0/1] Usb 20180312 patches Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.