Skip to content

user-mode: Prune build dependencies (part 2)

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target/i386: Restrict X86CPUFeatureWord to X86 targetsqapi/machine-target.json qapi/machine.json target/i386/Makefile.objs +2 more+70 -441 reply
2/9qapi/misc: Move add_client command with chardev codemonitor/qmp-cmds.c qapi/char.json qapi/misc.json+33 -322 replies
3/9qapi/misc: Restrict LostTickPolicy enum to machine codehw/core/qdev-properties.c hw/i386/kvm/i8254.c include/hw/rtc/mc146818rtc.h +2 more+35 -340 replies
4/9qapi/misc: Restrict balloon-related commands to machine codeballoon.c hw/virtio/virtio-balloon.c include/sysemu/balloon.h +3 more+87 -860 replies
5/9qapi/misc: Move query-uuid command with block codeblock/iscsi.c qapi/block-core.json qapi/misc.json +1 more+32 -320 replies
6/9qapi/misc: Restrict query-vm-generation-id command to machine codehw/acpi/vmgenid.c qapi/machine.json qapi/misc.json +1 more+22 -230 replies
7/9qapi/misc: Restrict ACPI commands to machine codehw/acpi/core.c hw/acpi/cpu.c hw/acpi/memory_hotplug.c +3 more+158 -1580 replies
8/9qapi/misc: Restrict PCI commands to machine codehw/pci/pci-stub.c hw/pci/pci.c qapi/machine.json +1 more+306 -3060 replies
9/9qapi/misc: Restrict device memory commands to machine codeinclude/hw/mem/memory-device.h include/hw/virtio/virtio-pmem.h qapi/machine.json +1 more+133 -1330 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchRichard Henderson
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] user-mode: Prune build dependencies (part 2)

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 2:
- Extract code not related to user-mode from qapi/misc.json

Based-on: <[email protected]>

Philippe Mathieu-Daudé (9):
target/i386: Restrict X86CPUFeatureWord to X86 targets qapi/misc: Move add_client command with chardev code qapi/misc: Restrict LostTickPolicy enum to machine code qapi/misc: Restrict balloon-related commands to machine code qapi/misc: Move query-uuid command with block code qapi/misc: Restrict query-vm-generation-id command to machine code qapi/misc: Restrict ACPI commands to machine code qapi/misc: Restrict PCI commands to machine code qapi/misc: Restrict device memory commands to machine code

 qapi/block-core.json                 |  30 +
 qapi/char.json                       |  32 ++
 qapi/machine-target.json             |  45 ++
 qapi/machine.json                    | 766 ++++++++++++++++++++++++--
 qapi/misc.json                       | 788 ---------------------------
 include/hw/acpi/acpi_dev_interface.h |   2 +-
 include/hw/mem/memory-device.h       |   1 +
 include/hw/rtc/mc146818rtc.h         |   2 +-
 include/hw/virtio/virtio-pmem.h      |   2 +-
 include/sysemu/balloon.h             |   2 +-
 balloon.c                            |   2 +-
 block/iscsi.c                        |   2 +-
 hw/acpi/core.c                       |   2 +-
 hw/acpi/cpu.c                        |   2 +-
 hw/acpi/memory_hotplug.c             |   2 +-
 hw/acpi/vmgenid.c                    |   2 +-
 hw/core/qdev-properties.c            |   1 +
 hw/i386/kvm/i8254.c                  |   2 +-
 hw/pci/pci-stub.c                    |   2 +-
 hw/pci/pci.c                         |   2 +-
 hw/virtio/virtio-balloon.c           |   2 +-
 monitor/hmp-cmds.c                   |   1 +
 monitor/qmp-cmds.c                   |   1 +
 stubs/uuid.c                         |   2 +-
 stubs/vmgenid.c                      |   2 +-
 target/i386/cpu.c                    |   2 +-
 target/i386/machine-stub.c           |  22 +
 target/i386/Makefile.objs            |   3 +-
 28 files changed, 876 insertions(+), 848 deletions(-)
 create mode 100644 target/i386/machine-stub.c
Signature · 1 line
2.21.1