]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: Move include/qapi/qmp/ to include/qobject/
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 18 Nov 2024 15:12:34 +0000 (16:12 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 10 Feb 2025 14:33:16 +0000 (15:33 +0100)
commit407bc4bf9027f7ac4333e47cd900d773b99a23e3
tree6f617801cce2d4715d586e15a2523488bdd68711
parent04d3d0e9f54d4c42759f3810aa135ce314d98dc4
qapi: Move include/qapi/qmp/ to include/qobject/

The general expectation is that header files should follow the same
file/path naming scheme as the corresponding source file. There are
various historical exceptions to this practice in QEMU, with one of
the most notable being the include/qapi/qmp/ directory. Most of the
headers there correspond to source files in qobject/.

This patch corrects most of that inconsistency by creating
include/qobject/ and moving the headers for qobject/ there.

This also fixes MAINTAINERS for include/qapi/qmp/dispatch.h:
scripts/get_maintainer.pl now reports "QAPI" instead of "No
maintainers found".

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com> #s390x
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20241118151235.2665921-2-armbru@redhat.com>
[Rebased]
248 files changed:
MAINTAINERS
audio/audio-hmp-cmds.c
audio/audio.c
authz/listfile.c
backends/cryptodev-hmp-cmds.c
block.c
block/blkdebug.c
block/blkio.c
block/blklogwrites.c
block/blkverify.c
block/copy-before-write.c
block/copy-on-read.c
block/curl.c
block/file-posix.c
block/file-win32.c
block/gluster.c
block/iscsi.c
block/monitor/block-hmp-cmds.c
block/nbd.c
block/nfs.c
block/null.c
block/nvme.c
block/parallels.c
block/qapi-system.c
block/qapi.c
block/qcow.c
block/qcow2.c
block/qed.c
block/quorum.c
block/rbd.c
block/replication.c
block/snapshot.c
block/ssh.c
block/stream.c
block/vhdx.c
block/vmdk.c
block/vpc.c
block/vvfat.c
blockdev.c
chardev/char-hmp-cmds.c
docs/devel/qapi-code-gen.rst
dump/dump-hmp-cmds.c
hw/arm/aspeed_ast27x0.c
hw/arm/mps2-tz.c
hw/arm/mps2.c
hw/arm/mps3r.c
hw/arm/sbsa-ref.c
hw/arm/stellaris.c
hw/arm/vexpress.c
hw/arm/virt.c
hw/arm/xlnx-versal.c
hw/block/xen-block.c
hw/core/machine-hmp-cmds.c
hw/core/machine-qmp-cmds.c
hw/core/qdev-properties.c
hw/core/qdev.c
hw/hyperv/hv-balloon.c
hw/i386/acpi-build.c
hw/i386/kvm/xen_evtchn.c
hw/i386/monitor.c
hw/i386/pc.c
hw/net/rocker/rocker-hmp-cmds.c
hw/net/virtio-net.c
hw/net/xen_nic.c
hw/pci/pci-hmp-cmds.c
hw/ppc/pegasos2.c
hw/ppc/spapr_drc.c
hw/rx/rx62n.c
hw/s390x/s390-skeys.c
hw/s390x/s390-stattrib.c
hw/usb/xen-usb.c
hw/vfio/pci.c
hw/virtio/virtio-hmp-cmds.c
hw/virtio/virtio-qmp.c
hw/xen/xen-bus.c
include/block/qdict.h
include/qobject/json-parser.h [moved from include/qapi/qmp/json-parser.h with 100% similarity]
include/qobject/json-writer.h [moved from include/qapi/qmp/json-writer.h with 100% similarity]
include/qobject/qbool.h [moved from include/qapi/qmp/qbool.h with 94% similarity]
include/qobject/qdict.h [moved from include/qapi/qmp/qdict.h with 98% similarity]
include/qobject/qjson.h [moved from include/qapi/qmp/qjson.h with 100% similarity]
include/qobject/qlist.h [moved from include/qapi/qmp/qlist.h with 98% similarity]
include/qobject/qlit.h [moved from include/qapi/qmp/qlit.h with 100% similarity]
include/qobject/qnull.h [moved from include/qapi/qmp/qnull.h with 94% similarity]
include/qobject/qnum.h [moved from include/qapi/qmp/qnum.h with 98% similarity]
include/qobject/qobject.h [moved from include/qapi/qmp/qobject.h with 98% similarity]
include/qobject/qstring.h [moved from include/qapi/qmp/qstring.h with 96% similarity]
migration/dirtyrate.c
migration/migration-hmp-cmds.c
migration/migration.c
migration/migration.h
migration/options.c
migration/vmstate.c
monitor/hmp-cmds-target.c
monitor/hmp-cmds.c
monitor/hmp.c
monitor/monitor-internal.h
monitor/monitor.c
monitor/qemu-config-qmp.c
monitor/qmp.c
net/net-hmp-cmds.c
net/net.c
net/slirp.c
qapi/qapi-clone-visitor.c
qapi/qapi-dealloc-visitor.c
qapi/qapi-forward-visitor.c
qapi/qmp-dispatch.c
qapi/qmp-event.c
qapi/qobject-input-visitor.c
qapi/qobject-output-visitor.c
qapi/string-input-visitor.c
qemu-img.c
qemu-io-cmds.c
qemu-io.c
qemu-nbd.c
qga/main.c
qobject/block-qdict.c
qobject/json-parser-int.h
qobject/json-parser.c
qobject/json-writer.c
qobject/qbool.c
qobject/qdict.c
qobject/qjson.c
qobject/qlist.c
qobject/qlit.c
qobject/qnull.c
qobject/qnum.c
qobject/qobject-internal.h
qobject/qobject.c
qobject/qstring.c
qom/object.c
qom/object_interfaces.c
qom/qom-hmp-cmds.c
qom/qom-qmp-cmds.c
replay/replay-debugging.c
replay/replay-snapshot.c
scripts/qapi/commands.py
scripts/qapi/events.py
scripts/qapi/introspect.py
scsi/qemu-pr-helper.c
stats/stats-hmp-cmds.c
storage-daemon/qemu-storage-daemon.c
system/device_tree.c
system/dirtylimit.c
system/qdev-monitor.c
system/runstate-hmp-cmds.c
system/vl.c
target/arm/arm-qmp-cmds.c
target/i386/cpu-apic.c
target/i386/cpu-system.c
target/i386/monitor.c
target/loongarch/loongarch-qmp-cmds.c
target/ppc/cpu_init.c
target/riscv/riscv-qmp-cmds.c
target/s390x/cpu_models_system.c
tests/qtest/adm1266-test.c
tests/qtest/adm1272-test.c
tests/qtest/ahci-test.c
tests/qtest/arm-cpu-features.c
tests/qtest/aspeed_gpio-test.c
tests/qtest/ast2700-gpio-test.c
tests/qtest/boot-order-test.c
tests/qtest/cdrom-test.c
tests/qtest/cpu-plug-test.c
tests/qtest/device-introspect-test.c
tests/qtest/device-plug-test.c
tests/qtest/drive_del-test.c
tests/qtest/emc141x-test.c
tests/qtest/fdc-test.c
tests/qtest/hd-geo-test.c
tests/qtest/ide-test.c
tests/qtest/isl_pmbus_vr-test.c
tests/qtest/libqmp.c
tests/qtest/libqmp.h
tests/qtest/libqos/generic-pcihost.c
tests/qtest/libqos/libqos.c
tests/qtest/libqos/pci-pc.c
tests/qtest/libqos/qos_external.c
tests/qtest/libqtest.c
tests/qtest/libqtest.h
tests/qtest/lsm303dlhc-mag-test.c
tests/qtest/machine-none-test.c
tests/qtest/max34451-test.c
tests/qtest/migration-helpers.c [new file with mode: 0644]
tests/qtest/migration/file-tests.c
tests/qtest/migration/framework.c
tests/qtest/migration/migration-qmp.c
tests/qtest/migration/migration-util.c
tests/qtest/migration/misc-tests.c
tests/qtest/migration/postcopy-tests.c
tests/qtest/migration/precopy-tests.c
tests/qtest/netdev-socket.c
tests/qtest/npcm7xx_adc-test.c
tests/qtest/npcm7xx_emc-test.c
tests/qtest/npcm7xx_pwm-test.c
tests/qtest/npcm7xx_watchdog_timer-test.c
tests/qtest/numa-test.c
tests/qtest/pvpanic-pci-test.c
tests/qtest/pvpanic-test.c
tests/qtest/q35-test.c
tests/qtest/qmp-cmd-test.c
tests/qtest/qmp-test.c
tests/qtest/qom-test.c
tests/qtest/qos-test.c
tests/qtest/readconfig-test.c
tests/qtest/tco-test.c
tests/qtest/test-filter-mirror.c
tests/qtest/test-filter-redirector.c
tests/qtest/test-netfilter.c
tests/qtest/test-x86-cpuid-compat.c
tests/qtest/tmp105-test.c
tests/qtest/tpm-emu.c
tests/qtest/tpm-util.c
tests/qtest/vhost-user-test.c
tests/qtest/virtio-net-failover.c
tests/qtest/virtio-net-test.c
tests/qtest/vmgenid-test.c
tests/qtest/wdt_ib700-test.c
tests/unit/check-block-qdict.c
tests/unit/check-qdict.c
tests/unit/check-qjson.c
tests/unit/check-qlist.c
tests/unit/check-qlit.c
tests/unit/check-qnull.c
tests/unit/check-qnum.c
tests/unit/check-qobject.c
tests/unit/check-qom-proplist.c
tests/unit/check-qstring.c
tests/unit/test-block-iothread.c
tests/unit/test-blockjob-txn.c
tests/unit/test-blockjob.c
tests/unit/test-char.c
tests/unit/test-forward-visitor.c
tests/unit/test-image-locking.c
tests/unit/test-keyval.c
tests/unit/test-qemu-opts.c
tests/unit/test-qga.c
tests/unit/test-qmp-cmds.c
tests/unit/test-qmp-event.c
tests/unit/test-qobject-input-visitor.c
tests/unit/test-qobject-output-visitor.c
tests/unit/test-replication.c
tests/unit/test-visitor-serialization.c
trace/trace-hmp-cmds.c
ui/ui-hmp-cmds.c
util/keyval.c
util/qemu-config.c
util/qemu-option.c