[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/9] user-mode: Prune build dependencies (part 3)
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/9] user-mode: Prune build dependencies (part 3) |
Date: |
Mon, 16 Mar 2020 01:11:02 +0100 |
This is the second part of a series reducing user-mode
dependencies. By stripping out unused code, the build
and testing time is reduced (as is space used by objects).
Part 3:
- Extract code not related to user-mode from hw/core/qdev-properties.c
- Reduce user-mode QAPI generated files
Since v1:
- Addressed Richard and Paolo review comments
Patch missing review: #2 'Use qemu_strtoul() in set_pci_host_devaddr()'
v1: https://www.mail-archive.com/address@hidden/msg688486.html
full series available at:
repo: https://github.com/philmd/qemu/
branch: usermode_pruning-v2
Based-on: <address@hidden>
Philippe Mathieu-Daudé (9):
hw/core/qdev-properties: Use qemu_strtol() in set_mac() handler
hw/core/qdev-properties: Use qemu_strtoul() in set_pci_host_devaddr()
hw/core/qdev-properties: Fix code style
hw/core/qdev-properties: Export enum-related functions
hw/core/qdev-properties: Export qdev_prop_enum
hw/core/qdev-properties: Export some integer-related functions
hw/core/qdev-properties: Extract system-mode specific properties
hw/core: Add qdev stub for user-mode
qapi: Restrict code generated for user-mode
hw/core/qdev-prop-internal.h | 28 ++
include/hw/qdev-properties.h | 1 +
hw/core/qdev-properties-system.c | 602 ++++++++++++++++++++++++++++-
hw/core/qdev-properties.c | 643 ++-----------------------------
hw/core/qdev-stubs.c | 20 +
hw/core/Makefile.objs | 3 +
qapi/Makefile.objs | 37 +-
7 files changed, 714 insertions(+), 620 deletions(-)
create mode 100644 hw/core/qdev-prop-internal.h
create mode 100644 hw/core/qdev-stubs.c
--
2.21.1
- [PATCH v2 0/9] user-mode: Prune build dependencies (part 3),
Philippe Mathieu-Daudé <=
- [PATCH v2 1/9] hw/core/qdev-properties: Use qemu_strtol() in set_mac() handler, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 2/9] hw/core/qdev-properties: Use qemu_strtoul() in set_pci_host_devaddr(), Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 3/9] hw/core/qdev-properties: Fix code style, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 4/9] hw/core/qdev-properties: Export enum-related functions, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 5/9] hw/core/qdev-properties: Export qdev_prop_enum, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 6/9] hw/core/qdev-properties: Export some integer-related functions, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 8/9] hw/core: Add qdev stub for user-mode, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 9/9] qapi: Restrict code generated for user-mode, Philippe Mathieu-Daudé, 2020/03/15