]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
qapi: Empty out qapi-schema.json
authorMarkus Armbruster <armbru@redhat.com>
Mon, 26 Feb 2018 23:13:27 +0000 (17:13 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2018 19:45:50 +0000 (13:45 -0600)
commit112ed241f5d9a411dbca92bdf597151cb853c6a7
treec32080433ead621e19d74a981be144a916a02f33
parent9af2398977a78d37bf184d6ff6bd04c72bfbf006
qapi: Empty out qapi-schema.json

The previous commit improved compile time by including less of the
generated QAPI headers.  This is impossible for stuff defined directly
in qapi-schema.json, because that ends up in headers that that pull in
everything.

Move everything but include directives from qapi-schema.json to new
sub-module qapi/misc.json, then include just the "misc" shard where
possible.

It's possible everywhere, except:

* monitor.c needs qmp-command.h to get qmp_init_marshal()

* monitor.c, ui/vnc.c and the generated qapi-event-FOO.c need
  qapi-event.h to get enum QAPIEvent

Perhaps we'll get rid of those some other day.

Adding a type to qapi/migration.json now recompiles some 120 instead
of 2300 out of 5100 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-25-armbru@redhat.com>
[eblake: rebase to master]
Signed-off-by: Eric Blake <eblake@redhat.com>
50 files changed:
.gitignore
Makefile
Makefile.objs
arch_init.c
balloon.c
block/iscsi.c
cpus.c
dump.c
hmp.c
hw/acpi/core.c
hw/acpi/cpu.c
hw/acpi/memory_hotplug.c
hw/acpi/vmgenid.c
hw/core/qdev.c
hw/i386/xen/xen-hvm.c
hw/ipmi/ipmi.c
hw/pci/pci-stub.c
hw/pci/pci.c
hw/ppc/spapr_rtc.c
hw/s390x/s390-skeys.c
hw/timer/mc146818rtc.c
hw/virtio/virtio-balloon.c
hw/watchdog/watchdog.c
include/hw/qdev-properties.h
include/monitor/monitor.h
include/sysemu/arch_init.h
include/sysemu/balloon.h
include/sysemu/dump.h
include/sysemu/hostmem.h
include/sysemu/replay.h
iothread.c
migration/savevm.c
numa.c
qapi-schema.json
qapi/misc.json [new file with mode: 0644]
qdev-monitor.c
qmp.c
stubs/uuid.c
stubs/vmgenid.c
stubs/xen-hvm.c
target/arm/monitor.c
target/i386/cpu.c
target/s390x/cpu.c
target/s390x/sigp.c
tests/qmp-test.c
tests/test-qobject-input-visitor.c
tests/test-visitor-serialization.c
ui/gtk.c
util/qemu-config.c
vl.c