qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

Include less of the generated modular QAPI headers

In my "build everything" tree, a change to the types in
qapi-schema.json triggers a recompile of about 4800 out of 5100
objects.

The previous commit split up qmp-commands.h, qmp-event.h, qmp-visit.h,
qapi-types.h. Each of these headers still includes all its shards.
Reduce compile time by including just the shards we actually need.

To illustrate the benefits: adding a type to qapi/migration.json now
recompiles some 2300 instead of 4800 objects. The next commit will
improve it further.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-24-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[eblake: rebase to master]
Signed-off-by: Eric Blake <eblake@redhat.com>

authored by

Markus Armbruster and committed by
Eric Blake
9af23989 252dc310

+135 -109
-1
backends/cryptodev.c
··· 26 26 #include "hw/boards.h" 27 27 #include "qapi/error.h" 28 28 #include "qapi/visitor.h" 29 - #include "qapi-visit.h" 30 29 #include "qemu/config-file.h" 31 30 #include "qom/object_interfaces.h" 32 31 #include "hw/virtio/virtio-crypto.h"
+2 -1
backends/hostmem.c
··· 9 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 10 10 * See the COPYING file in the top-level directory. 11 11 */ 12 + 12 13 #include "qemu/osdep.h" 13 14 #include "sysemu/hostmem.h" 14 15 #include "hw/boards.h" 15 16 #include "qapi/error.h" 17 + #include "qapi-builtin-visit.h" 16 18 #include "qapi/visitor.h" 17 - #include "qapi-visit.h" 18 19 #include "qemu/config-file.h" 19 20 #include "qom/object_interfaces.h" 20 21
-1
block.c
··· 41 41 #include "qemu/coroutine.h" 42 42 #include "block/qapi.h" 43 43 #include "qemu/timer.h" 44 - #include "qapi-event.h" 45 44 #include "qemu/cutils.h" 46 45 #include "qemu/id.h" 47 46
+1 -1
block/block-backend.c
··· 17 17 #include "block/throttle-groups.h" 18 18 #include "sysemu/blockdev.h" 19 19 #include "sysemu/sysemu.h" 20 - #include "qapi-event.h" 21 20 #include "qapi/error.h" 21 + #include "qapi/qapi-events-block.h" 22 22 #include "qemu/id.h" 23 23 #include "qemu/option.h" 24 24 #include "trace.h"
+1 -1
block/crypto.c
··· 24 24 #include "sysemu/block-backend.h" 25 25 #include "crypto/block.h" 26 26 #include "qapi/opts-visitor.h" 27 + #include "qapi/qapi-visit-crypto.h" 27 28 #include "qapi/qmp/qdict.h" 28 29 #include "qapi/qobject-input-visitor.h" 29 - #include "qapi-visit.h" 30 30 #include "qapi/error.h" 31 31 #include "qemu/option.h" 32 32 #include "block/crypto.h"
+1 -1
block/nbd.c
··· 33 33 #include "block/block_int.h" 34 34 #include "qemu/module.h" 35 35 #include "qemu/option.h" 36 - #include "qapi-visit.h" 36 + #include "qapi/qapi-visit-sockets.h" 37 37 #include "qapi/qobject-input-visitor.h" 38 38 #include "qapi/qobject-output-visitor.h" 39 39 #include "qapi/qmp/qdict.h"
+1 -1
block/nfs.c
··· 35 35 #include "qemu/uri.h" 36 36 #include "qemu/cutils.h" 37 37 #include "sysemu/sysemu.h" 38 + #include "qapi/qapi-visit-block-core.h" 38 39 #include "qapi/qmp/qdict.h" 39 40 #include "qapi/qmp/qstring.h" 40 - #include "qapi-visit.h" 41 41 #include "qapi/qobject-input-visitor.h" 42 42 #include "qapi/qobject-output-visitor.h" 43 43 #include <nfsc/libnfs.h>
+2 -2
block/qapi.c
··· 27 27 #include "block/block_int.h" 28 28 #include "block/throttle-groups.h" 29 29 #include "block/write-threshold.h" 30 - #include "qmp-commands.h" 31 - #include "qapi-visit.h" 32 30 #include "qapi/error.h" 31 + #include "qapi/qapi-commands-block-core.h" 33 32 #include "qapi/qobject-output-visitor.h" 33 + #include "qapi/qapi-visit-block-core.h" 34 34 #include "qapi/qmp/qbool.h" 35 35 #include "qapi/qmp/qdict.h" 36 36 #include "qapi/qmp/qlist.h"
+1 -2
block/qcow2.c
··· 30 30 #include "block/qcow2.h" 31 31 #include "qemu/error-report.h" 32 32 #include "qapi/error.h" 33 + #include "qapi/qapi-events-block-core.h" 33 34 #include "qapi/qmp/qdict.h" 34 35 #include "qapi/qmp/qstring.h" 35 - #include "qapi-event.h" 36 36 #include "trace.h" 37 37 #include "qemu/option_int.h" 38 38 #include "qemu/cutils.h" 39 39 #include "qemu/bswap.h" 40 40 #include "qapi/opts-visitor.h" 41 - #include "qapi-visit.h" 42 41 #include "block/crypto.h" 43 42 44 43 /*
+1 -1
block/quorum.c
··· 18 18 #include "qemu/option.h" 19 19 #include "block/block_int.h" 20 20 #include "qapi/error.h" 21 + #include "qapi/qapi-events-block.h" 21 22 #include "qapi/qmp/qdict.h" 22 23 #include "qapi/qmp/qerror.h" 23 24 #include "qapi/qmp/qlist.h" 24 25 #include "qapi/qmp/qstring.h" 25 - #include "qapi-event.h" 26 26 #include "crypto/hash.h" 27 27 28 28 #define HASH_LENGTH 32
+1 -1
block/sheepdog.c
··· 13 13 */ 14 14 15 15 #include "qemu/osdep.h" 16 - #include "qapi-visit.h" 17 16 #include "qapi/error.h" 17 + #include "qapi/qapi-visit-sockets.h" 18 18 #include "qapi/qmp/qdict.h" 19 19 #include "qapi/qobject-input-visitor.h" 20 20 #include "qemu/uri.h"
+1 -1
block/ssh.c
··· 34 34 #include "qemu/cutils.h" 35 35 #include "qemu/sockets.h" 36 36 #include "qemu/uri.h" 37 - #include "qapi-visit.h" 37 + #include "qapi/qapi-visit-sockets.h" 38 38 #include "qapi/qmp/qdict.h" 39 39 #include "qapi/qmp/qstring.h" 40 40 #include "qapi/qobject-input-visitor.h"
+1 -1
block/throttle-groups.c
··· 30 30 #include "qemu/thread.h" 31 31 #include "sysemu/qtest.h" 32 32 #include "qapi/error.h" 33 - #include "qapi-visit.h" 33 + #include "qapi/qapi-visit-block-core.h" 34 34 #include "qom/object.h" 35 35 #include "qom/object_interfaces.h" 36 36
+2 -2
block/write-threshold.c
··· 15 15 #include "qemu/coroutine.h" 16 16 #include "block/write-threshold.h" 17 17 #include "qemu/notify.h" 18 - #include "qapi-event.h" 19 18 #include "qapi/error.h" 20 - #include "qmp-commands.h" 19 + #include "qapi/qapi-commands-block-core.h" 20 + #include "qapi/qapi-events-block-core.h" 21 21 22 22 uint64_t bdrv_write_threshold_get(const BlockDriverState *bs) 23 23 {
+1 -1
blockdev-nbd.c
··· 14 14 #include "sysemu/block-backend.h" 15 15 #include "hw/block/block.h" 16 16 #include "qapi/error.h" 17 + #include "qapi/qapi-commands-block.h" 17 18 #include "sysemu/sysemu.h" 18 - #include "qmp-commands.h" 19 19 #include "block/nbd.h" 20 20 #include "io/channel-socket.h" 21 21 #include "io/net-listener.h"
+3 -2
blockdev.c
··· 40 40 #include "qemu/error-report.h" 41 41 #include "qemu/option.h" 42 42 #include "qemu/config-file.h" 43 + #include "qapi/qapi-commands-block.h" 44 + #include "qapi/qapi-commands-transaction.h" 45 + #include "qapi/qapi-visit-block-core.h" 43 46 #include "qapi/qmp/qdict.h" 44 47 #include "qapi/qmp/qnum.h" 45 48 #include "qapi/qmp/qstring.h" 46 - #include "qapi-visit.h" 47 49 #include "qapi/error.h" 48 50 #include "qapi/qmp/qerror.h" 49 51 #include "qapi/qmp/qlist.h" ··· 51 53 #include "sysemu/sysemu.h" 52 54 #include "sysemu/iothread.h" 53 55 #include "block/block_int.h" 54 - #include "qmp-commands.h" 55 56 #include "block/trace.h" 56 57 #include "sysemu/arch_init.h" 57 58 #include "sysemu/qtest.h"
+1 -1
blockjob.c
··· 30 30 #include "block/block_int.h" 31 31 #include "sysemu/block-backend.h" 32 32 #include "qapi/error.h" 33 + #include "qapi/qapi-events-block-core.h" 33 34 #include "qapi/qmp/qerror.h" 34 35 #include "qemu/coroutine.h" 35 36 #include "qemu/id.h" 36 37 #include "qemu/timer.h" 37 - #include "qapi-event.h" 38 38 39 39 /* Right now, this mutex is only needed to synchronize accesses to job->busy 40 40 * and job->sleep_timer, such as concurrent calls to block_job_do_yield and
-1
chardev/char-fe.c
··· 25 25 #include "qemu/error-report.h" 26 26 #include "qapi/error.h" 27 27 #include "qapi/qmp/qerror.h" 28 - #include "qapi-visit.h" 29 28 #include "sysemu/replay.h" 30 29 31 30 #include "chardev/char-fe.h"
+1 -1
chardev/char-ringbuf.c
··· 24 24 25 25 #include "qemu/osdep.h" 26 26 #include "chardev/char.h" 27 - #include "qmp-commands.h" 28 27 #include "qapi/error.h" 28 + #include "qapi/qapi-commands-char.h" 29 29 #include "qemu/base64.h" 30 30 #include "qemu/option.h" 31 31
+1
chardev/char-socket.c
··· 31 31 #include "qemu/option.h" 32 32 #include "qapi/error.h" 33 33 #include "qapi/clone-visitor.h" 34 + #include "qapi/qapi-visit-sockets.h" 34 35 35 36 #include "chardev/char-io.h" 36 37
+1 -2
chardev/char.c
··· 29 29 #include "qemu/config-file.h" 30 30 #include "qemu/error-report.h" 31 31 #include "chardev/char.h" 32 - #include "qmp-commands.h" 33 - #include "qapi-visit.h" 34 32 #include "qapi/error.h" 33 + #include "qapi/qapi-commands-char.h" 35 34 #include "qapi/qmp/qerror.h" 36 35 #include "sysemu/replay.h" 37 36 #include "qemu/help_option.h"
+1 -1
cpus.c
··· 27 27 #include "cpu.h" 28 28 #include "monitor/monitor.h" 29 29 #include "qapi/error.h" 30 + #include "qapi/qapi-events-run-state.h" 30 31 #include "qapi/qmp/qerror.h" 31 32 #include "qemu/error-report.h" 32 33 #include "sysemu/sysemu.h" ··· 49 50 #include "qemu/bitmap.h" 50 51 #include "qemu/seqlock.h" 51 52 #include "tcg.h" 52 - #include "qapi-event.h" 53 53 #include "hw/nmi.h" 54 54 #include "sysemu/replay.h" 55 55 #include "hw/boards.h"
+1 -1
crypto/cipherpriv.h
··· 15 15 #ifndef QCRYPTO_CIPHERPRIV_H 16 16 #define QCRYPTO_CIPHERPRIV_H 17 17 18 - #include "qapi-types.h" 18 + #include "qapi/qapi-types-crypto.h" 19 19 20 20 typedef struct QCryptoCipherDriver QCryptoCipherDriver; 21 21
+1 -1
hmp.c
··· 29 29 #include "monitor/qdev.h" 30 30 #include "qapi/error.h" 31 31 #include "qapi/opts-visitor.h" 32 + #include "qapi-builtin-visit.h" 32 33 #include "qapi/qmp/qdict.h" 33 34 #include "qapi/qmp/qerror.h" 34 35 #include "qapi/string-input-visitor.h" 35 36 #include "qapi/string-output-visitor.h" 36 - #include "qapi-visit.h" 37 37 #include "qom/object_interfaces.h" 38 38 #include "ui/console.h" 39 39 #include "block/nbd.h"
+1 -1
hw/acpi/core.c
··· 27 27 #include "qemu/config-file.h" 28 28 #include "qapi/error.h" 29 29 #include "qapi/opts-visitor.h" 30 + #include "qapi/qapi-events-run-state.h" 30 31 #include "qapi-visit.h" 31 - #include "qapi-event.h" 32 32 #include "qemu/error-report.h" 33 33 #include "qemu/option.h" 34 34
+1
hw/block/block.c
··· 12 12 #include "sysemu/block-backend.h" 13 13 #include "hw/block/block.h" 14 14 #include "qapi/error.h" 15 + #include "qapi/qapi-types-block.h" 15 16 #include "qemu/error-report.h" 16 17 17 18 void blkconf_serial(BlockConf *conf, char **serial)
+1
hw/block/hd-geometry.c
··· 32 32 33 33 #include "qemu/osdep.h" 34 34 #include "sysemu/block-backend.h" 35 + #include "qapi/qapi-types-block.h" 35 36 #include "qemu/bswap.h" 36 37 #include "hw/block/block.h" 37 38 #include "trace.h"
+1 -1
hw/char/virtio-console.c
··· 15 15 #include "qemu/error-report.h" 16 16 #include "trace.h" 17 17 #include "hw/virtio/virtio-serial.h" 18 - #include "qapi-event.h" 19 18 #include "qapi/error.h" 19 + #include "qapi/qapi-events-char.h" 20 20 21 21 #define TYPE_VIRTIO_CONSOLE_SERIAL_PORT "virtserialport" 22 22 #define VIRTIO_CONSOLE(obj) \
+1 -1
hw/core/machine.c
··· 13 13 #include "qemu/osdep.h" 14 14 #include "hw/boards.h" 15 15 #include "qapi/error.h" 16 - #include "qapi-visit.h" 16 + #include "qapi/qapi-visit-common.h" 17 17 #include "qapi/visitor.h" 18 18 #include "hw/sysbus.h" 19 19 #include "sysemu/sysemu.h"
+1 -1
hw/i386/pc.c
··· 67 67 #include "acpi-build.h" 68 68 #include "hw/mem/pc-dimm.h" 69 69 #include "qapi/error.h" 70 + #include "qapi/qapi-visit-common.h" 70 71 #include "qapi/visitor.h" 71 - #include "qapi-visit.h" 72 72 #include "qom/cpu.h" 73 73 #include "hw/nmi.h" 74 74 #include "hw/i386/intel_iommu.h"
-1
hw/mem/nvdimm.c
··· 25 25 #include "qemu/osdep.h" 26 26 #include "qapi/error.h" 27 27 #include "qapi/visitor.h" 28 - #include "qapi-visit.h" 29 28 #include "hw/mem/nvdimm.h" 30 29 31 30 static void nvdimm_get_label_size(Object *obj, Visitor *v, const char *name,
+1 -1
hw/net/rocker/qmp-norocker.c
··· 17 17 18 18 #include "qemu/osdep.h" 19 19 #include "qemu-common.h" 20 - #include "qmp-commands.h" 21 20 #include "qapi/error.h" 21 + #include "qapi/qapi-commands-rocker.h" 22 22 #include "qapi/qmp/qerror.h" 23 23 24 24 RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
+1 -1
hw/net/rocker/rocker.c
··· 22 22 #include "net/net.h" 23 23 #include "net/eth.h" 24 24 #include "qapi/error.h" 25 + #include "qapi/qapi-commands-rocker.h" 25 26 #include "qemu/iov.h" 26 27 #include "qemu/bitops.h" 27 - #include "qmp-commands.h" 28 28 29 29 #include "rocker.h" 30 30 #include "rocker_hw.h"
+1 -1
hw/net/rocker/rocker_fp.c
··· 16 16 17 17 #include "qemu/osdep.h" 18 18 #include "net/clients.h" 19 - 19 + #include "qapi/qapi-types-rocker.h" 20 20 #include "rocker.h" 21 21 #include "rocker_hw.h" 22 22 #include "rocker_fp.h"
+1 -1
hw/net/rocker/rocker_of_dpa.c
··· 17 17 #include "qemu/osdep.h" 18 18 #include "net/eth.h" 19 19 #include "qapi/error.h" 20 + #include "qapi/qapi-commands-rocker.h" 20 21 #include "qemu/iov.h" 21 22 #include "qemu/timer.h" 22 - #include "qmp-commands.h" 23 23 24 24 #include "rocker.h" 25 25 #include "rocker_hw.h"
+1 -1
hw/net/virtio-net.c
··· 23 23 #include "net/vhost_net.h" 24 24 #include "hw/virtio/virtio-bus.h" 25 25 #include "qapi/error.h" 26 - #include "qapi-event.h" 26 + #include "qapi/qapi-events-net.h" 27 27 #include "hw/virtio/virtio-access.h" 28 28 #include "migration/misc.h" 29 29
-1
hw/ppc/spapr_rtas.c
··· 38 38 #include "hw/ppc/spapr_vio.h" 39 39 #include "hw/ppc/spapr_rtas.h" 40 40 #include "hw/ppc/ppc.h" 41 - #include "qapi-event.h" 42 41 #include "hw/boards.h" 43 42 44 43 #include <libfdt.h>
+1
hw/tpm/tpm_emulator.c
··· 38 38 #include "migration/blocker.h" 39 39 #include "qapi/error.h" 40 40 #include "qapi/clone-visitor.h" 41 + #include "qapi/qapi-visit-tpm.h" 41 42 #include "chardev/char-fe.h" 42 43 43 44 #define DEBUG_TPM 0
+1
hw/tpm/tpm_passthrough.c
··· 30 30 #include "tpm_int.h" 31 31 #include "hw/hw.h" 32 32 #include "qapi/clone-visitor.h" 33 + #include "qapi/qapi-visit-tpm.h" 33 34 #include "tpm_util.h" 34 35 35 36 #define DEBUG_TPM 0
+1 -1
hw/watchdog/watchdog.c
··· 24 24 #include "qemu/config-file.h" 25 25 #include "qemu/queue.h" 26 26 #include "qapi/error.h" 27 + #include "qapi/qapi-events-run-state.h" 27 28 #include "sysemu/sysemu.h" 28 29 #include "sysemu/watchdog.h" 29 - #include "qapi-event.h" 30 30 #include "hw/nmi.h" 31 31 #include "qemu/help_option.h" 32 32 #include "qmp-commands.h"
+1 -1
include/block/block.h
··· 2 2 #define BLOCK_H 3 3 4 4 #include "block/aio.h" 5 - #include "qapi-types.h" 5 + #include "qapi/qapi-types-block-core.h" 6 6 #include "qemu/iov.h" 7 7 #include "qemu/coroutine.h" 8 8 #include "block/accounting.h"
+1 -1
include/block/dirty-bitmap.h
··· 2 2 #define BLOCK_DIRTY_BITMAP_H 3 3 4 4 #include "qemu-common.h" 5 - #include "qapi-types.h" 5 + #include "qapi/qapi-types-block-core.h" 6 6 #include "qemu/hbitmap.h" 7 7 8 8 BdrvDirtyBitmap *bdrv_create_dirty_bitmap(BlockDriverState *bs,
+1 -1
include/block/nbd.h
··· 20 20 #ifndef NBD_H 21 21 #define NBD_H 22 22 23 - 23 + #include "qapi/qapi-types-block.h" 24 24 #include "io/channel-socket.h" 25 25 #include "crypto/tlscreds.h" 26 26
+1
include/chardev/char.h
··· 1 1 #ifndef QEMU_CHAR_H 2 2 #define QEMU_CHAR_H 3 3 4 + #include "qapi/qapi-types-char.h" 4 5 #include "qemu/main-loop.h" 5 6 #include "qemu/bitmap.h" 6 7 #include "qom/object.h"
+1 -1
include/crypto/cipher.h
··· 21 21 #ifndef QCRYPTO_CIPHER_H 22 22 #define QCRYPTO_CIPHER_H 23 23 24 - #include "qapi-types.h" 24 + #include "qapi/qapi-types-crypto.h" 25 25 26 26 typedef struct QCryptoCipher QCryptoCipher; 27 27
+1 -1
include/crypto/hash.h
··· 21 21 #ifndef QCRYPTO_HASH_H 22 22 #define QCRYPTO_HASH_H 23 23 24 - #include "qapi-types.h" 24 + #include "qapi/qapi-types-crypto.h" 25 25 26 26 /* See also "QCryptoHashAlgorithm" defined in qapi/crypto.json */ 27 27
+1 -1
include/crypto/hmac.h
··· 12 12 #ifndef QCRYPTO_HMAC_H 13 13 #define QCRYPTO_HMAC_H 14 14 15 - #include "qapi-types.h" 15 + #include "qapi/qapi-types-crypto.h" 16 16 17 17 typedef struct QCryptoHmac QCryptoHmac; 18 18 struct QCryptoHmac {
+1
include/crypto/secret.h
··· 21 21 #ifndef QCRYPTO_SECRET_H 22 22 #define QCRYPTO_SECRET_H 23 23 24 + #include "qapi/qapi-types-crypto.h" 24 25 #include "qom/object.h" 25 26 26 27 #define TYPE_QCRYPTO_SECRET "secret"
+1
include/crypto/tlscreds.h
··· 21 21 #ifndef QCRYPTO_TLSCREDS_H 22 22 #define QCRYPTO_TLSCREDS_H 23 23 24 + #include "qapi/qapi-types-crypto.h" 24 25 #include "qom/object.h" 25 26 26 27 #ifdef CONFIG_GNUTLS
+1 -1
include/hw/block/block.h
··· 12 12 #define HW_BLOCK_H 13 13 14 14 #include "qemu-common.h" 15 - #include "qapi-types.h" 15 + #include "qapi/qapi-types-block-core.h" 16 16 17 17 /* Configuration */ 18 18
+1 -1
include/hw/block/fdc.h
··· 2 2 #define HW_FDC_H 3 3 4 4 #include "qemu-common.h" 5 - #include "qapi-types.h" 5 + #include "qapi/qapi-types-block.h" 6 6 7 7 /* fdc.c */ 8 8 #define MAX_FD 2
+1
include/hw/ppc/spapr_drc.h
··· 14 14 #define HW_SPAPR_DRC_H 15 15 16 16 #include <libfdt.h> 17 + #include "qapi/qapi-types-run-state.h" 17 18 #include "qom/object.h" 18 19 #include "sysemu/sysemu.h" 19 20 #include "hw/qdev.h"
+1
include/hw/qdev-properties.h
··· 1 1 #ifndef QEMU_QDEV_PROPERTIES_H 2 2 #define QEMU_QDEV_PROPERTIES_H 3 3 4 + #include "qapi-types.h" 4 5 #include "hw/qdev-core.h" 5 6 6 7 /*** qdev-properties.c ***/
+1
include/io/dns-resolver.h
··· 22 22 #define QIO_DNS_RESOLVER_H 23 23 24 24 #include "qemu-common.h" 25 + #include "qapi/qapi-types-sockets.h" 25 26 #include "qom/object.h" 26 27 #include "io/task.h" 27 28
+1 -1
include/migration/colo.h
··· 14 14 #define QEMU_COLO_H 15 15 16 16 #include "qemu-common.h" 17 - #include "qapi-types.h" 17 + #include "qapi/qapi-types-migration.h" 18 18 19 19 void colo_info_init(void); 20 20
+1 -1
include/migration/failover.h
··· 14 14 #define QEMU_FAILOVER_H 15 15 16 16 #include "qemu-common.h" 17 - #include "qapi-types.h" 17 + #include "qapi/qapi-types-migration.h" 18 18 19 19 void failover_init_state(void); 20 20 FailoverStatus failover_set_state(FailoverStatus old_state,
+1
include/migration/global_state.h
··· 13 13 #ifndef QEMU_MIGRATION_GLOBAL_STATE_H 14 14 #define QEMU_MIGRATION_GLOBAL_STATE_H 15 15 16 + #include "qapi/qapi-types-run-state.h" 16 17 #include "sysemu/sysemu.h" 17 18 18 19 void register_global_state(void);
+1
include/monitor/monitor.h
··· 3 3 4 4 #include "qemu-common.h" 5 5 #include "block/block.h" 6 + #include "qapi-types.h" 6 7 #include "qemu/readline.h" 7 8 8 9 extern Monitor *cur_mon;
+1
include/net/filter.h
··· 9 9 #ifndef QEMU_NET_FILTER_H 10 10 #define QEMU_NET_FILTER_H 11 11 12 + #include "qapi/qapi-types-net.h" 12 13 #include "qom/object.h" 13 14 #include "qemu-common.h" 14 15 #include "net/queue.h"
+1 -1
include/net/net.h
··· 2 2 #define QEMU_NET_H 3 3 4 4 #include "qemu/queue.h" 5 - #include "qapi-types.h" 5 + #include "qapi/qapi-types-net.h" 6 6 #include "net/queue.h" 7 7 #include "migration/vmstate.h" 8 8
-1
include/qapi/clone-visitor.h
··· 12 12 #define QAPI_CLONE_VISITOR_H 13 13 14 14 #include "qapi/visitor.h" 15 - #include "qapi-visit.h" 16 15 17 16 /* 18 17 * The clone visitor is for direct use only by the QAPI_CLONE() macro;
+1 -1
include/qapi/error.h
··· 115 115 #ifndef ERROR_H 116 116 #define ERROR_H 117 117 118 - #include "qapi-types.h" 118 + #include "qapi/qapi-types-common.h" 119 119 120 120 /* 121 121 * Overall category of an error.
+1 -1
include/qapi/qmp/qobject.h
··· 32 32 #ifndef QOBJECT_H 33 33 #define QOBJECT_H 34 34 35 - #include "qapi-types.h" 35 + #include "qapi-builtin-types.h" 36 36 37 37 struct QObject { 38 38 QType type;
+1 -1
include/qapi/visitor.h
··· 15 15 #ifndef QAPI_VISITOR_H 16 16 #define QAPI_VISITOR_H 17 17 18 - #include "qapi-types.h" 18 + #include "qapi-builtin-types.h" 19 19 20 20 /* 21 21 * The QAPI schema defines both a set of C data types, and a QMP wire
+1 -1
include/qemu/sockets.h
··· 9 9 10 10 #endif /* !_WIN32 */ 11 11 12 - #include "qapi-types.h" 12 + #include "qapi/qapi-types-sockets.h" 13 13 14 14 /* misc helpers */ 15 15 int qemu_socket(int domain, int type, int protocol);
+1 -1
include/qemu/throttle.h
··· 26 26 #define THROTTLE_H 27 27 28 28 #include "qemu-common.h" 29 - #include "qapi-types.h" 29 + #include "qapi/qapi-types-block-core.h" 30 30 #include "qemu/timer.h" 31 31 32 32 #define THROTTLE_VALUE_MAX 1000000000000000LL
+1
include/qom/cpu.h
··· 24 24 #include "disas/bfd.h" 25 25 #include "exec/hwaddr.h" 26 26 #include "exec/memattrs.h" 27 + #include "qapi/qapi-types-run-state.h" 27 28 #include "qemu/bitmap.h" 28 29 #include "qemu/queue.h" 29 30 #include "qemu/thread.h"
+1 -1
include/qom/object.h
··· 14 14 #ifndef QEMU_OBJECT_H 15 15 #define QEMU_OBJECT_H 16 16 17 - #include "qapi-types.h" 17 + #include "qapi-builtin-types.h" 18 18 #include "qemu/queue.h" 19 19 20 20 struct TypeImpl;
+2
include/sysemu/dump.h
··· 14 14 #ifndef DUMP_H 15 15 #define DUMP_H 16 16 17 + #include "qapi-types.h" 18 + 17 19 #define MAKEDUMPFILE_SIGNATURE "makedumpfile" 18 20 #define MAX_SIZE_MDF_HEADER (4096) /* max size of makedumpfile_header */ 19 21 #define TYPE_FLAT_HEADER (1) /* type of flattened format */
+1
include/sysemu/hostmem.h
··· 14 14 #define SYSEMU_HOSTMEM_H 15 15 16 16 #include "sysemu/sysemu.h" /* for MAX_NODES */ 17 + #include "qapi-types.h" 17 18 #include "qom/object.h" 18 19 #include "exec/memory.h" 19 20 #include "qemu/bitmap.h"
+1
include/sysemu/replay.h
··· 13 13 */ 14 14 15 15 #include "sysemu.h" 16 + #include "qapi-types.h" 16 17 17 18 /* replay clock kinds */ 18 19 enum ReplayClockKind {
+1
include/sysemu/sysemu.h
··· 2 2 #define SYSEMU_H 3 3 /* Misc. things related to the system emulator. */ 4 4 5 + #include "qapi/qapi-types-run-state.h" 5 6 #include "qemu/queue.h" 6 7 #include "qemu/timer.h" 7 8 #include "qemu/notify.h"
+1
include/sysemu/tpm.h
··· 12 12 #ifndef QEMU_TPM_H 13 13 #define QEMU_TPM_H 14 14 15 + #include "qapi/qapi-types-tpm.h" 15 16 #include "qom/object.h" 16 17 17 18 int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
+1 -1
include/sysemu/watchdog.h
··· 23 23 #define QEMU_WATCHDOG_H 24 24 25 25 #include "qemu/queue.h" 26 - #include "qapi-types.h" 26 + #include "qapi/qapi-types-run-state.h" 27 27 28 28 struct WatchdogTimerModel { 29 29 QLIST_ENTRY(WatchdogTimerModel) entry;
+1
include/ui/console.h
··· 5 5 #include "qom/object.h" 6 6 #include "qemu/notify.h" 7 7 #include "qemu/error-report.h" 8 + #include "qapi/qapi-types-ui.h" 8 9 9 10 #ifdef CONFIG_OPENGL 10 11 # include <epoxy/gl.h>
+1 -1
include/ui/input.h
··· 1 1 #ifndef INPUT_H 2 2 #define INPUT_H 3 3 4 - #include "qapi-types.h" 4 + #include "qapi/qapi-types-ui.h" 5 5 6 6 #define INPUT_EVENT_MASK_KEY (1<<INPUT_EVENT_KIND_KEY) 7 7 #define INPUT_EVENT_MASK_BTN (1<<INPUT_EVENT_KIND_BTN)
+1
io/channel-socket.c
··· 20 20 21 21 #include "qemu/osdep.h" 22 22 #include "qapi/error.h" 23 + #include "qapi/qapi-visit-sockets.h" 23 24 #include "io/channel-socket.h" 24 25 #include "io/channel-watch.h" 25 26 #include "trace.h"
+1
io/dns-resolver.c
··· 21 21 #include "qemu/osdep.h" 22 22 #include "io/dns-resolver.h" 23 23 #include "qapi/clone-visitor.h" 24 + #include "qapi/qapi-visit-sockets.h" 24 25 #include "qemu/sockets.h" 25 26 #include "qapi/error.h" 26 27 #include "qemu/cutils.h"
+1 -1
migration/colo-failover.c
··· 15 15 #include "migration/failover.h" 16 16 #include "qemu/main-loop.h" 17 17 #include "migration.h" 18 - #include "qmp-commands.h" 19 18 #include "qapi/error.h" 19 + #include "qapi/qapi-commands-migration.h" 20 20 #include "qapi/qmp/qerror.h" 21 21 #include "qemu/error-report.h" 22 22 #include "trace.h"
+1 -1
migration/colo.c
··· 13 13 #include "qemu/osdep.h" 14 14 #include "sysemu/sysemu.h" 15 15 #include "qapi/error.h" 16 + #include "qapi/qapi-commands-migration.h" 16 17 #include "qemu-file-channel.h" 17 18 #include "migration.h" 18 19 #include "qemu-file.h" ··· 24 25 #include "qemu/error-report.h" 25 26 #include "migration/failover.h" 26 27 #include "replication.h" 27 - #include "qmp-commands.h" 28 28 29 29 static bool vmstate_loading; 30 30
+2 -2
migration/migration.c
··· 31 31 #include "migration/vmstate.h" 32 32 #include "block/block.h" 33 33 #include "qapi/error.h" 34 + #include "qapi/qapi-commands-migration.h" 35 + #include "qapi/qapi-events-migration.h" 34 36 #include "qapi/qmp/qerror.h" 35 37 #include "qapi/qmp/qnull.h" 36 38 #include "qemu/rcu.h" 37 39 #include "block.h" 38 40 #include "postcopy-ram.h" 39 41 #include "qemu/thread.h" 40 - #include "qmp-commands.h" 41 42 #include "trace.h" 42 - #include "qapi-event.h" 43 43 #include "exec/target_page.h" 44 44 #include "io/channel-buffer.h" 45 45 #include "migration/colo.h"
+1
migration/migration.h
··· 15 15 #define QEMU_MIGRATION_H 16 16 17 17 #include "qemu-common.h" 18 + #include "qapi/qapi-types-migration.h" 18 19 #include "qemu/thread.h" 19 20 #include "exec/cpu-common.h" 20 21 #include "qemu/coroutine_int.h"
+1 -1
migration/ram.c
··· 29 29 #include "qemu/osdep.h" 30 30 #include "cpu.h" 31 31 #include <zlib.h> 32 - #include "qapi-event.h" 33 32 #include "qemu/cutils.h" 34 33 #include "qemu/bitops.h" 35 34 #include "qemu/bitmap.h" ··· 44 43 #include "migration/page_cache.h" 45 44 #include "qemu/error-report.h" 46 45 #include "qapi/error.h" 46 + #include "qapi/qapi-events-migration.h" 47 47 #include "qapi/qmp/qerror.h" 48 48 #include "trace.h" 49 49 #include "exec/ram_addr.h"
+1 -1
migration/ram.h
··· 30 30 #define QEMU_MIGRATION_RAM_H 31 31 32 32 #include "qemu-common.h" 33 - #include "qapi-types.h" 33 + #include "qapi/qapi-types-migration.h" 34 34 #include "exec/cpu-common.h" 35 35 36 36 extern MigrationStats ram_counters;
-1
net/colo-compare.c
··· 25 25 #include "net/queue.h" 26 26 #include "chardev/char-fe.h" 27 27 #include "qemu/sockets.h" 28 - #include "qapi-visit.h" 29 28 #include "net/colo.h" 30 29 #include "sysemu/iothread.h" 31 30
+1 -1
net/filter-buffer.c
··· 13 13 #include "qemu-common.h" 14 14 #include "qemu/timer.h" 15 15 #include "qemu/iov.h" 16 + #include "qapi-builtin-visit.h" 16 17 #include "qapi/qmp/qerror.h" 17 - #include "qapi-visit.h" 18 18 #include "qom/object.h" 19 19 20 20 #define TYPE_FILTER_BUFFER "filter-buffer"
-1
net/filter-mirror.c
··· 14 14 #include "net/net.h" 15 15 #include "qemu-common.h" 16 16 #include "qapi/error.h" 17 - #include "qapi-visit.h" 18 17 #include "qom/object.h" 19 18 #include "qemu/main-loop.h" 20 19 #include "qemu/error-report.h"
-1
net/filter-rewriter.c
··· 16 16 #include "net/net.h" 17 17 #include "qemu-common.h" 18 18 #include "qemu/error-report.h" 19 - #include "qapi-visit.h" 20 19 #include "qom/object.h" 21 20 #include "qemu/main-loop.h" 22 21 #include "qemu/iov.h"
+2 -2
net/net.c
··· 33 33 34 34 #include "monitor/monitor.h" 35 35 #include "qemu/help_option.h" 36 + #include "qapi/qapi-commands-net.h" 37 + #include "qapi/qapi-visit-net.h" 36 38 #include "qapi/qmp/qdict.h" 37 39 #include "qapi/qmp/qerror.h" 38 40 #include "qemu/error-report.h" 39 41 #include "qemu/sockets.h" 40 42 #include "qemu/cutils.h" 41 43 #include "qemu/config-file.h" 42 - #include "qmp-commands.h" 43 44 #include "hw/qdev.h" 44 45 #include "qemu/iov.h" 45 46 #include "qemu/main-loop.h" 46 47 #include "qemu/option.h" 47 - #include "qapi-visit.h" 48 48 #include "qapi/error.h" 49 49 #include "qapi/opts-visitor.h" 50 50 #include "sysemu/sysemu.h"
+1 -1
net/tap_int.h
··· 27 27 #define NET_TAP_INT_H 28 28 29 29 #include "qemu-common.h" 30 - #include "qapi-types.h" 30 + #include "qapi/qapi-types-net.h" 31 31 32 32 int tap_open(char *ifname, int ifname_size, int *vnet_hdr, 33 33 int vnet_hdr_required, int mq_required, Error **errp);
+1 -1
net/vhost-user.c
··· 14 14 #include "net/vhost-user.h" 15 15 #include "chardev/char-fe.h" 16 16 #include "qapi/error.h" 17 + #include "qapi/qapi-commands-net.h" 17 18 #include "qemu/config-file.h" 18 19 #include "qemu/error-report.h" 19 20 #include "qemu/option.h" 20 - #include "qmp-commands.h" 21 21 #include "trace.h" 22 22 23 23 typedef struct VhostUserState {
+1 -1
qemu-img.c
··· 27 27 28 28 #include "qemu-version.h" 29 29 #include "qapi/error.h" 30 - #include "qapi-visit.h" 30 + #include "qapi/qapi-visit-block-core.h" 31 31 #include "qapi/qobject-output-visitor.h" 32 32 #include "qapi/qmp/qjson.h" 33 33 #include "qapi/qmp/qdict.h"
+1 -1
qom/object.c
··· 16 16 #include "qom/object_interfaces.h" 17 17 #include "qemu/cutils.h" 18 18 #include "qapi/visitor.h" 19 - #include "qapi-visit.h" 20 19 #include "qapi/string-input-visitor.h" 21 20 #include "qapi/string-output-visitor.h" 21 + #include "qapi-builtin-visit.h" 22 22 #include "qapi/qmp/qerror.h" 23 23 #include "trace.h" 24 24
-1
qom/object_interfaces.c
··· 5 5 #include "qom/object_interfaces.h" 6 6 #include "qemu/module.h" 7 7 #include "qemu/option.h" 8 - #include "qapi-visit.h" 9 8 #include "qapi/opts-visitor.h" 10 9 #include "qemu/config-file.h" 11 10
+1
replay/replay-input.c
··· 16 16 #include "qemu/notify.h" 17 17 #include "ui/input.h" 18 18 #include "qapi/clone-visitor.h" 19 + #include "qapi/qapi-visit-ui.h" 19 20 20 21 void replay_save_input_event(InputEvent *evt) 21 22 {
+1
replication.h
··· 15 15 #ifndef REPLICATION_H 16 16 #define REPLICATION_H 17 17 18 + #include "qapi/qapi-types-block-core.h" 18 19 #include "qemu/queue.h" 19 20 20 21 typedef struct ReplicationOps ReplicationOps;
+8 -6
scripts/qapi/commands.py
··· 241 241 242 242 def _begin_module(self, name): 243 243 self._visited_ret_types[self._genc] = set() 244 + commands = self._module_basename('qapi-commands', name) 245 + types = self._module_basename('qapi-types', name) 246 + visit = self._module_basename('qapi-visit', name) 244 247 self._genc.add(mcgen(''' 245 248 #include "qemu/osdep.h" 246 249 #include "qemu-common.h" ··· 251 254 #include "qapi/qobject-input-visitor.h" 252 255 #include "qapi/dealloc-visitor.h" 253 256 #include "qapi/error.h" 254 - #include "%(prefix)sqapi-types.h" 255 - #include "%(prefix)sqapi-visit.h" 256 - #include "%(prefix)sqmp-commands.h" 257 + #include "%(visit)s.h" 258 + #include "%(commands)s.h" 257 259 258 260 ''', 259 - prefix=self._prefix)) 261 + commands=commands, visit=visit)) 260 262 self._genh.add(mcgen(''' 261 - #include "%(prefix)sqapi-types.h" 263 + #include "%(types)s.h" 262 264 #include "qapi/qmp/dispatch.h" 263 265 264 266 ''', 265 - prefix=self._prefix)) 267 + types=types)) 266 268 267 269 def visit_end(self): 268 270 (genc, genh) = self._module[self._main_module]
+6 -4
scripts/qapi/events.py
··· 165 165 return basename 166 166 167 167 def _begin_module(self, name): 168 + types = self._module_basename('qapi-types', name) 169 + visit = self._module_basename('qapi-visit', name) 168 170 self._genc.add(mcgen(''' 169 171 #include "qemu/osdep.h" 170 172 #include "qemu-common.h" 171 173 #include "%(prefix)sqapi-event.h" 172 - #include "%(prefix)sqapi-visit.h" 174 + #include "%(visit)s.h" 173 175 #include "qapi/error.h" 174 176 #include "qapi/qmp/qdict.h" 175 177 #include "qapi/qobject-output-visitor.h" 176 178 #include "qapi/qmp-event.h" 177 179 178 180 ''', 179 - prefix=self._prefix)) 181 + visit=visit, prefix=self._prefix)) 180 182 self._genh.add(mcgen(''' 181 183 #include "qapi/util.h" 182 - #include "%(prefix)sqapi-types.h" 184 + #include "%(types)s.h" 183 185 184 186 ''', 185 - prefix=self._prefix)) 187 + types=types)) 186 188 187 189 def visit_end(self): 188 190 self._genh.add(gen_enum(self._enum_name, self._event_names))
+5 -3
scripts/qapi/types.py
··· 185 185 ''')) 186 186 187 187 def _begin_module(self, name): 188 + types = self._module_basename('qapi-types', name) 189 + visit = self._module_basename('qapi-visit', name) 188 190 self._genc.preamble_add(mcgen(''' 189 191 #include "qemu/osdep.h" 190 192 #include "qapi/dealloc-visitor.h" 191 - #include "%(prefix)sqapi-types.h" 192 - #include "%(prefix)sqapi-visit.h" 193 + #include "%(types)s.h" 194 + #include "%(visit)s.h" 193 195 ''', 194 - prefix=self._prefix)) 196 + types=types, visit=visit)) 195 197 self._genh.preamble_add(mcgen(''' 196 198 #include "qapi-builtin-types.h" 197 199 '''))
+6 -4
scripts/qapi/visit.py
··· 284 284 prefix=prefix)) 285 285 286 286 def _begin_module(self, name): 287 + types = self._module_basename('qapi-types', name) 288 + visit = self._module_basename('qapi-visit', name) 287 289 self._genc.preamble_add(mcgen(''' 288 290 #include "qemu/osdep.h" 289 291 #include "qemu-common.h" 290 292 #include "qapi/error.h" 291 293 #include "qapi/qmp/qerror.h" 292 - #include "%(prefix)sqapi-visit.h" 294 + #include "%(visit)s.h" 293 295 ''', 294 - prefix=self._prefix)) 296 + visit=visit, prefix=self._prefix)) 295 297 self._genh.preamble_add(mcgen(''' 296 298 #include "qapi-builtin-visit.h" 297 - #include "%(prefix)sqapi-types.h" 299 + #include "%(types)s.h" 298 300 299 301 ''', 300 - prefix=self._prefix)) 302 + types=types)) 301 303 302 304 def visit_enum_type(self, name, info, values, prefix): 303 305 self._genh.add(gen_visit_decl(name, scalar=True))
+2 -1
stubs/tpm.c
··· 4 4 * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 5 * See the COPYING file in the top-level directory. 6 6 */ 7 + 7 8 #include "qemu/osdep.h" 9 + #include "qapi/qapi-commands-tpm.h" 8 10 #include "sysemu/tpm.h" 9 - #include "qmp-commands.h" 10 11 11 12 int tpm_init(void) 12 13 {
-1
target/s390x/kvm.c
··· 41 41 #include "exec/gdbstub.h" 42 42 #include "exec/address-spaces.h" 43 43 #include "trace.h" 44 - #include "qapi-event.h" 45 44 #include "hw/s390x/s390-pci-inst.h" 46 45 #include "hw/s390x/s390-pci-bus.h" 47 46 #include "hw/s390x/ipl.h"
+1
target/s390x/sigp.c
··· 17 17 #include "exec/exec-all.h" 18 18 #include "sysemu/sysemu.h" 19 19 #include "trace.h" 20 + #include "qapi-types.h" 20 21 21 22 QemuMutex qemu_sigp_mutex; 22 23
+1 -1
tests/test-char.c
··· 8 8 #include "chardev/char-mux.h" 9 9 #include "sysemu/sysemu.h" 10 10 #include "qapi/error.h" 11 + #include "qapi/qapi-commands-char.h" 11 12 #include "qapi/qmp/qdict.h" 12 13 #include "qom/qom-qobject.h" 13 - #include "qmp-commands.h" 14 14 15 15 static bool quit; 16 16
-1
tests/test-qmp-event.c
··· 14 14 #include "qemu/osdep.h" 15 15 16 16 #include "qemu-common.h" 17 - #include "test-qapi-visit.h" 18 17 #include "test-qapi-event.h" 19 18 #include "qapi/error.h" 20 19 #include "qapi/qmp/qbool.h"
+1 -1
tpm.c
··· 15 15 #include "qemu/osdep.h" 16 16 17 17 #include "qapi/error.h" 18 + #include "qapi/qapi-commands-tpm.h" 18 19 #include "qapi/qmp/qerror.h" 19 20 #include "sysemu/tpm_backend.h" 20 21 #include "sysemu/tpm.h" 21 22 #include "qemu/config-file.h" 22 23 #include "qemu/error-report.h" 23 - #include "qmp-commands.h" 24 24 25 25 static QLIST_HEAD(, TPMBackend) tpm_backends = 26 26 QLIST_HEAD_INITIALIZER(tpm_backends);
+1 -1
trace/qmp.c
··· 9 9 10 10 #include "qemu/osdep.h" 11 11 #include "qapi/error.h" 12 - #include "qmp-commands.h" 12 + #include "qapi/qapi-commands-trace.h" 13 13 #include "trace/control.h" 14 14 15 15
+1 -1
ui/console.c
··· 26 26 #include "ui/console.h" 27 27 #include "hw/qdev-core.h" 28 28 #include "qapi/error.h" 29 + #include "qapi/qapi-commands-ui.h" 29 30 #include "qemu/option.h" 30 31 #include "qemu/timer.h" 31 - #include "qmp-commands.h" 32 32 #include "chardev/char-fe.h" 33 33 #include "trace.h" 34 34 #include "exec/memory.h"
+1 -1
ui/input-legacy.c
··· 23 23 */ 24 24 25 25 #include "qemu/osdep.h" 26 + #include "qapi/qapi-commands-ui.h" 26 27 #include "sysemu/sysemu.h" 27 28 #include "ui/console.h" 28 - #include "qmp-commands.h" 29 29 #include "ui/keymaps.h" 30 30 #include "ui/input.h" 31 31
+1 -1
ui/input.c
··· 1 1 #include "qemu/osdep.h" 2 2 #include "sysemu/sysemu.h" 3 3 #include "qapi/error.h" 4 + #include "qapi/qapi-commands-ui.h" 4 5 #include "qapi/qmp/qdict.h" 5 6 #include "qemu/error-report.h" 6 - #include "qmp-commands.h" 7 7 #include "trace.h" 8 8 #include "ui/input.h" 9 9 #include "ui/console.h"
+2 -2
ui/spice-core.c
··· 28 28 #include "qemu/queue.h" 29 29 #include "qemu-x509.h" 30 30 #include "qemu/sockets.h" 31 - #include "qmp-commands.h" 32 31 #include "qapi/error.h" 32 + #include "qapi/qapi-commands-ui.h" 33 + #include "qapi/qapi-events-ui.h" 33 34 #include "qemu/notify.h" 34 35 #include "qemu/option.h" 35 36 #include "migration/misc.h" 36 37 #include "hw/hw.h" 37 38 #include "ui/spice-display.h" 38 - #include "qapi-event.h" 39 39 40 40 /* core bits */ 41 41
+1 -1
ui/vnc.c
··· 36 36 #include "qemu/acl.h" 37 37 #include "qemu/config-file.h" 38 38 #include "qapi/error.h" 39 - #include "qmp-commands.h" 39 + #include "qapi/qapi-commands-ui.h" 40 40 #include "ui/input.h" 41 41 #include "qapi-event.h" 42 42 #include "crypto/hash.h"
+1
ui/vnc.h
··· 28 28 #define QEMU_VNC_H 29 29 30 30 #include "qemu-common.h" 31 + #include "qapi/qapi-types-ui.h" 31 32 #include "qemu/queue.h" 32 33 #include "qemu/thread.h" 33 34 #include "ui/console.h"
+1 -1
util/qemu-sockets.c
··· 24 24 #include "monitor/monitor.h" 25 25 #include "qapi/clone-visitor.h" 26 26 #include "qapi/error.h" 27 + #include "qapi/qapi-visit-sockets.h" 27 28 #include "qemu/sockets.h" 28 29 #include "qemu/main-loop.h" 29 30 #include "qapi/qobject-input-visitor.h" 30 31 #include "qapi/qobject-output-visitor.h" 31 - #include "qapi-visit.h" 32 32 #include "qemu/cutils.h" 33 33 34 34 #ifndef AI_ADDRCONFIG
+2 -2
vl.c
··· 97 97 #include "sysemu/kvm.h" 98 98 #include "sysemu/hax.h" 99 99 #include "qapi/qobject-input-visitor.h" 100 - #include "qapi-visit.h" 101 100 #include "qemu/option.h" 102 101 #include "qemu/config-file.h" 103 102 #include "qemu-options.h" ··· 122 121 #include "qapi/string-input-visitor.h" 123 122 #include "qapi/opts-visitor.h" 124 123 #include "qom/object_interfaces.h" 125 - #include "qapi-event.h" 126 124 #include "exec/semihost.h" 127 125 #include "crypto/init.h" 128 126 #include "sysemu/replay.h" 127 + #include "qapi/qapi-events-run-state.h" 128 + #include "qapi/qapi-visit-block-core.h" 129 129 #include "qapi/qmp/qerror.h" 130 130 #include "sysemu/iothread.h" 131 131