Hi Eduardo,
On 3/16/20 1:11 AM, Philippe Mathieu-Daudé wrote:
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/qemu-devel@nongnu.org/msg688486.html
full series available at:
repo: https://github.com/philmd/qemu/
branch: usermode_pruning-v2
Based-on: <20200316000348.29692-1-phi...@redhat.com>
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
If you have to respin "x86 and machine queue" please consider including
reviewed patches 1-7 :)
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