diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-03-05 13:45:22 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 23:02:25 +0100 |
| commit | 092b6d1e885c27222a3ff929c56cb71d3f5df8ab (patch) | |
| tree | 90edc87e085f5498203a1c1adf5becf94ce6561e /scripts/qapi/introspect.py | |
| parent | a9d8ba2be58e067bdfbff830eb9ff438d8db7f10 (diff) | |
| download | focaccia-qemu-092b6d1e885c27222a3ff929c56cb71d3f5df8ab.tar.gz focaccia-qemu-092b6d1e885c27222a3ff929c56cb71d3f5df8ab.zip | |
hw/usb/quirks: Use smaller types to reduce .rodata by 10KiB
The USB descriptor sizes are specified as 16-bit for idVendor / idProduct, and 8-bit for bInterfaceClass / bInterfaceSubClass / bInterfaceProtocol. Doing so we reduce the usbredir_raw_serial_ids[] and usbredir_ftdi_serial_ids[] arrays from 16KiB to 6KiB (size reported on x86_64 host, building with --extra-cflags=-Os). Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions