include: move include/qapi/qmp/ to include/qobject/
Subsystems (5)
v2 cover include: move include/qapi/qmp/ to include/qobject/
To repeat the 1st patch commit message...
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 that inconsistency by creating include/qobject/. The only outlier is include/qapi/qmp/dispatch.h which gets renamed to include/qapi/qmp-registry.h.
To allow the code to continue to build, symlinks are temporarily added in $QEMU/qapi/qmp/ to point to the new location. This allows git to show a simple 'rename' diff in the 1st patch, which isn't possible if we put the symlinks straight in $QEMU/include/qapi/qmp/. The 27 patches that follow are mechanical updates to each top level sub-directory. The final patch removes the temporary compat symlinks.
It was questioned last time whether this should all just be one big bang commit. I don't mind either way, just the end result that matters to me.
Changed in v2:
- Don't move include/qapi/qmp/qerror.h, as it is not the same kind of thing as the other qobject related headers, and this header is deprecated & (slowly) getting eliminated anyway
- Tacked on two trivial patches removing redundant imports of qerror.h. Strictly they're independant of this series, so could just go to qemu-trivial on their own
Daniel P. Berrangé (31):
include: move include/qapi/qmp/ to include/qobject/
audio: adapt to new import path for qobject data type headers
authz: adapt to new import path for qobject data type headers
block: adapt to new import path for qobject data type headers
backends: adapt to new import path for qobject data type headers
chardev: adapt to new import path for qobject data type headers
docs: adapt to new import path for qobject data type headers
dump: adapt to new import path for qobject data type headers
hw: adapt to new import path for qobject data type headers
include: adapt to new import path for qobject data type headers
migration: adapt to new import path for qobject data type headers
monitor: adapt to new import path for qobject data type headers
net: adapt to new import path for qobject data type headers
qapi: adapt to new import path for qobject data type headers
qga: adapt to new import path for qobject data type headers
qobject: adapt to new import path for qobject data type headers
qom: adapt to new import path for qobject data type headers
replay: adapt to new import path for qobject data type headers
scripts: adapt to new import path for qobject data type headers
scsi: adapt to new import path for qobject data type headers
stats: adapt to new import path for qobject data type headers
stubs: adapt to new import path for qobject data type headers
system: adapt to new import path for qobject data type headers
target: adapt to new import path for qobject data type headers
tests: adapt to new import path for qobject data type headers
trace: adapt to new import path for qobject data type headers
ui: adapt to new import path for qobject data type headers
util: adapt to new import path for qobject data type headers
qapi: remove header file compatibility symlinks
qga: remove unused qerror.h header
system: remove unused qerror.h header
MAINTAINERS | 5 +----
audio/audio-hmp-cmds.c | 2 +-
audio/audio.c | 2 +-
authz/listfile.c | 4 ++--
backends/cryptodev-hmp-cmds.c | 2 +-
block.c | 8 ++++----
block/blkdebug.c | 6 +++---
block/blkio.c | 2 +-
block/blklogwrites.c | 4 ++--
block/blkverify.c | 4 ++--
block/copy-before-write.c | 2 +-
block/copy-on-read.c | 2 +-
block/curl.c | 4 ++--
block/file-posix.c | 4 ++--
block/file-win32.c | 4 ++--
block/gluster.c | 2 +-
block/iscsi.c | 4 ++--
block/monitor/block-hmp-cmds.c | 2 +-
block/nbd.c | 2 +-
block/nfs.c | 4 ++--
block/null.c | 4 ++--
block/nvme.c | 4 ++--
block/parallels.c | 2 +-
block/qapi-sysemu.c | 2 +-
block/qapi.c | 10 +++++-----
block/qcow.c | 4 ++--
block/qcow2.c | 4 ++--
block/qed.c | 2 +-
block/quorum.c | 6 +++---
block/rbd.c | 8 ++++----
block/replication.c | 2 +-
block/snapshot.c | 4 ++--
block/ssh.c | 4 ++--
block/stream.c | 2 +-
block/vhdx.c | 2 +-
block/vmdk.c | 2 +-
block/vpc.c | 2 +-
block/vvfat.c | 4 ++--
blockdev.c | 8 ++++----
chardev/char-hmp-cmds.c | 2 +-
docs/devel/qapi-code-gen.rst | 4 ++--
dump/dump-hmp-cmds.c | 2 +-
hw/arm/aspeed_ast27x0.c | 2 +-
hw/arm/mps2-tz.c | 2 +-
hw/arm/mps2.c | 2 +-
hw/arm/mps3r.c | 2 +-
hw/arm/sbsa-ref.c | 2 +-
hw/arm/stellaris.c | 2 +-
hw/arm/vexpress.c | 2 +-
hw/arm/virt.c | 2 +-
hw/arm/xlnx-versal.c | 2 +-
hw/block/xen-block.c | 4 ++--
hw/core/machine-hmp-cmds.c | 2 +-
hw/core/machine-qmp-cmds.c | 2 +-
hw/core/qdev-properties.c | 2 +-
hw/core/qdev.c | 2 +-
hw/hyperv/hv-balloon.c | 2 +-
hw/i386/acpi-build.c | 2 +-
hw/i386/kvm/xen_evtchn.c | 2 +-
hw/i386/monitor.c | 2 +-
hw/i386/pc.c | 2 +-
hw/net/rocker/rocker-hmp-cmds.c | 2 +-
hw/net/virtio-net.c | 2 +-
hw/net/xen_nic.c | 2 +-
hw/pci/pci-hmp-cmds.c | 2 +-
hw/ppc/pegasos2.c | 2 +-
hw/ppc/spapr_drc.c | 2 +-
hw/rx/rx62n.c | 2 +-
hw/s390x/s390-skeys.c | 2 +-
hw/s390x/s390-stattrib.c | 2 +-
hw/usb/xen-usb.c | 4 ++--
hw/vfio/pci.c | 2 +-
hw/virtio/virtio-hmp-cmds.c | 2 +-
hw/virtio/virtio-qmp.c | 4 ++--
hw/xen/xen-bus.c | 2 +-
include/block/qdict.h | 2 +-
include/qapi/{qmp/dispatch.h => qmp-registry.h} | 0
include/{qapi/qmp => qobject}/json-parser.h | 0
include/{qapi/qmp => qobject}/json-writer.h | 0
include/{qapi/qmp => qobject}/qbool.h | 2 +-
include/{qapi/qmp => qobject}/qdict.h | 2 +-
include/{qapi/qmp => qobject}/qjson.h | 0
include/{qapi/qmp => qobject}/qlist.h | 2 +-
include/{qapi/qmp => qobject}/qlit.h | 0
include/{qapi/qmp => qobject}/qnull.h | 2 +-
include/{qapi/qmp => qobject}/qnum.h | 2 +-
include/{qapi/qmp => qobject}/qobject.h | 2 +-
include/{qapi/qmp => qobject}/qstring.h | 2 +-
migration/dirtyrate.c | 2 +-
migration/migration-hmp-cmds.c | 2 +-
migration/migration.c | 2 +-
migration/migration.h | 2 +-
migration/options.c | 2 +-
migration/vmstate.c | 2 +-
monitor/hmp-cmds-target.c | 2 +-
monitor/hmp-cmds.c | 2 +-
monitor/hmp.c | 4 ++--
monitor/monitor-internal.h | 4 ++--
monitor/monitor.c | 2 +-
monitor/qemu-config-qmp.c | 2 +-
monitor/qmp.c | 6 +++---
net/net-hmp-cmds.c | 2 +-
net/net.c | 2 +-
net/slirp.c | 2 +-
qapi/qapi-clone-visitor.c | 2 +-
qapi/qapi-dealloc-visitor.c | 2 +-
qapi/qapi-forward-visitor.c | 14 +++++++-------
qapi/qmp-dispatch.c | 8 ++++----
qapi/qmp-event.c | 6 +++---
qapi/qmp-registry.c | 2 +-
qapi/qobject-input-visitor.c | 14 +++++++-------
qapi/qobject-output-visitor.c | 12 ++++++------
qapi/string-input-visitor.c | 2 +-
qemu-img.c | 4 ++--
qemu-io-cmds.c | 2 +-
qemu-io.c | 4 ++--
qemu-nbd.c | 4 ++--
qga/commands-bsd.c | 1 -
qga/commands-linux.c | 1 -
qga/commands-posix.c | 1 -
qga/guest-agent-core.h | 2 +-
qga/main.c | 6 +++---
qobject/block-qdict.c | 8 ++++----
qobject/json-parser-int.h | 2 +-
qobject/json-parser.c | 12 ++++++------
qobject/json-writer.c | 2 +-
qobject/qbool.c | 2 +-
qobject/qdict.c | 10 +++++-----
qobject/qjson.c | 16 ++++++++--------
qobject/qlist.c | 10 +++++-----
qobject/qlit.c | 14 +++++++-------
qobject/qnull.c | 2 +-
qobject/qnum.c | 2 +-
qobject/qobject-internal.h | 2 +-
qobject/qobject.c | 12 ++++++------
qobject/qstring.c | 2 +-
qom/object.c | 10 +++++-----
qom/object_interfaces.c | 6 +++---
qom/qom-hmp-cmds.c | 4 ++--
qom/qom-qmp-cmds.c | 2 +-
replay/replay-debugging.c | 2 +-
replay/replay-snapshot.c | 2 +-
scripts/qapi/commands.py | 6 +++---
scripts/qapi/events.py | 2 +-
scripts/qapi/introspect.py | 2 +-
scsi/qemu-pr-helper.c | 2 +-
stats/stats-hmp-cmds.c | 2 +-
storage-daemon/qemu-storage-daemon.c | 4 ++--
stubs/qmp-command-available.c | 2 +-
stubs/qmp-quit.c | 2 +-
system/device_tree.c | 2 +-
system/dirtylimit.c | 2 +-
system/qdev-monitor.c | 6 +++---
system/runstate-hmp-cmds.c | 2 +-
system/vl.c | 6 +++---
target/arm/arm-qmp-cmds.c | 2 +-
target/i386/cpu-apic.c | 2 +-
target/i386/cpu-sysemu.c | 2 +-
target/i386/monitor.c | 2 +-
target/loongarch/loongarch-qmp-cmds.c | 2 +-
target/ppc/cpu_init.c | 2 +-
target/riscv/riscv-qmp-cmds.c | 4 ++--
target/s390x/cpu_models_sysemu.c | 2 +-
tests/qtest/adm1266-test.c | 4 ++--
tests/qtest/adm1272-test.c | 4 ++--
tests/qtest/ahci-test.c | 2 +-
tests/qtest/arm-cpu-features.c | 4 ++--
tests/qtest/aspeed_gpio-test.c | 2 +-
tests/qtest/boot-order-test.c | 2 +-
tests/qtest/cdrom-test.c | 2 +-
tests/qtest/cpu-plug-test.c | 4 ++--
tests/qtest/device-introspect-test.c | 6 +++---
tests/qtest/device-plug-test.c | 4 ++--
tests/qtest/drive_del-test.c | 4 ++--
tests/qtest/emc141x-test.c | 2 +-
tests/qtest/fdc-test.c | 2 +-
tests/qtest/hd-geo-test.c | 2 +-
tests/qtest/ide-test.c | 2 +-
tests/qtest/isl_pmbus_vr-test.c | 4 ++--
tests/qtest/libqmp.c | 4 ++--
tests/qtest/libqmp.h | 2 +-
tests/qtest/libqos/generic-pcihost.c | 2 +-
tests/qtest/libqos/libqos.c | 2 +-
tests/qtest/libqos/pci-pc.c | 2 +-
tests/qtest/libqos/qos_external.c | 8 ++++----
tests/qtest/libqtest.c | 10 +++++-----
tests/qtest/libqtest.h | 4 ++--
tests/qtest/lsm303dlhc-mag-test.c | 2 +-
tests/qtest/machine-none-test.c | 2 +-
tests/qtest/max34451-test.c | 4 ++--
tests/qtest/migration-helpers.c | 4 ++--
tests/qtest/migration-test.c | 4 ++--
tests/qtest/netdev-socket.c | 2 +-
tests/qtest/npcm7xx_adc-test.c | 2 +-
tests/qtest/npcm7xx_emc-test.c | 4 ++--
tests/qtest/npcm7xx_pwm-test.c | 4 ++--
tests/qtest/npcm7xx_watchdog_timer-test.c | 2 +-
tests/qtest/numa-test.c | 4 ++--
tests/qtest/pvpanic-pci-test.c | 2 +-
tests/qtest/pvpanic-test.c | 3 ++-
tests/qtest/q35-test.c | 2 +-
tests/qtest/qmp-cmd-test.c | 2 +-
tests/qtest/qmp-test.c | 6 +++---
tests/qtest/qom-test.c | 4 ++--
tests/qtest/qos-test.c | 2 +-
tests/qtest/readconfig-test.c | 6 +++---
tests/qtest/tco-test.c | 2 +-
tests/qtest/test-filter-mirror.c | 2 +-
tests/qtest/test-filter-redirector.c | 2 +-
tests/qtest/test-netfilter.c | 2 +-
tests/qtest/test-x86-cpuid-compat.c | 8 ++++----
tests/qtest/tmp105-test.c | 2 +-
tests/qtest/tpm-emu.c | 4 ++--
tests/qtest/tpm-util.c | 2 +-
tests/qtest/vhost-user-test.c | 2 +-
tests/qtest/virtio-net-failover.c | 6 +++---
tests/qtest/virtio-net-test.c | 2 +-
tests/qtest/vmgenid-test.c | 2 +-
tests/qtest/wdt_ib700-test.c | 2 +-
tests/unit/check-block-qdict.c | 4 ++--
tests/unit/check-qdict.c | 6 +++---
tests/unit/check-qjson.c | 12 ++++++------
tests/unit/check-qlist.c | 4 ++--
tests/unit/check-qlit.c | 12 ++++++------
tests/unit/check-qnull.c | 2 +-
tests/unit/check-qnum.c | 2 +-
tests/unit/check-qobject.c | 12 ++++++------
tests/unit/check-qom-proplist.c | 4 ++--
tests/unit/check-qstring.c | 2 +-
tests/unit/test-block-iothread.c | 2 +-
tests/unit/test-blockjob-txn.c | 2 +-
tests/unit/test-blockjob.c | 2 +-
tests/unit/test-char.c | 2 +-
tests/unit/test-forward-visitor.c | 4 ++--
tests/unit/test-image-locking.c | 2 +-
tests/unit/test-keyval.c | 6 +++---
tests/unit/test-qemu-opts.c | 4 ++--
tests/unit/test-qga.c | 4 ++--
tests/unit/test-qmp-cmds.c | 8 ++++----
tests/unit/test-qmp-event.c | 10 +++++-----
tests/unit/test-qobject-input-visitor.c | 12 ++++++------
tests/unit/test-qobject-output-visitor.c | 12 ++++++------
tests/unit/test-replication.c | 2 +-
tests/unit/test-visitor-serialization.c | 4 ++--
trace/trace-hmp-cmds.c | 2 +-
ui/ui-hmp-cmds.c | 2 +-
util/keyval.c | 6 +++---
util/qemu-config.c | 4 ++--
util/qemu-option.c | 8 ++++----
249 files changed, 442 insertions(+), 447 deletions(-)
rename include/qapi/{qmp/dispatch.h => qmp-registry.h} (100%)
rename include/{qapi/qmp => qobject}/json-parser.h (100%)
rename include/{qapi/qmp => qobject}/json-writer.h (100%)
rename include/{qapi/qmp => qobject}/qbool.h (94%)
rename include/{qapi/qmp => qobject}/qdict.h (98%)
rename include/{qapi/qmp => qobject}/qjson.h (100%)
rename include/{qapi/qmp => qobject}/qlist.h (98%)
rename include/{qapi/qmp => qobject}/qlit.h (100%)
rename include/{qapi/qmp => qobject}/qnull.h (94%)
rename include/{qapi/qmp => qobject}/qnum.h (98%)
rename include/{qapi/qmp => qobject}/qobject.h (98%)
rename include/{qapi/qmp => qobject}/qstring.h (96%)Signature · 1 line
2.46.0
PATCH v2 1/31 include: 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 that inconsistency by creating include/qobject/. The only outlier is include/qapi/qmp/dispatch.h which gets renamed to include/qapi/qmp-registry.h.
To allow the code to continue to build, symlinks are temporarily added in $QEMU/qapi/qmp/ to point to the new location. They will be removed in a later commit.
---
MAINTAINERS | 5 +----
include/qapi/{qmp/dispatch.h => qmp-registry.h} | 0
include/{qapi/qmp => qobject}/json-parser.h | 0
include/{qapi/qmp => qobject}/json-writer.h | 0
include/{qapi/qmp => qobject}/qbool.h | 0
include/{qapi/qmp => qobject}/qdict.h | 0
include/{qapi/qmp => qobject}/qjson.h | 0
include/{qapi/qmp => qobject}/qlist.h | 0
include/{qapi/qmp => qobject}/qlit.h | 0
include/{qapi/qmp => qobject}/qnull.h | 0
include/{qapi/qmp => qobject}/qnum.h | 0
include/{qapi/qmp => qobject}/qobject.h | 0
include/{qapi/qmp => qobject}/qstring.h | 0
qapi/qmp/dispatch.h | 1 +
qapi/qmp/json-parser.h | 1 +
qapi/qmp/json-writer.h | 1 +
qapi/qmp/qbool.h | 1 +
qapi/qmp/qdict.h | 1 +
qapi/qmp/qjson.h | 1 +
qapi/qmp/qlist.h | 1 +
qapi/qmp/qlit.h | 1 +
qapi/qmp/qnull.h | 1 +
qapi/qmp/qnum.h | 1 +
qapi/qmp/qobject.h | 1 +
qapi/qmp/qstring.h | 1 +
25 files changed, 13 insertions(+), 4 deletions(-)
rename include/qapi/{qmp/dispatch.h => qmp-registry.h} (100%)
rename include/{qapi/qmp => qobject}/json-parser.h (100%)
rename include/{qapi/qmp => qobject}/json-writer.h (100%)
rename include/{qapi/qmp => qobject}/qbool.h (100%)
rename include/{qapi/qmp => qobject}/qdict.h (100%)
rename include/{qapi/qmp => qobject}/qjson.h (100%)
rename include/{qapi/qmp => qobject}/qlist.h (100%)
rename include/{qapi/qmp => qobject}/qlit.h (100%)
rename include/{qapi/qmp => qobject}/qnull.h (100%)
rename include/{qapi/qmp => qobject}/qnum.h (100%)
rename include/{qapi/qmp => qobject}/qobject.h (100%)
rename include/{qapi/qmp => qobject}/qstring.h (100%)
create mode 120000 qapi/qmp/dispatch.h
create mode 120000 qapi/qmp/json-parser.h
create mode 120000 qapi/qmp/json-writer.h
create mode 120000 qapi/qmp/qbool.h
create mode 120000 qapi/qmp/qdict.h
create mode 120000 qapi/qmp/qjson.h
create mode 120000 qapi/qmp/qlist.h
create mode 120000 qapi/qmp/qlit.h
create mode 120000 qapi/qmp/qnull.h
create mode 120000 qapi/qmp/qnum.h
create mode 120000 qapi/qmp/qobject.h
create mode 120000 qapi/qmp/qstring.hMAINTAINERS +1 -4
@@ -3153,8 +3153,6 @@ S: Supported F: qapi/ X: qapi/*.json F: include/qapi/ -X: include/qapi/qmp/ -F: include/qapi/qmp/dispatch.h F: tests/qapi-schema/ F: tests/unit/test-*-visitor.c F: tests/unit/test-qapi-*.c
@@ -3178,8 +3176,7 @@ QObject M: Markus Armbruster <[email protected]> S: Supported F: qobject/ -F: include/qapi/qmp/ -X: include/qapi/qmp/dispatch.h +F: include/qobject/ F: scripts/coccinelle/qobject.cocci F: tests/unit/check-qdict.c F: tests/unit/check-qjson.c
include/qapi/qmp-registry.h renamed from include/qapi/qmp/dispatch.h +0 -0
include/qobject/json-parser.h renamed from include/qapi/qmp/json-parser.h +0 -0
include/qobject/json-writer.h renamed from include/qapi/qmp/json-writer.h +0 -0
include/qobject/qbool.h renamed from include/qapi/qmp/qbool.h +0 -0
include/qobject/qdict.h renamed from include/qapi/qmp/qdict.h +0 -0
include/qobject/qjson.h renamed from include/qapi/qmp/qjson.h +0 -0
include/qobject/qlist.h renamed from include/qapi/qmp/qlist.h +0 -0
include/qobject/qlit.h renamed from include/qapi/qmp/qlit.h +0 -0
include/qobject/qnull.h renamed from include/qapi/qmp/qnull.h +0 -0
include/qobject/qnum.h renamed from include/qapi/qmp/qnum.h +0 -0
include/qobject/qobject.h renamed from include/qapi/qmp/qobject.h +0 -0
include/qobject/qstring.h renamed from include/qapi/qmp/qstring.h +0 -0
qapi/qmp/dispatch.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qapi/qmp-registry.h
qapi/qmp/json-parser.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/json-parser.h
qapi/qmp/json-writer.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/json-writer.h
qapi/qmp/qbool.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qbool.h
qapi/qmp/qdict.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qdict.h
qapi/qmp/qjson.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qjson.h
qapi/qmp/qlist.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qlist.h
qapi/qmp/qlit.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qlit.h
qapi/qmp/qnull.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qnull.h
qapi/qmp/qnum.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qnum.h
qapi/qmp/qobject.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qobject.h
qapi/qmp/qstring.h new file +1 -0
@@ -0,0 +1 @@ +../../include/qobject/qstring.h
Signature · 1 line
2.46.0
Quoted 63 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:13 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 01/31] include: moveinclude/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 that inconsistency by creating
include/qobject/. The only outlier isinclude/qapi/qmp/dispatch.hwhich gets renamed toinclude/qapi/qmp-registry.h.To allow the code to continue to build, symlinks are temporarily added in $QEMU/qapi/qmp/ to point to the new location. They will be removed in a later commit.
Signed-off-by Daniel P. Berrangé <[email protected]>--- MAINTAINERS | 5 +---- include/qapi/{qmp/dispatch.h => qmp-registry.h} | 0 include/{qapi/qmp => qobject}/json-parser.h | 0 include/{qapi/qmp => qobject}/json-writer.h | 0 include/{qapi/qmp => qobject}/qbool.h | 0 include/{qapi/qmp => qobject}/qdict.h | 0 include/{qapi/qmp => qobject}/qjson.h | 0 include/{qapi/qmp => qobject}/qlist.h | 0 include/{qapi/qmp => qobject}/qlit.h | 0 include/{qapi/qmp => qobject}/qnull.h | 0 include/{qapi/qmp => qobject}/qnum.h | 0 include/{qapi/qmp => qobject}/qobject.h | 0 include/{qapi/qmp => qobject}/qstring.h | 0 qapi/qmp/dispatch.h | 1 + qapi/qmp/json-parser.h | 1 + qapi/qmp/json-writer.h | 1 + qapi/qmp/qbool.h | 1 + qapi/qmp/qdict.h | 1 + qapi/qmp/qjson.h | 1 + qapi/qmp/qlist.h | 1 + qapi/qmp/qlit.h | 1 + qapi/qmp/qnull.h | 1 + qapi/qmp/qnum.h | 1 + qapi/qmp/qobject.h | 1 + qapi/qmp/qstring.h | 1 + 25 files changed, 13 insertions(+), 4 deletions(-) rename include/qapi/{qmp/dispatch.h => qmp-registry.h} (100%) rename include/{qapi/qmp => qobject}/json-parser.h (100%) rename include/{qapi/qmp => qobject}/json-writer.h (100%) rename include/{qapi/qmp => qobject}/qbool.h (100%) rename include/{qapi/qmp => qobject}/qdict.h (100%) rename include/{qapi/qmp => qobject}/qjson.h (100%) rename include/{qapi/qmp => qobject}/qlist.h (100%) rename include/{qapi/qmp => qobject}/qlit.h (100%) rename include/{qapi/qmp => qobject}/qnull.h (100%) rename include/{qapi/qmp => qobject}/qnum.h (100%) rename include/{qapi/qmp => qobject}/qobject.h (100%) rename include/{qapi/qmp => qobject}/qstring.h (100%) create mode 120000 qapi/qmp/dispatch.h create mode 120000 qapi/qmp/json-parser.h create mode 120000 qapi/qmp/json-writer.h create mode 120000 qapi/qmp/qbool.h
Quoted 9 lines
create mode 120000 qapi/qmp/qdict.h create mode 120000 qapi/qmp/qjson.h create mode 120000 qapi/qmp/qlist.h create mode 120000 qapi/qmp/qlit.h create mode 120000 qapi/qmp/qnull.h create mode 120000 qapi/qmp/qnum.h create mode 120000 qapi/qmp/qobject.h create mode 120000 qapi/qmp/qstring.h
Quoted 15 lines · Daniel P. Berrangé
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 that inconsistency by creating
include/qobject/. The only outlier isinclude/qapi/qmp/dispatch.hwhich gets renamed toinclude/qapi/qmp-registry.h.To allow the code to continue to build, symlinks are temporarily added in $QEMU/qapi/qmp/ to point to the new location. They will be removed in a later commit.
Signed-off-by Daniel P. Berrangé <[email protected]>
[...]
MAINTAINERS S: Supported · line 3157
Quoted 10 lines
MAINTAINERS +0
-2@@ -3153,8 +3153,6 @@ S: Supported F: qapi/ X: qapi/*.json F: include/qapi/ -X: include/qapi/qmp/ -F: include/qapi/qmp/dispatch.h
This tried to have add just include/qapi/qmp/dispatch.h from this subdirectory. It didn't work:
$ scripts/get_maintainer.pl -f include/qapi/qmp/dispatch.h
get_maintainer.pl: No maintainers found, printing recent contributors.
get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.[email protected] (open list:All patches CC here)
The patch moved and renames the header to include/qapi/qmp-registry.h, which also fixes attribution:
$ scripts/get_maintainer.pl -f include/qapi/qmp-registry.h
Markus Armbruster <[email protected]> (supporter:QAPI)
Michael Roth <[email protected]> (supporter:QAPI)
[email protected] (open list:All patches CC here)Mentioning this in the commit message wouldn't hurt. Not worth a respin.
Quoted 13 lines
MAINTAINERS +1
-2F: tests/qapi-schema/ F: tests/unit/test-*-visitor.c F: tests/unit/test-qapi-*.c@@ -3178,8 +3176,7 @@ QObject M: Markus Armbruster <[email protected]> S: Supported F: qobject/ -F: include/qapi/qmp/ -X: include/qapi/qmp/dispatch.h +F: include/qobject/ F: scripts/coccinelle/qobject.cocci F: tests/unit/check-qdict.c F: tests/unit/check-qjson.c
[...]
Quoted 43 lines · Markus Armbruster
Quoted 15 lines · Daniel P. Berrangé
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 that inconsistency by creating
include/qobject/. The only outlier isinclude/qapi/qmp/dispatch.hwhich gets renamed toinclude/qapi/qmp-registry.h.To allow the code to continue to build, symlinks are temporarily added in $QEMU/qapi/qmp/ to point to the new location. They will be removed in a later commit.
Signed-off-by Daniel P. Berrangé <[email protected]>[...]
MAINTAINERS S: Supported · line 3157
Quoted 10 lines
MAINTAINERS +0
-2@@ -3153,8 +3153,6 @@ S: Supported F: qapi/ X: qapi/*.json F: include/qapi/ -X: include/qapi/qmp/ -F: include/qapi/qmp/dispatch.hThis tried to have add just
include/qapi/qmp/dispatch.hfrom this subdirectory. It didn't work:$ scripts/get_maintainer.pl -f include/qapi/qmp/dispatch.h get_maintainer.pl: No maintainers found, printing recent contributors. get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.[email protected] (open list:All patches CC here)
The patch moved and renames the header to
include/qapi/qmp-registry.h, which also fixes attribution:
Quoted 7 lines
$ scripts/get_maintainer.pl -f include/qapi/qmp-registry.h Markus Armbruster <[email protected]> (supporter:QAPI) Michael Roth <[email protected]> (supporter:QAPI) [email protected] (open list:All patches CC here)Mentioning this in the commit message wouldn't hurt. Not worth a respin.
I didn't even realize I had fixed such a bug :-) Feel free to add to the commit message if you choose to queue this series.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH v2 2/31 audio: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- audio/audio-hmp-cmds.c | 2 +- audio/audio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
audio/audio-hmp-cmds.c +1 -1
@@ -27,7 +27,7 @@#include "monitor/hmp.h" #include "monitor/monitor.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" static QLIST_HEAD (capture_list_head, CaptureState) capture_head;
audio/audio.c +1 -1
@@ -32,7 +32,7 @@#include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-audio.h" #include "qapi/qapi-commands-audio.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/cutils.h" #include "qemu/error-report.h" #include "qemu/log.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 02/31] audio: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:14 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 02/31] audio: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- audio/audio-hmp-cmds.c | 2 +- audio/audio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH v2 3/31 authz: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- authz/listfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
authz/listfile.c +2 -2
@@ -28,8 +28,8 @@#include "qemu/filemonitor.h" #include "qom/object_interfaces.h" #include "qapi/qapi-visit-authz.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qobject.h" +#include "qobject/qjson.h" +#include "qobject/qobject.h" #include "qapi/qobject-input-visitor.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 03/31] authz: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:15 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 03/31] authz: adapt to new import path for qobject data
type headers
Quoted 7 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- authz/listfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
PATCH v2 4/31 block: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- block.c | 8 ++++---- block/blkdebug.c | 6 +++--- block/blkio.c | 2 +- block/blklogwrites.c | 4 ++-- block/blkverify.c | 4 ++-- block/copy-before-write.c | 2 +- block/copy-on-read.c | 2 +- block/curl.c | 4 ++-- block/file-posix.c | 4 ++-- block/file-win32.c | 4 ++-- block/gluster.c | 2 +- block/iscsi.c | 4 ++-- block/monitor/block-hmp-cmds.c | 2 +- block/nbd.c | 2 +- block/nfs.c | 4 ++-- block/null.c | 4 ++-- block/nvme.c | 4 ++-- block/parallels.c | 2 +- block/qapi-sysemu.c | 2 +- block/qapi.c | 10 +++++----- block/qcow.c | 4 ++-- block/qcow2.c | 4 ++-- block/qed.c | 2 +- block/quorum.c | 6 +++--- block/rbd.c | 8 ++++---- block/replication.c | 2 +- block/snapshot.c | 4 ++-- block/ssh.c | 4 ++-- block/stream.c | 2 +- block/vhdx.c | 2 +- block/vmdk.c | 2 +- block/vpc.c | 2 +- block/vvfat.c | 4 ++-- blockdev.c | 8 ++++---- qemu-img.c | 4 ++-- qemu-io-cmds.c | 2 +- qemu-io.c | 4 ++-- qemu-nbd.c | 4 ++-- storage-daemon/qemu-storage-daemon.c | 4 ++-- 39 files changed, 74 insertions(+), 74 deletions(-)
block.c +4 -4
@@ -36,10 +36,10 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qnull.h" +#include "qobject/qstring.h" #include "qapi/qobject-output-visitor.h" #include "qapi/qapi-visit-block-core.h" #include "sysemu/block-backend.h"
block/blkdebug.c +3 -3
@@ -33,9 +33,9 @@#include "qemu/module.h" #include "qemu/option.h" #include "qapi/qapi-visit-block-core.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "sysemu/qtest.h"
block/blkio.c +1 -1
@@ -16,7 +16,7 @@#include "qemu/defer-call.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/module.h" #include "sysemu/block-backend.h" #include "exec/memory.h" /* for ram_block_discard_disable() */
block/blklogwrites.c +2 -2
@@ -14,8 +14,8 @@#include "qemu/sockets.h" /* for EINPROGRESS on Windows */ #include "block/block-io.h" #include "block/block_int.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/cutils.h" #include "qemu/module.h" #include "qemu/option.h"
block/blkverify.c +2 -2
@@ -12,8 +12,8 @@#include "qemu/sockets.h" /* for EINPROGRESS on Windows */ #include "block/block-io.h" #include "block/block_int.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/cutils.h" #include "qemu/module.h" #include "qemu/option.h"
block/copy-before-write.c +1 -1
@@ -24,7 +24,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qjson.h" #include "sysemu/block-backend.h" #include "qemu/cutils.h"
block/copy-on-read.c +1 -1
@@ -25,7 +25,7 @@#include "block/block_int.h" #include "qemu/module.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "block/copy-on-read.h"
block/curl.c +2 -2
@@ -29,8 +29,8 @@#include "qemu/option.h" #include "block/block-io.h" #include "block/block_int.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "crypto/secret.h" #include <curl/curl.h> #include "qemu/cutils.h"
block/file-posix.c +2 -2
@@ -36,8 +36,8 @@#include "block/thread-pool.h" #include "qemu/iov.h" #include "block/raw-aio.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "scsi/pr-manager.h" #include "scsi/constants.h"
block/file-win32.c +2 -2
@@ -33,8 +33,8 @@#include "trace.h" #include "block/thread-pool.h" #include "qemu/iov.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include <windows.h> #include <winioctl.h>
block/gluster.c +1 -1
@@ -15,7 +15,7 @@#include "block/block_int.h" #include "block/qdict.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/module.h"
block/iscsi.c +2 -2
@@ -44,8 +44,8 @@#include "sysemu/replay.h" #include "qapi/error.h" #include "qapi/qapi-commands-machine.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "crypto/secret.h" #include "scsi/utils.h" #include "trace.h"
block/monitor/block-hmp-cmds.c +1 -1
@@ -41,7 +41,7 @@#include "sysemu/blockdev.h" #include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-block-export.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qemu/config-file.h"
block/nbd.c +1 -1
@@ -36,7 +36,7 @@#include "qemu/main-loop.h" #include "qapi/qapi-visit-sockets.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qapi/clone-visitor.h" #include "block/qdict.h"
block/nfs.c +2 -2
@@ -41,8 +41,8 @@#include "qemu/cutils.h" #include "sysemu/replay.h" #include "qapi/qapi-visit-block-core.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include <nfsc/libnfs.h>
block/null.c +2 -2
@@ -12,8 +12,8 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/module.h" #include "qemu/option.h" #include "block/block-io.h"
block/nvme.c +2 -2
@@ -14,8 +14,8 @@#include "qemu/osdep.h" #include <linux/vfio.h> #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/defer-call.h" #include "qemu/error-report.h" #include "qemu/main-loop.h"
block/parallels.c +1 -1
@@ -36,7 +36,7 @@#include "sysemu/block-backend.h" #include "qemu/module.h" #include "qemu/option.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h" #include "qemu/bswap.h"
block/qapi-sysemu.c +1 -1
@@ -35,7 +35,7 @@#include "block/block_int.h" #include "qapi/error.h" #include "qapi/qapi-commands-block.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h"
block/qapi.c +5 -5
@@ -33,11 +33,11 @@#include "qapi/qapi-commands-block-core.h" #include "qapi/qobject-output-visitor.h" #include "qapi/qapi-visit-block-core.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/qemu-print.h" #include "sysemu/block-backend.h"
block/qcow.c +2 -2
@@ -34,8 +34,8 @@#include "qemu/cutils.h" #include "qemu/memalign.h" #include <zlib.h> -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h" #include "crypto/block.h"
block/qcow2.c +2 -2
@@ -32,8 +32,8 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/qapi-events-block-core.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "trace.h" #include "qemu/option_int.h" #include "qemu/cutils.h"
block/qed.c +1 -1
@@ -24,7 +24,7 @@#include "trace.h" #include "qed.h" #include "sysemu/block-backend.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h"
block/quorum.c +3 -3
@@ -23,10 +23,10 @@#include "block/qdict.h" #include "qapi/error.h" #include "qapi/qapi-events-block.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "crypto/hash.h" #define HASH_LENGTH 32
block/rbd.c +4 -4
@@ -24,10 +24,10 @@#include "crypto/secret.h" #include "qemu/cutils.h" #include "sysemu/replay.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qlist.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h"
block/replication.c +1 -1
@@ -21,7 +21,7 @@#include "block/block_backup.h" #include "sysemu/block-backend.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "block/replication.h" typedef enum {
block/snapshot.c +2 -2
@@ -27,8 +27,8 @@#include "block/block_int.h" #include "block/qdict.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/option.h" #include "sysemu/block-backend.h"
block/ssh.c +2 -2
@@ -39,8 +39,8 @@#include "qemu/sockets.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qapi-visit-block-core.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "trace.h"
block/stream.c +1 -1
@@ -16,7 +16,7 @@#include "block/block_int.h" #include "block/blockjob_int.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/ratelimit.h" #include "sysemu/block-backend.h" #include "block/copy-on-read.h"
block/vhdx.c +1 -1
@@ -29,7 +29,7 @@#include "vhdx.h" #include "migration/blocker.h" #include "qemu/uuid.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h"
block/vmdk.c +1 -1
@@ -27,7 +27,7 @@#include "qapi/error.h" #include "block/block_int.h" #include "sysemu/block-backend.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "qemu/option.h"
block/vpc.c +1 -1
@@ -34,7 +34,7 @@#include "qemu/bswap.h" #include "qemu/uuid.h" #include "qemu/memalign.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-block-core.h"
block/vvfat.c +2 -2
@@ -34,8 +34,8 @@#include "qemu/option.h" #include "qemu/bswap.h" #include "migration/blocker.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/ctype.h" #include "qemu/cutils.h" #include "qemu/error-report.h"
blockdev.c +4 -4
@@ -46,12 +46,12 @@#include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-transaction.h" #include "qapi/qapi-visit-block-core.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qapi/qobject-output-visitor.h" #include "sysemu/sysemu.h" #include "sysemu/iothread.h"
qemu-img.c +2 -2
@@ -32,8 +32,8 @@#include "qapi/qapi-commands-block-core.h" #include "qapi/qapi-visit-block-core.h" #include "qapi/qobject-output-visitor.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qdict.h" #include "qemu/cutils.h" #include "qemu/config-file.h" #include "qemu/option.h"
qemu-io-cmds.c +1 -1
@@ -10,7 +10,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu-io.h" #include "sysemu/block-backend.h" #include "block/block.h"
qemu-io.c +2 -2
@@ -27,8 +27,8 @@#include "qemu/readline.h" #include "qemu/log.h" #include "qemu/sockets.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qstring.h" +#include "qobject/qdict.h" #include "qom/object_interfaces.h" #include "sysemu/block-backend.h" #include "block/block_int.h"
qemu-nbd.c +2 -2
@@ -37,8 +37,8 @@#include "qemu/log.h" #include "qemu/systemd.h" #include "block/snapshot.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qom/object_interfaces.h" #include "io/channel-socket.h" #include "io/net-listener.h"
storage-daemon/qemu-storage-daemon.c +2 -2
@@ -38,8 +38,8 @@#include "qapi/qapi-visit-block-core.h" #include "qapi/qapi-visit-block-export.h" #include "qapi/qapi-visit-control.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qemu/help-texts.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 04/31] block: adapt to new import path for qobject data type headers
Quoted 42 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:16 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 04/31] block: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- block.c | 8 ++++---- block/blkdebug.c | 6 +++--- block/blkio.c | 2 +- block/blklogwrites.c | 4 ++-- block/blkverify.c | 4 ++-- block/copy-before-write.c | 2 +- block/copy-on-read.c | 2 +- block/curl.c | 4 ++-- block/file-posix.c | 4 ++-- block/file-win32.c | 4 ++-- block/gluster.c | 2 +- block/iscsi.c | 4 ++-- block/monitor/block-hmp-cmds.c | 2 +- block/nbd.c | 2 +- block/nfs.c | 4 ++-- block/null.c | 4 ++-- block/nvme.c | 4 ++-- block/parallels.c | 2 +- block/qapi-sysemu.c | 2 +- block/qapi.c | 10 +++++----- block/qcow.c | 4 ++-- block/qcow2.c | 4 ++-- block/qed.c | 2 +- block/quorum.c | 6 +++--- block/rbd.c | 8 ++++---- block/replication.c | 2 +- block/snapshot.c | 4 ++-- block/ssh.c | 4 ++-- block/stream.c | 2 +- block/vhdx.c | 2 +- block/vmdk.c | 2 +- block/vpc.c | 2 +-
Quoted 8 lines
block/vvfat.c | 4 ++-- blockdev.c | 8 ++++---- qemu-img.c | 4 ++-- qemu-io-cmds.c | 2 +- qemu-io.c | 4 ++-- qemu-nbd.c | 4 ++-- storage-daemon/qemu-storage-daemon.c | 4 ++-- 39 files changed, 74 insertions(+), 74 deletions(-)
PATCH v2 5/31 backends: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- backends/cryptodev-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
backends/cryptodev-hmp-cmds.c +1 -1
@@ -14,7 +14,7 @@#include "monitor/hmp.h" #include "monitor/monitor.h" #include "qapi/qapi-commands-cryptodev.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" void hmp_info_cryptodev (Monitor *mon,const QDict *qdict)
Signature · 1 line
2.46.0
Re: [PATCH v2 05/31] backends: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:17 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 05/31] backends: adapt to new import path for qobject
data type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- backends/cryptodev-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 6/31 chardev: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- chardev/char-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
chardev/char-hmp-cmds.c +1 -1
@@ -19,7 +19,7 @@#include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/qapi-commands-char.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/config-file.h" #include "qemu/option.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 06/31] chardev: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:18 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 06/31] chardev: adapt to new import path for qobject
data type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- chardev/char-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 7/31 docs: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- docs/devel/qapi-code-gen.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/qapi-code-gen.rst +2 -2
@@ -1854,7 +1854,7 @@ Example:: #ifndef EXAMPLE_QAPI_INIT_COMMANDS_H #define EXAMPLE_QAPI_INIT_COMMANDS_H - #include "qapi/qmp/dispatch.h" + #include "qapi/qmp-registry.h" void example_qmp_init_marshal(QmpCommandList *cmds);
@@ -1985,7 +1985,7 @@ Example:: #ifndef EXAMPLE_QAPI_INTROSPECT_H #define EXAMPLE_QAPI_INTROSPECT_H - #include "qapi/qmp/qlit.h" + #include "qobject/qlit.h" extern const QLitObject example_qmp_schema_qlit;
Signature · 1 line
2.46.0
Re: [PATCH v2 07/31] docs: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:19 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 07/31] docs: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- docs/devel/qapi-code-gen.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
PATCH v2 8/31 dump: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- dump/dump-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dump/dump-hmp-cmds.c +1 -1
@@ -10,7 +10,7 @@#include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/qapi-commands-dump.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" void hmp_dump_guest_memory (Monitor *mon,const QDict *qdict) {
Signature · 1 line
2.46.0
Re: [PATCH v2 08/31] dump: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:20 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 08/31] dump: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- dump/dump-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 9/31 hw: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- hw/arm/aspeed_ast27x0.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/arm/mps2.c | 2 +- hw/arm/mps3r.c | 2 +- hw/arm/sbsa-ref.c | 2 +- hw/arm/stellaris.c | 2 +- hw/arm/vexpress.c | 2 +- hw/arm/virt.c | 2 +- hw/arm/xlnx-versal.c | 2 +- hw/block/xen-block.c | 4 ++-- hw/core/machine-hmp-cmds.c | 2 +- hw/core/machine-qmp-cmds.c | 2 +- hw/core/qdev-properties.c | 2 +- hw/core/qdev.c | 2 +- hw/hyperv/hv-balloon.c | 2 +- hw/i386/acpi-build.c | 2 +- hw/i386/kvm/xen_evtchn.c | 2 +- hw/i386/monitor.c | 2 +- hw/i386/pc.c | 2 +- hw/net/rocker/rocker-hmp-cmds.c | 2 +- hw/net/virtio-net.c | 2 +- hw/net/xen_nic.c | 2 +- hw/pci/pci-hmp-cmds.c | 2 +- hw/ppc/pegasos2.c | 2 +- hw/ppc/spapr_drc.c | 2 +- hw/rx/rx62n.c | 2 +- hw/s390x/s390-skeys.c | 2 +- hw/s390x/s390-stattrib.c | 2 +- hw/usb/xen-usb.c | 4 ++-- hw/vfio/pci.c | 2 +- hw/virtio/virtio-hmp-cmds.c | 2 +- hw/virtio/virtio-qmp.c | 4 ++-- hw/xen/xen-bus.c | 2 +- 33 files changed, 36 insertions(+), 36 deletions(-)
hw/arm/aspeed_ast27x0.c +1 -1
@@ -19,7 +19,7 @@#include "net/net.h" #include "sysemu/sysemu.h" #include "hw/intc/arm_gicv3.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/log.h" static const hwaddr aspeed_soc_ast2700_memmap[] = {
hw/arm/mps2-tz.c +1 -1
@@ -48,7 +48,7 @@#include "qemu/units.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/error-report.h" #include "hw/arm/boot.h" #include "hw/arm/armv7m.h"
hw/arm/mps2.c +1 -1
@@ -48,7 +48,7 @@#include "net/net.h" #include "hw/watchdog/cmsdk-apb-watchdog.h" #include "hw/qdev-clock.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qom/object.h" typedef enum MPS2FPGAType {
hw/arm/mps3r.c +1 -1
@@ -27,7 +27,7 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "exec/address-spaces.h" #include "cpu.h" #include "sysemu/sysemu.h"
hw/arm/sbsa-ref.c +1 -1
@@ -48,7 +48,7 @@#include "hw/char/pl011.h" #include "hw/watchdog/sbsa_gwdt.h" #include "net/net.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qom/object.h" #include "target/arm/cpu-qom.h" #include "target/arm/gtimer.h"
hw/arm/stellaris.c +1 -1
@@ -31,7 +31,7 @@#include "hw/timer/stellaris-gptm.h" #include "hw/qdev-clock.h" #include "qom/object.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "ui/input.h" #define GPIO_A 0
hw/arm/vexpress.c +1 -1
@@ -42,7 +42,7 @@#include "hw/cpu/a15mpcore.h" #include "hw/i2c/arm_sbcon_i2c.h" #include "hw/sd/sd.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qom/object.h" #include "audio/audio.h" #include "target/arm/cpu-qom.h"
hw/arm/virt.c +1 -1
@@ -70,7 +70,7 @@#include "hw/firmware/smbios.h" #include "qapi/visitor.h" #include "qapi/qapi-visit-common.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "standard-headers/linux/input.h" #include "hw/arm/smmuv3.h" #include "hw/acpi/acpi.h"
hw/arm/xlnx-versal.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/module.h" #include "hw/sysbus.h" #include "net/net.h"
hw/block/xen-block.c +2 -2
@@ -16,8 +16,8 @@#include "qapi/qapi-visit-block-core.h" #include "qapi/qobject-input-visitor.h" #include "qapi/visitor.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qom/object_interfaces.h" #include "hw/block/xen_blkif.h" #include "hw/qdev-properties.h"
hw/core/machine-hmp-cmds.c +1 -1
@@ -19,7 +19,7 @@#include "qapi/error.h" #include "qapi/qapi-builtin-visit.h" #include "qapi/qapi-commands-machine.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/string-output-visitor.h" #include "qemu/error-report.h" #include "sysemu/numa.h"
hw/core/machine-qmp-cmds.c +1 -1
@@ -15,7 +15,7 @@#include "qapi/error.h" #include "qapi/qapi-builtin-visit.h" #include "qapi/qapi-commands-machine.h" -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" #include "qapi/qobject-input-visitor.h" #include "qapi/type-helpers.h" #include "qemu/uuid.h"
hw/core/qdev-properties.c +1 -1
@@ -2,7 +2,7 @@#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qapi/qapi-types-misc.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/ctype.h" #include "qemu/error-report.h" #include "qapi/visitor.h"
hw/core/qdev.c +1 -1
@@ -28,7 +28,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-events-qdev.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/visitor.h" #include "qemu/error-report.h" #include "qemu/option.h"
hw/hyperv/hv-balloon.c +1 -1
@@ -26,7 +26,7 @@#include "qapi/qapi-commands-machine.h" #include "qapi/qapi-events-machine.h" #include "qapi/qapi-types-machine.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/visitor.h" #include "qemu/error-report.h" #include "qemu/module.h"
hw/i386/acpi-build.c +1 -1
@@ -22,7 +22,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qnum.h" #include "acpi-build.h" #include "acpi-common.h" #include "qemu/bitmap.h"
hw/i386/kvm/xen_evtchn.c +1 -1
@@ -20,7 +20,7 @@#include "monitor/hmp.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qom/object.h" #include "exec/target_page.h" #include "exec/address-spaces.h"
hw/i386/monitor.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/osdep.h" #include "monitor/monitor.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" #include "hw/i386/x86.h"
hw/i386/pc.c +1 -1
@@ -44,7 +44,7 @@#include "sysemu/reset.h" #include "kvm/kvm_i386.h" #include "hw/xen/xen.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/error-report.h" #include "hw/acpi/cpu_hotplug.h" #include "acpi-build.h"
hw/net/rocker/rocker-hmp-cmds.c +1 -1
@@ -18,7 +18,7 @@#include "monitor/monitor.h" #include "net/eth.h" #include "qapi/qapi-commands-rocker.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" void hmp_rocker (Monitor *mon,const QDict *qdict) {
hw/net/virtio-net.c +1 -1
@@ -26,7 +26,7 @@#include "qemu/option.h" #include "qemu/option_int.h" #include "qemu/config-file.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/virtio/virtio-net.h" #include "net/vhost_net.h" #include "net/announce.h"
hw/net/xen_nic.c +1 -1
@@ -24,7 +24,7 @@#include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/qemu-print.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include <sys/socket.h>
hw/pci/pci-hmp-cmds.c +1 -1
@@ -20,7 +20,7 @@#include "monitor/monitor.h" #include "pci-internal.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qapi-commands-pci.h" #include "qemu/cutils.h"
hw/ppc/pegasos2.c +1 -1
@@ -32,7 +32,7 @@#include "kvm_ppc.h" #include "exec/address-spaces.h" #include "qom/qom-qobject.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "trace.h" #include "qemu/datadir.h" #include "sysemu/device_tree.h"
hw/ppc/spapr_drc.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qemu/cutils.h" #include "hw/ppc/spapr_drc.h" #include "qom/object.h"
hw/rx/rx62n.c +1 -1
@@ -29,7 +29,7 @@#include "hw/sysbus.h" #include "hw/qdev-properties.h" #include "sysemu/sysemu.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qom/object.h" /*
hw/s390x/s390-skeys.c +1 -1
@@ -16,7 +16,7 @@#include "hw/s390x/storage-keys.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/error-report.h" #include "sysemu/memory_mapping.h" #include "exec/address-spaces.h"
hw/s390x/s390-stattrib.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/error-report.h" #include "exec/ram_addr.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "cpu.h" /* 512KiB cover 2GB of guest memory */
hw/usb/xen-usb.c +2 -2
@@ -30,8 +30,8 @@#include "hw/xen/xen-legacy-backend.h" #include "monitor/qdev.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "hw/xen/interface/io/usbif.h"
hw/vfio/pci.c +1 -1
@@ -30,7 +30,7 @@#include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h" #include "migration/vmstate.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h"
hw/virtio/virtio-hmp-cmds.c +1 -1
@@ -9,7 +9,7 @@#include "monitor/hmp.h" #include "monitor/monitor.h" #include "qapi/qapi-commands-virtio.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" static void hmp_virtio_dump_protocols(Monitor *mon,
hw/virtio/virtio-qmp.c +2 -2
@@ -15,8 +15,8 @@#include "qapi/error.h" #include "qapi/qapi-commands-virtio.h" #include "qapi/qapi-commands-qom.h" -#include "qapi/qmp/qobject.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qobject.h" +#include "qobject/qjson.h" #include "hw/virtio/vhost-user.h" #include "standard-headers/linux/virtio_ids.h"
hw/xen/xen-bus.c +1 -1
@@ -18,7 +18,7 @@#include "hw/xen/xen-bus-helper.h" #include "monitor/monitor.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "sysemu/sysemu.h" #include "net/net.h" #include "trace.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 09/31] hw: adapt to new import path for qobject data type headers
Quoted 18 lines · On Thu, 17 Oct 2024 12:33:21 +0100 Daniel P. Berrangé <[email protected]>…
hw/s390x/s390-skeys.c +1
-1@@ -16,7 +16,7 @@#include "hw/s390x/storage-keys.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/error-report.h" #include "sysemu/memory_mapping.h" #include "exec/address-spaces.h" hw/s390x/s390-stattrib.c +0
-0
hw/s390x/s390-stattrib.c line 22
Quoted 6 lines
hw/s390x/s390-stattrib.c +1
-1@@ -18,7 +18,7 @@#include "qemu/error-report.h" #include "exec/ram_addr.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "cpu.h"
Re: [PATCH v2 09/31] hw: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéQuoted 36 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:21 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 09/31] hw: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- hw/arm/aspeed_ast27x0.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/arm/mps2.c | 2 +- hw/arm/mps3r.c | 2 +- hw/arm/sbsa-ref.c | 2 +- hw/arm/stellaris.c | 2 +- hw/arm/vexpress.c | 2 +- hw/arm/virt.c | 2 +- hw/arm/xlnx-versal.c | 2 +- hw/block/xen-block.c | 4 ++-- hw/core/machine-hmp-cmds.c | 2 +- hw/core/machine-qmp-cmds.c | 2 +- hw/core/qdev-properties.c | 2 +- hw/core/qdev.c | 2 +- hw/hyperv/hv-balloon.c | 2 +- hw/i386/acpi-build.c | 2 +- hw/i386/kvm/xen_evtchn.c | 2 +- hw/i386/monitor.c | 2 +- hw/i386/pc.c | 2 +- hw/net/rocker/rocker-hmp-cmds.c | 2 +- hw/net/virtio-net.c | 2 +- hw/net/xen_nic.c | 2 +- hw/pci/pci-hmp-cmds.c | 2 +- hw/ppc/pegasos2.c | 2 +- hw/ppc/spapr_drc.c | 2 +- hw/rx/rx62n.c | 2 +-
Quoted 9 lines
hw/s390x/s390-skeys.c | 2 +- hw/s390x/s390-stattrib.c | 2 +- hw/usb/xen-usb.c | 4 ++-- hw/vfio/pci.c | 2 +- hw/virtio/virtio-hmp-cmds.c | 2 +- hw/virtio/virtio-qmp.c | 4 ++-- hw/xen/xen-bus.c | 2 +- 33 files changed, 36 insertions(+), 36 deletions(-)
PATCH v2 10/31 include: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- include/block/qdict.h | 2 +- include/qobject/qbool.h | 2 +- include/qobject/qdict.h | 2 +- include/qobject/qlist.h | 2 +- include/qobject/qnull.h | 2 +- include/qobject/qnum.h | 2 +- include/qobject/qobject.h | 2 +- include/qobject/qstring.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
include/block/qdict.h +1 -1
@@ -10,7 +10,7 @@#ifndef BLOCK_QDICT_H #define BLOCK_QDICT_H -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" QObject *qdict_crumple (const QDict *src,Error **errp);void qdict_flatten (QDict *qdict);
include/qobject/qbool.h +1 -1
@@ -14,7 +14,7 @@ #ifndef QBOOL_H #define QBOOL_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" struct QBool { struct QObjectBase_ base;
include/qobject/qdict.h +1 -1
@@ -13,7 +13,7 @@#ifndef QDICT_H #define QDICT_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" #include "qemu/queue.h" #define QDICT_BUCKET_MAX 512
include/qobject/qlist.h +1 -1
@@ -13,7 +13,7 @@ #ifndef QLIST_H #define QLIST_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" #include "qemu/queue.h" typedef struct QListEntry {
include/qobject/qnull.h +1 -1
@@ -13,7 +13,7 @@ #ifndef QNULL_H #define QNULL_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" struct QNull { struct QObjectBase_ base;
include/qobject/qnum.h +1 -1
@@ -15,7 +15,7 @@ #ifndef QNUM_H #define QNUM_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" typedef enum { QNUM_I64,
include/qobject/qobject.h +1 -1
@@ -34,7 +34,7 @@#include "qapi/qapi-builtin-types.h" -/* Not for use outside include/qapi/qmp/ */ +/* Not for use outside include/qobject/ */ struct QObjectBase_ {QType type;size_t refcnt;
include/qobject/qstring.h +1 -1
@@ -13,7 +13,7 @@ #ifndef QSTRING_H #define QSTRING_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" struct QString { struct QObjectBase_ base;
Signature · 1 line
2.46.0
Re: [PATCH v2 10/31] include: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:22 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 10/31] include: adapt to new import path for qobject
data type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 10 lines
--- include/block/qdict.h | 2 +- include/qobject/qbool.h | 2 +- include/qobject/qdict.h | 2 +- include/qobject/qlist.h | 2 +- include/qobject/qnull.h | 2 +- include/qobject/qnum.h | 2 +- include/qobject/qobject.h | 2 +- include/qobject/qstring.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
PATCH v2 11/31 migration: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- migration/dirtyrate.c | 2 +- migration/migration-hmp-cmds.c | 2 +- migration/migration.c | 2 +- migration/migration.h | 2 +- migration/options.c | 2 +- migration/vmstate.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
migration/dirtyrate.c +1 -1
@@ -24,7 +24,7 @@#include "dirtyrate.h" #include "monitor/hmp.h" #include "monitor/monitor.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "sysemu/kvm.h" #include "sysemu/runstate.h" #include "exec/memory.h"
migration/migration-hmp-cmds.c +1 -1
@@ -21,7 +21,7 @@#include "qapi/error.h" #include "qapi/qapi-commands-migration.h" #include "qapi/qapi-visit-migration.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/string-input-visitor.h" #include "qapi/string-output-visitor.h" #include "qemu/cutils.h"
migration/migration.c +1 -1
@@ -43,7 +43,7 @@#include "qapi/qapi-commands-migration.h" #include "qapi/qapi-events-migration.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qemu/rcu.h" #include "postcopy-ram.h" #include "qemu/thread.h"
migration/migration.h +1 -1
@@ -17,7 +17,7 @@#include "exec/cpu-common.h" #include "hw/qdev-core.h" #include "qapi/qapi-types-migration.h" -#include "qapi/qmp/json-writer.h" +#include "qobject/json-writer.h" #include "qemu/thread.h" #include "qemu/coroutine.h" #include "io/channel.h"
migration/options.c +1 -1
@@ -19,7 +19,7 @@#include "qapi/qapi-commands-migration.h" #include "qapi/qapi-visit-migration.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "sysemu/runstate.h" #include "migration/colo.h" #include "migration/misc.h"
migration/vmstate.c +1 -1
@@ -15,7 +15,7 @@#include "migration/vmstate.h" #include "savevm.h" #include "qapi/error.h" -#include "qapi/qmp/json-writer.h" +#include "qobject/json-writer.h" #include "qemu-file.h" #include "qemu/bitops.h" #include "qemu/error-report.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 11/31] migration: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:23 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 11/31] migration: adapt to new import path for qobject
data type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 8 lines
--- migration/dirtyrate.c | 2 +- migration/migration-hmp-cmds.c | 2 +- migration/migration.c | 2 +- migration/migration.h | 2 +- migration/options.c | 2 +- migration/vmstate.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
PATCH v2 12/31 monitor: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- monitor/hmp-cmds-target.c | 2 +- monitor/hmp-cmds.c | 2 +- monitor/hmp.c | 4 ++-- monitor/monitor-internal.h | 4 ++-- monitor/monitor.c | 2 +- monitor/qemu-config-qmp.c | 2 +- monitor/qmp.c | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-)
monitor/hmp-cmds-target.c +1 -1
@@ -29,7 +29,7 @@#include "monitor/hmp-target.h" #include "monitor/monitor-internal.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "sysemu/hw_accel.h" /* Set the current CPU defined by the user. Callers must hold BQL. */
monitor/hmp-cmds.c +1 -1
@@ -25,7 +25,7 @@#include "qapi/qapi-commands-control.h" #include "qapi/qapi-commands-machine.h" #include "qapi/qapi-commands-misc.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "sysemu/sysemu.h"
monitor/hmp.c +2 -2
@@ -27,8 +27,8 @@#include "hw/qdev-core.h" #include "monitor-internal.h" #include "monitor/hmp.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/config-file.h" #include "qemu/ctype.h" #include "qemu/cutils.h"
monitor/monitor-internal.h +2 -2
@@ -28,8 +28,8 @@#include "chardev/char-fe.h" #include "monitor/monitor.h" #include "qapi/qapi-types-control.h" -#include "qapi/qmp/dispatch.h" -#include "qapi/qmp/json-parser.h" +#include "qapi/qmp-registry.h" +#include "qobject/json-parser.h" #include "qemu/readline.h" #include "sysemu/iothread.h"
monitor/monitor.c +1 -1
@@ -28,7 +28,7 @@#include "qapi/opts-visitor.h" #include "qapi/qapi-emit-events.h" #include "qapi/qapi-visit-control.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h"
monitor/qemu-config-qmp.c +1 -1
@@ -2,7 +2,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "hw/boards.h"
monitor/qmp.c +3 -3
@@ -28,9 +28,9 @@#include "monitor-internal.h" #include "qapi/error.h" #include "qapi/qapi-commands-control.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qlist.h" #include "trace.h" /*
Signature · 1 line
2.46.0
Re: [PATCH v2 12/31] monitor: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:24 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 12/31] monitor: adapt to new import path for qobject
data type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 10 lines
--- monitor/hmp-cmds-target.c | 2 +- monitor/hmp-cmds.c | 2 +- monitor/hmp.c | 4 ++-- monitor/monitor-internal.h | 4 ++-- monitor/monitor.c | 2 +- monitor/qemu-config-qmp.c | 2 +- monitor/qmp.c | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-)
PATCH v2 13/31 net: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- net/net-hmp-cmds.c | 2 +- net/net.c | 2 +- net/slirp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
net/net-hmp-cmds.c +1 -1
@@ -22,7 +22,7 @@#include "qapi/clone-visitor.h" #include "qapi/qapi-commands-net.h" #include "qapi/qapi-visit-net.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/config-file.h" #include "qemu/help_option.h" #include "qemu/option.h"
net/net.c +1 -1
@@ -36,7 +36,7 @@#include "qemu/help_option.h" #include "qapi/qapi-commands-net.h" #include "qapi/qapi-visit-net.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/sockets.h"
net/slirp.c +1 -1
@@ -43,7 +43,7 @@#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "util.h" #include "migration/register.h" #include "migration/vmstate.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 13/31] net: adapt to new import path for qobject data type headers
Quoted 8 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:25 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 13/31] net: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Quoted 7 lines
Signed-off-by Daniel P. Berrangé <[email protected]>--- net/net-hmp-cmds.c | 2 +- net/net.c | 2 +- net/slirp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
PATCH v2 14/31 qapi: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- qapi/qapi-clone-visitor.c | 2 +- qapi/qapi-dealloc-visitor.c | 2 +- qapi/qapi-forward-visitor.c | 14 +++++++------- qapi/qmp-dispatch.c | 8 ++++---- qapi/qmp-event.c | 6 +++--- qapi/qmp-registry.c | 2 +- qapi/qobject-input-visitor.c | 14 +++++++------- qapi/qobject-output-visitor.c | 12 ++++++------ qapi/string-input-visitor.c | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-)
qapi/qapi-clone-visitor.c +1 -1
@@ -12,7 +12,7 @@#include "qapi/clone-visitor.h" #include "qapi/visitor-impl.h" #include "qapi/error.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" struct QapiCloneVisitor {Visitor visitor;
qapi/qapi-dealloc-visitor.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" #include "qapi/dealloc-visitor.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qapi/visitor-impl.h" struct QapiDeallocVisitor
qapi/qapi-forward-visitor.c +7 -7
@@ -14,14 +14,14 @@#include "qapi/forward-visitor.h" #include "qapi/visitor-impl.h" #include "qemu/queue.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/cutils.h" struct ForwardFieldVisitor {
qapi/qmp-dispatch.c +4 -4
@@ -16,12 +16,12 @@#include "block/aio.h" #include "qapi/compat-policy.h" #include "qapi/error.h" -#include "qapi/qmp/dispatch.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" +#include "qapi/qmp-registry.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" -#include "qapi/qmp/qbool.h" +#include "qobject/qbool.h" #include "qemu/coroutine.h" #include "qemu/main-loop.h"
qapi/qmp-event.c +3 -3
@@ -14,9 +14,9 @@#include "qemu/osdep.h" #include "qapi/qmp-event.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" static void timestamp_put (QDict *qdict) {
qapi/qmp-registry.c +1 -1
@@ -13,7 +13,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/dispatch.h" +#include "qapi/qmp-registry.h" void qmp_register_command(QmpCommandList *cmds, const char *name, QmpCommandFunc *fn, QmpCommandOptions options,
qapi/qobject-input-visitor.c +7 -7
@@ -19,14 +19,14 @@#include "qapi/qobject-input-visitor.h" #include "qapi/visitor-impl.h" #include "qemu/queue.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/cutils.h" #include "qemu/keyval.h"
qapi/qobject-output-visitor.c +6 -6
@@ -17,12 +17,12 @@#include "qapi/qobject-output-visitor.h" #include "qapi/visitor-impl.h" #include "qemu/queue.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" typedef struct QStackEntry { QObject *value;
qapi/string-input-visitor.c +1 -1
@@ -15,7 +15,7 @@#include "qapi/string-input-visitor.h" #include "qapi/visitor-impl.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qemu/option.h" #include "qemu/cutils.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 14/31] qapi: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:26 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 14/31] qapi: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 12 lines
--- qapi/qapi-clone-visitor.c | 2 +- qapi/qapi-dealloc-visitor.c | 2 +- qapi/qapi-forward-visitor.c | 14 +++++++------- qapi/qmp-dispatch.c | 8 ++++---- qapi/qmp-event.c | 6 +++--- qapi/qmp-registry.c | 2 +- qapi/qobject-input-visitor.c | 14 +++++++------- qapi/qobject-output-visitor.c | 12 ++++++------ qapi/string-input-visitor.c | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-)
PATCH v2 15/31 qga: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- qga/guest-agent-core.h | 2 +- qga/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
qga/guest-agent-core.h +1 -1
@@ -13,7 +13,7 @@#ifndef GUEST_AGENT_CORE_H #define GUEST_AGENT_CORE_H -#include "qapi/qmp/dispatch.h" +#include "qapi/qmp-registry.h" #include "qga-qapi-types.h" #define QGA_READ_COUNT_DEFAULT 4096
qga/main.c +3 -3
@@ -19,9 +19,9 @@#include <sys/wait.h> #endif #include "qemu/help-texts.h" -#include "qapi/qmp/json-parser.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" +#include "qobject/json-parser.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" #include "guest-agent-core.h" #include "qga-qapi-init-commands.h" #include "qapi/error.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 15/31] qga: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:27 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 15/31] qga: adapt to new import path for qobject data
type headers
Quoted 9 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qga/guest-agent-core.h | 2 +- qga/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
PATCH v2 16/31 qobject: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- qobject/block-qdict.c | 8 ++++---- qobject/json-parser-int.h | 2 +- qobject/json-parser.c | 12 ++++++------ qobject/json-writer.c | 2 +- qobject/qbool.c | 2 +- qobject/qdict.c | 10 +++++----- qobject/qjson.c | 16 ++++++++-------- qobject/qlist.c | 10 +++++----- qobject/qlit.c | 14 +++++++------- qobject/qnull.c | 2 +- qobject/qnum.c | 2 +- qobject/qobject-internal.h | 2 +- qobject/qobject.c | 12 ++++++------ qobject/qstring.c | 2 +- 14 files changed, 48 insertions(+), 48 deletions(-)
qobject/block-qdict.c +4 -4
@@ -9,10 +9,10 @@#include "qemu/osdep.h" #include "block/qdict.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qemu/cutils.h" #include "qapi/error.h"
qobject/json-parser-int.h +1 -1
@@ -14,7 +14,7 @@ #ifndef JSON_PARSER_INT_H #define JSON_PARSER_INT_H -#include "qapi/qmp/json-parser.h" +#include "qobject/json-parser.h" typedef enum json_token_type { JSON_ERROR = 0, /* must be zero, see json_lexer[] */
qobject/json-parser.c +6 -6
@@ -16,12 +16,12 @@#include "qemu/cutils.h" #include "qemu/unicode.h" #include "qapi/error.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "json-parser-int.h" struct JSONToken {
qobject/json-writer.c +1 -1
@@ -14,7 +14,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/json-writer.h" +#include "qobject/json-writer.h" #include "qemu/unicode.h" struct JSONWriter {
qobject/qbool.c +1 -1
@@ -12,7 +12,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qbool.h" +#include "qobject/qbool.h" #include "qobject-internal.h" /**
qobject/qdict.c +5 -5
@@ -11,11 +11,11 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qbool.h" +#include "qobject/qnull.h" +#include "qobject/qstring.h" #include "qobject-internal.h" /**
qobject/qjson.c +8 -8
@@ -13,14 +13,14 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/json-parser.h" -#include "qapi/qmp/json-writer.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/json-parser.h" +#include "qobject/json-writer.h" +#include "qobject/qjson.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" typedef struct JSONParsingState { JSONMessageParser parser;
qobject/qlist.c +5 -5
@@ -11,11 +11,11 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/queue.h" #include "qobject-internal.h"
qobject/qlit.c +7 -7
@@ -15,13 +15,13 @@#include "qemu/osdep.h" -#include "qapi/qmp/qlit.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qlit.h" +#include "qobject/qbool.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" +#include "qobject/qnull.h" static bool qlit_equal_qdict (const QLitObject *lhs,const QDict *qdict) {
qobject/qnull.c +1 -1
@@ -11,7 +11,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qobject-internal.h" QNull qnull_ = {
qobject/qnum.c +1 -1
@@ -13,7 +13,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qnum.h" #include "qobject-internal.h" /**
qobject/qobject-internal.h +1 -1
@@ -10,7 +10,7 @@#ifndef QOBJECT_INTERNAL_H #define QOBJECT_INTERNAL_H -#include "qapi/qmp/qobject.h" +#include "qobject/qobject.h" static inline void qobject_init (QObject *obj,QType type) {
qobject/qobject.c +6 -6
@@ -8,12 +8,12 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "qobject-internal.h" QEMU_BUILD_BUG_MSG(
qobject/qstring.c +1 -1
@@ -11,7 +11,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qobject-internal.h" /**
Signature · 1 line
2.46.0
Re: [PATCH v2 16/31] qobject: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:28 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 16/31] qobject: adapt to new import path for qobject
data type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 17 lines
--- qobject/block-qdict.c | 8 ++++---- qobject/json-parser-int.h | 2 +- qobject/json-parser.c | 12 ++++++------ qobject/json-writer.c | 2 +- qobject/qbool.c | 2 +- qobject/qdict.c | 10 +++++----- qobject/qjson.c | 16 ++++++++-------- qobject/qlist.c | 10 +++++----- qobject/qlit.c | 14 +++++++------- qobject/qnull.c | 2 +- qobject/qnum.c | 2 +- qobject/qobject-internal.h | 2 +- qobject/qobject.c | 12 ++++++------ qobject/qstring.c | 2 +- 14 files changed, 48 insertions(+), 48 deletions(-)
PATCH v2 17/31 qom: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- qom/object.c | 10 +++++----- qom/object_interfaces.c | 6 +++--- qom/qom-hmp-cmds.c | 4 ++-- qom/qom-qmp-cmds.c | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-)
qom/object.c +5 -5
@@ -23,16 +23,16 @@#include "qapi/qobject-input-visitor.h" #include "qapi/forward-visitor.h" #include "qapi/qapi-builtin-visit.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qjson.h" #include "trace.h" /* TODO: replace QObject with a simpler visitor to avoid a dependency * of the QOM core on QObject? */ #include "qom/qom-qobject.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/error-report.h" #define MAX_INTERFACES 32
qom/object_interfaces.c +3 -3
@@ -3,10 +3,10 @@#include "qemu/cutils.h" #include "qapi/error.h" #include "qapi/qapi-visit-qom.h" -#include "qapi/qmp/qobject.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qobject.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qjson.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qom/object_interfaces.h"
qom/qom-hmp-cmds.c +2 -2
@@ -11,8 +11,8 @@#include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/qapi-commands-qom.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" #include "qemu/readline.h" #include "qom/object.h" #include "qom/object_interfaces.h"
qom/qom-qmp-cmds.c +1 -1
@@ -20,7 +20,7 @@#include "qapi/qapi-commands-qdev.h" #include "qapi/qapi-commands-qom.h" #include "qapi/qapi-visit-qom.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 17/31] qom: adapt to new import path for qobject data type headers
Quoted 8 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:29 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 17/31] qom: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Quoted 8 lines
Signed-off-by Daniel P. Berrangé <[email protected]>--- qom/object.c | 10 +++++----- qom/object_interfaces.c | 6 +++--- qom/qom-hmp-cmds.c | 4 ++-- qom/qom-qmp-cmds.c | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-)
PATCH v2 18/31 replay: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- replay/replay-debugging.c | 2 +- replay/replay-snapshot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
replay/replay-debugging.c +1 -1
@@ -17,7 +17,7 @@#include "monitor/hmp.h" #include "monitor/monitor.h" #include "qapi/qapi-commands-replay.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/timer.h" #include "block/snapshot.h" #include "migration/snapshot.h"
replay/replay-snapshot.c +1 -1
@@ -14,7 +14,7 @@#include "sysemu/replay.h" #include "replay-internal.h" #include "monitor/monitor.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qemu/error-report.h" #include "migration/vmstate.h" #include "migration/snapshot.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 18/31] replay: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:30 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 18/31] replay: adapt to new import path for qobject data
type headers
Quoted 9 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- replay/replay-debugging.c | 2 +- replay/replay-snapshot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH v2 19/31 scripts: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- scripts/qapi/commands.py | 6 +++--- scripts/qapi/events.py | 2 +- scripts/qapi/introspect.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
scripts/qapi/commands.py +3 -3
@@ -320,7 +320,7 @@ def _begin_user_module(self, name: str) -> None: #include "qemu/osdep.h" #include "qapi/compat-policy.h" #include "qapi/visitor.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/dealloc-visitor.h" #include "qapi/error.h" #include "%(visit)s.h"
@@ -330,7 +330,7 @@ def _begin_user_module(self, name: str) -> None: if self._gen_tracing and commands != 'qapi-commands': self._genc.add(mcgen(''' -#include "qapi/qmp/qjson.h" +#include "qobject/qjson.h" #include "trace/trace-%(nm)s_trace_events.h" ''', nm=c_name(commands, protect=False)))
@@ -346,7 +346,7 @@ def _begin_user_module(self, name: str) -> None: def visit_begin(self, schema: QAPISchema) -> None: self._add_module('./init', ' * QAPI Commands initialization') self._genh.add(mcgen(''' -#include "qapi/qmp/dispatch.h" +#include "qapi/qmp-registry.h" void %(c_prefix)sqmp_init_marshal(QmpCommandList *cmds); ''',
scripts/qapi/events.py +1 -1
@@ -194,7 +194,7 @@ def _begin_user_module(self, name: str) -> None: #include "%(visit)s.h" #include "qapi/compat-policy.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qmp-event.h" ''', events=events, visit=visit,
scripts/qapi/introspect.py +1 -1
@@ -197,7 +197,7 @@ def visit_end(self) -> None: # generate C name = c_name(self._prefix, protect=False) + 'qmp_schema_qlit' self._genh.add(mcgen(''' -#include "qapi/qmp/qlit.h" +#include "qobject/qlit.h" extern const QLitObject %(c_name)s; ''',
Signature · 1 line
2.46.0
Re: [PATCH v2 19/31] scripts: adapt to new import path for qobject data type headers
Quoted 8 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:31 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 19/31] scripts: adapt to new import path for qobject
data type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Quoted 7 lines
Signed-off-by Daniel P. Berrangé <[email protected]>--- scripts/qapi/commands.py | 6 +++--- scripts/qapi/events.py | 2 +- scripts/qapi/introspect.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
PATCH v2 20/31 scsi: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- scsi/qemu-pr-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scsi/qemu-pr-helper.c +1 -1
@@ -47,7 +47,7 @@#include "qemu/log.h" #include "qemu/systemd.h" #include "qapi/util.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "io/channel-socket.h" #include "trace/control.h" #include "qemu-version.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 20/31] scsi: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:32 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 20/31] scsi: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- scsi/qemu-pr-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 21/31 stats: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- stats/stats-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
stats/stats-hmp-cmds.c +1 -1
@@ -11,7 +11,7 @@#include "monitor/monitor.h" #include "qemu/cutils.h" #include "hw/core/cpu.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" static void print_stats_schema_value (Monitor *mon,StatsSchemaValue *value)
Signature · 1 line
2.46.0
Re: [PATCH v2 21/31] stats: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:33 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 21/31] stats: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- stats/stats-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 22/31 stubs: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- stubs/qmp-command-available.c | 2 +- stubs/qmp-quit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
stubs/qmp-command-available.c +1 -1
@@ -1,5 +1,5 @@#include "qemu/osdep.h" -#include "qapi/qmp/dispatch.h" +#include "qapi/qmp-registry.h" bool qmp_command_available (const QmpCommand *cmd,Error **errp) {
stubs/qmp-quit.c +1 -1
@@ -1,6 +1,6 @@#include "qemu/osdep.h" #include "qapi/qapi-commands-control.h" -#include "qapi/qmp/dispatch.h" +#include "qapi/qmp-registry.h" void qmp_quit (Error **errp) {
Signature · 1 line
2.46.0
Re: [PATCH v2 22/31] stubs: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:34 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 22/31] stubs: adapt to new import path for qobject data
type headers
Quoted 9 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- stubs/qmp-command-available.c | 2 +- stubs/qmp-quit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH v2 23/31 system: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- system/device_tree.c | 2 +- system/dirtylimit.c | 2 +- system/qdev-monitor.c | 6 +++--- system/rtc.c | 1 + system/runstate-hmp-cmds.c | 2 +- system/vl.c | 6 +++--- 6 files changed, 10 insertions(+), 9 deletions(-)
system/device_tree.c +1 -1
@@ -28,7 +28,7 @@#include "hw/boards.h" #include "qemu/config-file.h" #include "qapi/qapi-commands-machine.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "monitor/hmp.h" #include <libfdt.h>
system/dirtylimit.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "qapi/qapi-commands-migration.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include "sysemu/dirtyrate.h" #include "sysemu/dirtylimit.h"
system/qdev-monitor.c +3 -3
@@ -25,10 +25,10 @@#include "sysemu/arch_init.h" #include "qapi/error.h" #include "qapi/qapi-commands-qdev.h" -#include "qapi/qmp/dispatch.h" -#include "qapi/qmp/qdict.h" +#include "qapi/qmp-registry.h" +#include "qobject/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qemu/config-file.h" #include "qemu/error-report.h"
system/rtc.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" +#include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h"
system/runstate-hmp-cmds.c +1 -1
@@ -19,7 +19,7 @@#include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/qapi-commands-run-state.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/accel.h" void hmp_info_status (Monitor *mon,const QDict *qdict)
system/vl.c +3 -3
@@ -31,9 +31,9 @@#include "hw/qdev-properties.h" #include "qapi/compat-policy.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" +#include "qobject/qjson.h" #include "qemu-version.h" #include "qemu/cutils.h" #include "qemu/help_option.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 23/31] system: adapt to new import path for qobject data type headers
Hi Daniel,
Quoted 23 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:35 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 23/31] system: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- system/device_tree.c | 2 +- system/dirtylimit.c | 2 +- system/qdev-monitor.c | 6 +++--- system/rtc.c | 1 + system/runstate-hmp-cmds.c | 2 +- system/vl.c | 6 +++--- 6 files changed, 10 insertions(+), 9 deletions(-)system/rtc.c +0
-0
system/rtc.c line 28
Quoted 4 lines
system/rtc.c +1
-0@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" +#include "qapi/qmp/qerror.h"
Is this a typo?
system/rtc.c line 31
Quoted 3 lines
system/rtc.c +0
-0#include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h"
Regards,
Zhao
Re: [PATCH v2 23/31] system: adapt to new import path for qobject data type headers
Quoted 21 lines · Zhao Liu
Hi Daniel,
Quoted 18 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:35 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 23/31] system: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- system/device_tree.c | 2 +- system/dirtylimit.c | 2 +- system/qdev-monitor.c | 6 +++--- system/rtc.c | 1 + system/runstate-hmp-cmds.c | 2 +- system/vl.c | 6 +++--- 6 files changed, 10 insertions(+), 9 deletions(-)
Quoted 11 lines
system/rtc.c line 28
Quoted 9 lines
system/rtc.c +1
-0@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" +#include "qapi/qmp/qerror.h" Is this a typo?
Yes, a rebase mistake. This was originally present, but since removed.
Quoted 8 lines
system/rtc.c line 31
Quoted 4 lines
system/rtc.c +0
-0#include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h" Regards,
Zhao
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH v2 24/31 target: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- target/arm/arm-qmp-cmds.c | 2 +- target/i386/cpu-apic.c | 2 +- target/i386/cpu-sysemu.c | 2 +- target/i386/monitor.c | 2 +- target/loongarch/loongarch-qmp-cmds.c | 2 +- target/ppc/cpu_init.c | 2 +- target/riscv/riscv-qmp-cmds.c | 4 ++-- target/s390x/cpu_models_sysemu.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)
target/arm/arm-qmp-cmds.c +1 -1
@@ -28,7 +28,7 @@#include "qapi/qobject-input-visitor.h" #include "qapi/qapi-commands-machine-target.h" #include "qapi/qapi-commands-misc-target.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qom/qom-qobject.h" static GICCapability *gic_cap_new (int version)
target/i386/cpu-apic.c +1 -1
@@ -7,7 +7,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include "monitor/monitor.h" #include "monitor/hmp-target.h"
target/i386/cpu-sysemu.c +1 -1
@@ -21,7 +21,7 @@#include "cpu.h" #include "qapi/error.h" #include "qapi/qapi-visit-run-state.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qom/qom-qobject.h" #include "qapi/qapi-commands-machine-target.h"
target/i386/monitor.c +1 -1
@@ -27,7 +27,7 @@#include "monitor/monitor.h" #include "monitor/hmp-target.h" #include "monitor/hmp.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" #include "qapi/qapi-commands-misc.h"
target/loongarch/loongarch-qmp-cmds.c +1 -1
@@ -10,7 +10,7 @@#include "qapi/error.h" #include "qapi/qapi-commands-machine-target.h" #include "cpu.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qom/qom-qobject.h"
target/ppc/cpu_init.c +1 -1
@@ -32,7 +32,7 @@#include "qemu/module.h" #include "qemu/qemu-print.h" #include "qapi/error.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qapi/visitor.h" #include "hw/qdev-properties.h" #include "hw/ppc/ppc.h"
target/riscv/riscv-qmp-cmds.c +2 -2
@@ -26,8 +26,8 @@#include "qapi/error.h" #include "qapi/qapi-commands-machine-target.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" #include "qapi/visitor.h" #include "qom/qom-qobject.h"
target/s390x/cpu_models_sysemu.c +1 -1
@@ -18,7 +18,7 @@#include "qapi/error.h" #include "qapi/visitor.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qapi-commands-machine-target.h" static void list_add_feat (const char *name,void *opaque);
Signature · 1 line
2.46.0
Re: [PATCH v2 24/31] target: adapt to new import path for qobject data type headers
Quoted 9 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:36 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 24/31] target: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>
Quoted 10 lines
--- target/arm/arm-qmp-cmds.c | 2 +- target/i386/cpu-apic.c | 2 +- target/i386/cpu-sysemu.c | 2 +- target/i386/monitor.c | 2 +- target/loongarch/loongarch-qmp-cmds.c | 2 +- target/ppc/cpu_init.c | 2 +- target/riscv/riscv-qmp-cmds.c | 4 ++-- target/s390x/cpu_models_sysemu.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)
PATCH v2 25/31 tests: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- tests/qtest/adm1266-test.c | 4 ++-- tests/qtest/adm1272-test.c | 4 ++-- tests/qtest/ahci-test.c | 2 +- tests/qtest/arm-cpu-features.c | 4 ++-- tests/qtest/aspeed_gpio-test.c | 2 +- tests/qtest/boot-order-test.c | 2 +- tests/qtest/cdrom-test.c | 2 +- tests/qtest/cpu-plug-test.c | 4 ++-- tests/qtest/device-introspect-test.c | 6 +++--- tests/qtest/device-plug-test.c | 4 ++-- tests/qtest/drive_del-test.c | 4 ++-- tests/qtest/emc141x-test.c | 2 +- tests/qtest/fdc-test.c | 2 +- tests/qtest/hd-geo-test.c | 2 +- tests/qtest/ide-test.c | 2 +- tests/qtest/isl_pmbus_vr-test.c | 4 ++-- tests/qtest/libqmp.c | 4 ++-- tests/qtest/libqmp.h | 2 +- tests/qtest/libqos/generic-pcihost.c | 2 +- tests/qtest/libqos/libqos.c | 2 +- tests/qtest/libqos/pci-pc.c | 2 +- tests/qtest/libqos/qos_external.c | 8 ++++---- tests/qtest/libqtest.c | 10 +++++----- tests/qtest/libqtest.h | 4 ++-- tests/qtest/lsm303dlhc-mag-test.c | 2 +- tests/qtest/machine-none-test.c | 2 +- tests/qtest/max34451-test.c | 4 ++-- tests/qtest/migration-helpers.c | 4 ++-- tests/qtest/migration-test.c | 4 ++-- tests/qtest/netdev-socket.c | 2 +- tests/qtest/npcm7xx_adc-test.c | 2 +- tests/qtest/npcm7xx_emc-test.c | 4 ++-- tests/qtest/npcm7xx_pwm-test.c | 4 ++-- tests/qtest/npcm7xx_watchdog_timer-test.c | 2 +- tests/qtest/numa-test.c | 4 ++-- tests/qtest/pvpanic-pci-test.c | 2 +- tests/qtest/pvpanic-test.c | 3 ++- tests/qtest/q35-test.c | 2 +- tests/qtest/qmp-cmd-test.c | 2 +- tests/qtest/qmp-test.c | 6 +++--- tests/qtest/qom-test.c | 4 ++-- tests/qtest/qos-test.c | 2 +- tests/qtest/readconfig-test.c | 6 +++--- tests/qtest/tco-test.c | 2 +- tests/qtest/test-filter-mirror.c | 2 +- tests/qtest/test-filter-redirector.c | 2 +- tests/qtest/test-netfilter.c | 2 +- tests/qtest/test-x86-cpuid-compat.c | 8 ++++---- tests/qtest/tmp105-test.c | 2 +- tests/qtest/tpm-emu.c | 4 ++-- tests/qtest/tpm-util.c | 2 +- tests/qtest/vhost-user-test.c | 2 +- tests/qtest/virtio-net-failover.c | 6 +++--- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/qtest/wdt_ib700-test.c | 2 +- tests/unit/check-block-qdict.c | 4 ++-- tests/unit/check-qdict.c | 6 +++--- tests/unit/check-qjson.c | 12 ++++++------ tests/unit/check-qlist.c | 4 ++-- tests/unit/check-qlit.c | 12 ++++++------ tests/unit/check-qnull.c | 2 +- tests/unit/check-qnum.c | 2 +- tests/unit/check-qobject.c | 12 ++++++------ tests/unit/check-qom-proplist.c | 4 ++-- tests/unit/check-qstring.c | 2 +- tests/unit/test-block-iothread.c | 2 +- tests/unit/test-blockjob-txn.c | 2 +- tests/unit/test-blockjob.c | 2 +- tests/unit/test-char.c | 2 +- tests/unit/test-forward-visitor.c | 4 ++-- tests/unit/test-image-locking.c | 2 +- tests/unit/test-keyval.c | 6 +++--- tests/unit/test-qemu-opts.c | 4 ++-- tests/unit/test-qga.c | 4 ++-- tests/unit/test-qmp-cmds.c | 8 ++++---- tests/unit/test-qmp-event.c | 10 +++++----- tests/unit/test-qobject-input-visitor.c | 12 ++++++------ tests/unit/test-qobject-output-visitor.c | 12 ++++++------ tests/unit/test-replication.c | 2 +- tests/unit/test-visitor-serialization.c | 4 ++-- 81 files changed, 160 insertions(+), 159 deletions(-)
tests/qtest/adm1266-test.c +2 -2
@@ -13,8 +13,8 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/bitops.h" #define TEST_ID "adm1266-test"
tests/qtest/adm1272-test.c +2 -2
@@ -12,8 +12,8 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/bitops.h" #define TEST_ID "adm1272-test"
tests/qtest/ahci-test.c +1 -1
@@ -30,7 +30,7 @@#include "libqos/ahci.h" #include "libqos/pci-pc.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/host-utils.h" #include "hw/pci/pci_ids.h"
tests/qtest/arm-cpu-features.c +2 -2
@@ -11,8 +11,8 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" /* * We expect the SVE max-vq to be 16. Also it must be <= 64
tests/qtest/aspeed_gpio-test.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "qemu/timer.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "libqtest-single.h" #define AST2600_GPIO_BASE 0x1E780000
tests/qtest/boot-order-test.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "libqos/fw_cfg.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "standard-headers/linux/qemu_fw_cfg.h" typedef struct {
tests/qtest/cdrom-test.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "libqtest.h" #include "boot-sector.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" static char isoimage[] ="cdrom-boot-iso-XXXXXX" ;
tests/qtest/cpu-plug-test.c +2 -2
@@ -10,8 +10,8 @@#include "qemu/osdep.h" #include "libqtest-single.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" struct PlugTestData {char *machine;
tests/qtest/device-introspect-test.c +3 -3
@@ -18,9 +18,9 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" #include "libqtest.h" const char common_args[] ="-nodefaults -machine none" ;
tests/qtest/device-plug-test.c +2 -2
@@ -12,8 +12,8 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" static void system_reset (QTestState *qtest) {
tests/qtest/drive_del-test.c +2 -2
@@ -13,8 +13,8 @@#include "qemu/osdep.h" #include "libqtest.h" #include "libqos/virtio.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" static const char *qvirtio_get_dev_type (void );
tests/qtest/emc141x-test.c +1 -1
@@ -10,7 +10,7 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/sensor/emc141x_regs.h" #define EMC1414_TEST_ID "emc1414-test"
tests/qtest/fdc-test.c +1 -1
@@ -26,7 +26,7 @@#include "libqtest-single.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define DRIVE_FLOPPY_BLANK \ "-drive if=floppy,file=null-co://,file.read-zeroes=on,format=raw,size=1440k"
tests/qtest/hd-geo-test.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/osdep.h" #include "qemu/bswap.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "libqtest.h" #include "libqos/fw_cfg.h" #include "libqos/libqos.h"
tests/qtest/ide-test.c +1 -1
@@ -29,7 +29,7 @@#include "libqos/libqos.h" #include "libqos/pci-pc.h" #include "libqos/malloc-pc.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/bswap.h" #include "hw/pci/pci_ids.h" #include "hw/pci/pci_regs.h"
tests/qtest/isl_pmbus_vr-test.c +2 -2
@@ -21,8 +21,8 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/bitops.h" #define TEST_ID "isl_pmbus_vr-test"
tests/qtest/libqmp.c +2 -2
@@ -25,8 +25,8 @@#include "qemu/cutils.h" #include "qemu/sockets.h" #include "qapi/error.h" -#include "qapi/qmp/json-parser.h" -#include "qapi/qmp/qjson.h" +#include "qobject/json-parser.h" +#include "qobject/qjson.h" #define SOCKET_MAX_FDS 16
tests/qtest/libqmp.h +1 -1
@@ -18,7 +18,7 @@#ifndef LIBQMP_H #define LIBQMP_H -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" QDict *qmp_fd_receive (int fd);#ifndef _WIN32
tests/qtest/libqos/generic-pcihost.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "../libqtest.h" #include "generic-pcihost.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/pci/pci_regs.h" #include "qemu/host-utils.h"
tests/qtest/libqos/libqos.c +1 -1
@@ -2,7 +2,7 @@#include "../libqtest.h" #include "libqos.h" #include "pci.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" /*** Test Setup & Teardown ***/
tests/qtest/libqos/pci-pc.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "../libqtest.h" #include "pci-pc.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/pci/pci_regs.h" #include "qemu/module.h"
tests/qtest/libqos/qos_external.c +4 -4
@@ -19,11 +19,11 @@#include "qemu/osdep.h" #include <getopt.h> #include "../libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qbool.h" +#include "qobject/qstring.h" #include "qemu/module.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "libqos-malloc.h" #include "qgraph.h" #include "qgraph_internal.h"
tests/qtest/libqtest.c +5 -5
@@ -33,11 +33,11 @@#include "qemu/ctype.h" #include "qemu/cutils.h" #include "qemu/sockets.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" +#include "qobject/qbool.h" #define MAX_IRQ 256
tests/qtest/libqtest.h +2 -2
@@ -17,8 +17,8 @@#ifndef LIBQTEST_H #define LIBQTEST_H -#include "qapi/qmp/qobject.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qobject.h" +#include "qobject/qdict.h" #include "libqmp.h" typedef struct QTestState QTestState ;
tests/qtest/lsm303dlhc-mag-test.c +1 -1
@@ -13,7 +13,7 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define LSM303DLHC_MAG_TEST_ID "lsm303dlhc_mag-test"#define LSM303DLHC_MAG_REG_CRA 0x00
tests/qtest/machine-none-test.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/cutils.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" struct arch2cpu {
tests/qtest/max34451-test.c +2 -2
@@ -11,8 +11,8 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/bitops.h" #define TEST_ID "max34451-test"
tests/qtest/migration-helpers.c +2 -2
@@ -12,11 +12,11 @@#include "qemu/osdep.h" #include "qemu/ctype.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qjson.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "qemu/cutils.h" #include "qemu/memalign.h"
tests/qtest/migration-test.c +2 -2
@@ -13,14 +13,14 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/module.h" #include "qemu/option.h" #include "qemu/range.h" #include "qemu/sockets.h" #include "chardev/char.h" #include "crypto/tlscredspsk.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qlist.h" #include "ppc-util.h" #include "migration-helpers.h"
tests/qtest/netdev-socket.c +1 -1
@@ -11,7 +11,7 @@#include <glib/gstdio.h> #include "../unit/socket-helpers.h" #include "libqtest.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qemu/sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-sockets.h"
tests/qtest/npcm7xx_adc-test.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/bitops.h" #include "qemu/timer.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define REF_HZ (25000000)
tests/qtest/npcm7xx_emc-test.c +2 -2
@@ -16,8 +16,8 @@#include "qemu/osdep.h" #include "libqos/libqos.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" #include "qemu/bitops.h" #include "qemu/iov.h"
tests/qtest/npcm7xx_pwm-test.c +2 -2
@@ -17,8 +17,8 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" static int verbosity_level;
tests/qtest/npcm7xx_watchdog_timer-test.c +1 -1
@@ -18,7 +18,7 @@#include "qemu/timer.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define WTCR_OFFSET 0x1c#define REF_HZ (25000000)
tests/qtest/numa-test.c +2 -2
@@ -11,8 +11,8 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" static char *make_cli (const GString *generic_cli,const char *test_cli) {
tests/qtest/pvpanic-pci-test.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "libqos/pci.h" #include "libqos/pci-pc.h" #include "hw/misc/pvpanic.h"
tests/qtest/pvpanic-test.c +2 -1
@@ -9,9 +9,10 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/misc/pvpanic.h" +static void test_panic_nopause (void ) {uint8_t val;
tests/qtest/q35-test.c +1 -1
@@ -14,7 +14,7 @@#include "libqos/pci.h" #include "libqos/pci-pc.h" #include "hw/pci-host/q35.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define TSEG_SIZE_TEST_GUEST_RAM_MBYTES 128
tests/qtest/qmp-cmd-test.c +1 -1
@@ -14,7 +14,7 @@#include "libqtest.h" #include "qapi/error.h" #include "qapi/qapi-visit-introspect.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qapi/qobject-input-visitor.h" const char common_args[] ="-nodefaults -machine none" ;
tests/qtest/qmp-test.c +3 -3
@@ -14,10 +14,10 @@#include "libqtest.h" #include "qapi/error.h" #include "qapi/qapi-visit-control.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" const char common_args[] ="-nodefaults -machine none" ;
tests/qtest/qom-test.c +2 -2
@@ -9,8 +9,8 @@#include "qemu/osdep.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" #include "qemu/cutils.h" #include "libqtest.h"
tests/qtest/qos-test.c +1 -1
@@ -20,7 +20,7 @@#include <getopt.h> #include "libqtest-single.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/module.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-machine.h"
tests/qtest/readconfig-test.c +3 -3
@@ -13,10 +13,10 @@#include "qapi/qapi-visit-machine.h" #include "qapi/qapi-visit-qom.h" #include "qapi/qapi-visit-ui.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" #include "qemu/units.h" static QTestState *qtest_init_with_config (const char *cfgdata)
tests/qtest/tco-test.c +1 -1
@@ -12,7 +12,7 @@#include "libqtest.h" #include "libqos/pci.h" #include "libqos/pci-pc.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/pci/pci_regs.h" #include "hw/southbridge/ich9.h" #include "hw/acpi/ich9.h"
tests/qtest/test-filter-mirror.c +1 -1
@@ -10,7 +10,7 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/iov.h" #include "qemu/sockets.h" #include "qemu/error-report.h"
tests/qtest/test-filter-redirector.c +1 -1
@@ -52,7 +52,7 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/iov.h" #include "qemu/sockets.h" #include "qemu/error-report.h"
tests/qtest/test-netfilter.c +1 -1
@@ -10,7 +10,7 @@#include "qemu/osdep.h" #include "libqtest-single.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" /* add a netfilter to a netdev and then remove it */ static void add_one_netfilter (void )
tests/qtest/test-x86-cpuid-compat.c +4 -4
@@ -1,8 +1,8 @@#include "qemu/osdep.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qbool.h" #include "libqtest-single.h" static char *get_cpu0_qom_path (void )
tests/qtest/tmp105-test.c +1 -1
@@ -12,7 +12,7 @@#include "libqtest-single.h" #include "libqos/qgraph.h" #include "libqos/i2c.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/sensor/tmp105_regs.h" #define TMP105_TEST_ID "tmp105-test"
tests/qtest/tpm-emu.c +2 -2
@@ -16,8 +16,8 @@#include "backends/tpm/tpm_ioctl.h" #include "io/channel-socket.h" #include "qapi/error.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "tpm-emu.h" void tpm_emu_test_wait_cond (TPMTestState *s)
tests/qtest/tpm-util.c +1 -1
@@ -18,7 +18,7 @@#include "hw/acpi/tpm.h" #include "libqtest.h" #include "tpm-util.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" void tpm_util_crb_transfer(QTestState *s, const unsigned char *req, size_t req_size,
tests/qtest/vhost-user-test.c +1 -1
@@ -12,7 +12,7 @@#include "libqtest-single.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/config-file.h" #include "qemu/option.h" #include "qemu/range.h"
tests/qtest/virtio-net-failover.c +3 -3
@@ -12,9 +12,9 @@#include "libqos/pci.h" #include "libqos/pci-pc.h" #include "migration-helpers.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qjson.h" #include "libqos/malloc-pc.h" #include "libqos/virtio-pci.h" #include "hw/pci/pci.h"
tests/qtest/virtio-net-test.c +1 -1
@@ -11,7 +11,7 @@#include "libqtest-single.h" #include "qemu/iov.h" #include "qemu/module.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/virtio/virtio-net.h" #include "libqos/qgraph.h" #include "libqos/virtio-net.h"
tests/qtest/vmgenid-test.c +1 -1
@@ -15,7 +15,7 @@#include "boot-sector.h" #include "acpi-utils.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #define VGID_GUID "324e6eaf-d1d1-4bf6-bf41-b9bb6c91fb87"#define VMGENID_GUID_OFFSET 40/* allow space for
tests/qtest/wdt_ib700-test.c +1 -1
@@ -9,7 +9,7 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/timer.h" static void qmp_check_no_event (QTestState *s)
tests/unit/check-block-qdict.c +2 -2
@@ -9,8 +9,8 @@#include "qemu/osdep.h" #include "block/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qlist.h" +#include "qobject/qnum.h" #include "qapi/error.h" static void qdict_defaults_test (void )
tests/unit/check-qdict.c +3 -3
@@ -11,9 +11,9 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" /* * Public Interface test-cases
tests/unit/check-qjson.c +6 -6
@@ -14,12 +14,12 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qlit.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qjson.h" +#include "qobject/qlit.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qemu/unicode.h" static QString *from_json_str (const char *jstr,bool single,Error **errp)
tests/unit/check-qlist.c +2 -2
@@ -11,8 +11,8 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qnum.h" +#include "qobject/qlist.h" /* * Public Interface test-cases
tests/unit/check-qlit.c +6 -6
@@ -9,12 +9,12 @@#include "qemu/osdep.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qlit.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qlit.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" static QLitObject qlit = QLIT_QDICT(((QLitDictEntry[]) { { "foo", QLIT_QNUM(42) },
tests/unit/check-qnull.c +1 -1
@@ -8,7 +8,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qnull.h" +#include "qobject/qnull.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qapi/error.h"
tests/unit/check-qnum.c +1 -1
@@ -14,7 +14,7 @@#include "qemu/osdep.h" -#include "qapi/qmp/qnum.h" +#include "qobject/qnum.h" /* * Public Interface test-cases
tests/unit/check-qobject.c +6 -6
@@ -9,12 +9,12 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include <math.h>
tests/unit/check-qom-proplist.c +2 -2
@@ -22,8 +22,8 @@#include "qapi/error.h" #include "qapi/qobject-input-visitor.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qobject.h" +#include "qobject/qdict.h" +#include "qobject/qobject.h" #include "qom/object.h" #include "qemu/module.h" #include "qemu/option.h"
tests/unit/check-qstring.c +1 -1
@@ -11,7 +11,7 @@*/ #include "qemu/osdep.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qstring.h" /* * Public Interface test-cases
tests/unit/test-block-iothread.c +1 -1
@@ -28,7 +28,7 @@#include "block/blockjob_int.h" #include "sysemu/block-backend.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/main-loop.h" #include "iothread.h"
tests/unit/test-blockjob-txn.c +1 -1
@@ -15,7 +15,7 @@#include "qemu/main-loop.h" #include "block/blockjob_int.h" #include "sysemu/block-backend.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" typedef struct { BlockJob common;
tests/unit/test-blockjob.c +1 -1
@@ -15,7 +15,7 @@#include "qemu/main-loop.h" #include "block/blockjob_int.h" #include "sysemu/block-backend.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "iothread.h" static const BlockJobDriver test_block_job_driver = {
tests/unit/test-char.c +1 -1
@@ -10,7 +10,7 @@#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qapi/qapi-commands-char.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qom/qom-qobject.h" #include "io/channel-socket.h" #include "qapi/qobject-input-visitor.h"
tests/unit/test-forward-visitor.c +2 -2
@@ -12,8 +12,8 @@#include "qapi/forward-visitor.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h" -#include "qapi/qmp/qobject.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qobject.h" +#include "qobject/qdict.h" #include "test-qapi-visit.h" #include "qemu/keyval.h"
tests/unit/test-image-locking.c +1 -1
@@ -28,7 +28,7 @@#include "block/block.h" #include "sysemu/block-backend.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/main-loop.h" static BlockBackend *open_image(const char *path,
tests/unit/test-keyval.c +3 -3
@@ -13,9 +13,9 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "test-qapi-visit.h" #include "qemu/cutils.h"
tests/unit/test-qemu-opts.c +2 -2
@@ -12,8 +12,8 @@#include "qemu/option.h" #include "qemu/option_int.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qstring.h" #include "qemu/config-file.h"
tests/unit/test-qga.c +2 -2
@@ -5,8 +5,8 @@#include <sys/un.h> #include "../qtest/libqtest.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" typedef struct { char *test_dir;
tests/unit/test-qmp-cmds.c +4 -4
@@ -1,9 +1,9 @@#include "qemu/osdep.h" #include "qapi/compat-policy.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qapi/error.h" #include "qapi/qobject-input-visitor.h" #include "tests/test-qapi-types.h"
tests/unit/test-qmp-event.c +5 -5
@@ -15,11 +15,11 @@#include "qapi/compat-policy.h" #include "qapi/error.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qjson.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qapi/qmp-event.h" #include "test-qapi-events.h" #include "test-qapi-emit-events.h"
tests/unit/test-qobject-input-visitor.c +6 -6
@@ -17,12 +17,12 @@#include "qapi/qapi-visit-introspect.h" #include "qapi/qobject-input-visitor.h" #include "test-qapi-visit.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" -#include "qapi/qmp/qjson.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" +#include "qobject/qjson.h" #include "test-qapi-introspect.h" #include "qapi/qapi-introspect.h"
tests/unit/test-qobject-output-visitor.c +6 -6
@@ -15,12 +15,12 @@#include "qapi/error.h" #include "qapi/qobject-output-visitor.h" #include "test-qapi-visit.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qnull.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qnull.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" typedef struct TestOutputVisitorData { Visitor *ov;
tests/unit/test-replication.c +1 -1
@@ -11,7 +11,7 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/option.h" #include "qemu/main-loop.h" #include "block/replication.h"
tests/unit/test-visitor-serialization.c +2 -2
@@ -16,8 +16,8 @@#include "test-qapi-visit.h" #include "qapi/error.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qjson.h" +#include "qobject/qstring.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qapi/string-input-visitor.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 25/31] tests: adapt to new import path for qobject data type headers
Hi Daniel,
Quoted 98 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:37 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 25/31] tests: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- tests/qtest/adm1266-test.c | 4 ++-- tests/qtest/adm1272-test.c | 4 ++-- tests/qtest/ahci-test.c | 2 +- tests/qtest/arm-cpu-features.c | 4 ++-- tests/qtest/aspeed_gpio-test.c | 2 +- tests/qtest/boot-order-test.c | 2 +- tests/qtest/cdrom-test.c | 2 +- tests/qtest/cpu-plug-test.c | 4 ++-- tests/qtest/device-introspect-test.c | 6 +++--- tests/qtest/device-plug-test.c | 4 ++-- tests/qtest/drive_del-test.c | 4 ++-- tests/qtest/emc141x-test.c | 2 +- tests/qtest/fdc-test.c | 2 +- tests/qtest/hd-geo-test.c | 2 +- tests/qtest/ide-test.c | 2 +- tests/qtest/isl_pmbus_vr-test.c | 4 ++-- tests/qtest/libqmp.c | 4 ++-- tests/qtest/libqmp.h | 2 +- tests/qtest/libqos/generic-pcihost.c | 2 +- tests/qtest/libqos/libqos.c | 2 +- tests/qtest/libqos/pci-pc.c | 2 +- tests/qtest/libqos/qos_external.c | 8 ++++---- tests/qtest/libqtest.c | 10 +++++----- tests/qtest/libqtest.h | 4 ++-- tests/qtest/lsm303dlhc-mag-test.c | 2 +- tests/qtest/machine-none-test.c | 2 +- tests/qtest/max34451-test.c | 4 ++-- tests/qtest/migration-helpers.c | 4 ++-- tests/qtest/migration-test.c | 4 ++-- tests/qtest/netdev-socket.c | 2 +- tests/qtest/npcm7xx_adc-test.c | 2 +- tests/qtest/npcm7xx_emc-test.c | 4 ++-- tests/qtest/npcm7xx_pwm-test.c | 4 ++-- tests/qtest/npcm7xx_watchdog_timer-test.c | 2 +- tests/qtest/numa-test.c | 4 ++-- tests/qtest/pvpanic-pci-test.c | 2 +- tests/qtest/pvpanic-test.c | 3 ++- tests/qtest/q35-test.c | 2 +- tests/qtest/qmp-cmd-test.c | 2 +- tests/qtest/qmp-test.c | 6 +++--- tests/qtest/qom-test.c | 4 ++-- tests/qtest/qos-test.c | 2 +- tests/qtest/readconfig-test.c | 6 +++--- tests/qtest/tco-test.c | 2 +- tests/qtest/test-filter-mirror.c | 2 +- tests/qtest/test-filter-redirector.c | 2 +- tests/qtest/test-netfilter.c | 2 +- tests/qtest/test-x86-cpuid-compat.c | 8 ++++---- tests/qtest/tmp105-test.c | 2 +- tests/qtest/tpm-emu.c | 4 ++-- tests/qtest/tpm-util.c | 2 +- tests/qtest/vhost-user-test.c | 2 +- tests/qtest/virtio-net-failover.c | 6 +++--- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/qtest/wdt_ib700-test.c | 2 +- tests/unit/check-block-qdict.c | 4 ++-- tests/unit/check-qdict.c | 6 +++--- tests/unit/check-qjson.c | 12 ++++++------ tests/unit/check-qlist.c | 4 ++-- tests/unit/check-qlit.c | 12 ++++++------ tests/unit/check-qnull.c | 2 +- tests/unit/check-qnum.c | 2 +- tests/unit/check-qobject.c | 12 ++++++------ tests/unit/check-qom-proplist.c | 4 ++-- tests/unit/check-qstring.c | 2 +- tests/unit/test-block-iothread.c | 2 +- tests/unit/test-blockjob-txn.c | 2 +- tests/unit/test-blockjob.c | 2 +- tests/unit/test-char.c | 2 +- tests/unit/test-forward-visitor.c | 4 ++-- tests/unit/test-image-locking.c | 2 +- tests/unit/test-keyval.c | 6 +++--- tests/unit/test-qemu-opts.c | 4 ++-- tests/unit/test-qga.c | 4 ++-- tests/unit/test-qmp-cmds.c | 8 ++++---- tests/unit/test-qmp-event.c | 10 +++++----- tests/unit/test-qobject-input-visitor.c | 12 ++++++------ tests/unit/test-qobject-output-visitor.c | 12 ++++++------ tests/unit/test-replication.c | 2 +- tests/unit/test-visitor-serialization.c | 4 ++-- 81 files changed, 160 insertions(+), 159 deletions(-)tests/qtest/pvpanic-test.c +0
-0
tests/qtest/pvpanic-test.c line 15
Quoted 8 lines
tests/qtest/pvpanic-test.c +2
-1@@ -9,9 +9,10 @@#include "qemu/osdep.h" #include "libqtest.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "hw/misc/pvpanic.h" +
Extral blank line :).
PATCH v2 26/31 trace: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- trace/trace-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
trace/trace-hmp-cmds.c +1 -1
@@ -27,7 +27,7 @@#include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/qapi-commands-trace.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "trace/control.h" #ifdef CONFIG_TRACE_SIMPLE #include "trace/simple.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 26/31] trace: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:38 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 26/31] trace: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- trace/trace-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 27/31 ui: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- ui/ui-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ui/ui-hmp-cmds.c +1 -1
@@ -21,7 +21,7 @@#include "monitor/monitor-internal.h" #include "qapi/error.h" #include "qapi/qapi-commands-ui.h" -#include "qapi/qmp/qdict.h" +#include "qobject/qdict.h" #include "qemu/cutils.h" #include "ui/console.h" #include "ui/input.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 27/31] ui: adapt to new import path for qobject data type headers
Quoted 5 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:39 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 27/31] ui: adapt to new import path for qobject data
type headers
Quoted 8 lines
The qobject data type headers have moved from qapi/qmp/ to qobject/.
Signed-off-by Daniel P. Berrangé <[email protected]>--- ui/ui-hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 28/31 util: adapt to new import path for qobject data type headers
In reply to Daniel P. BerrangéThe qobject data type headers have moved from qapi/qmp/ to qobject/.
--- util/keyval.c | 6 +++--- util/qemu-config.c | 4 ++-- util/qemu-option.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-)
util/keyval.c +3 -3
@@ -91,9 +91,9 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" +#include "qobject/qstring.h" #include "qemu/cutils.h" #include "qemu/keyval.h" #include "qemu/help_option.h"
util/qemu-config.c +2 -2
@@ -1,8 +1,8 @@#include "qemu/osdep.h" #include "block/qdict.h" /* for qdict_extract_subqdict() */ #include "qapi/error.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qlist.h" +#include "qobject/qdict.h" +#include "qobject/qlist.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/config-file.h"
util/qemu-option.c +4 -4
@@ -27,10 +27,10 @@#include "qapi/error.h" #include "qemu/error-report.h" -#include "qapi/qmp/qbool.h" -#include "qapi/qmp/qdict.h" -#include "qapi/qmp/qnum.h" -#include "qapi/qmp/qstring.h" +#include "qobject/qbool.h" +#include "qobject/qdict.h" +#include "qobject/qnum.h" +#include "qobject/qstring.h" #include "qapi/qmp/qerror.h" #include "qemu/option_int.h" #include "qemu/cutils.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 28/31] util: adapt to new import path for qobject data type headers
Quoted 8 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:40 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 28/31] util: adapt to new import path for qobject data
type headersThe qobject data type headers have moved from qapi/qmp/ to qobject/.
Quoted 7 lines
Signed-off-by Daniel P. Berrangé <[email protected]>--- util/keyval.c | 6 +++--- util/qemu-config.c | 4 ++-- util/qemu-option.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-)
PATCH v2 29/31 qapi: remove header file compatibility symlinks
In reply to Daniel P. BerrangéAll code is converted to the new 'qobject/' import path, so the temporary header file compatibility symlinks are now redundant.
--- qapi/qmp/dispatch.h | 1 - qapi/qmp/json-parser.h | 1 - qapi/qmp/json-writer.h | 1 - qapi/qmp/qbool.h | 1 - qapi/qmp/qdict.h | 1 - qapi/qmp/qjson.h | 1 - qapi/qmp/qlist.h | 1 - qapi/qmp/qlit.h | 1 - qapi/qmp/qnull.h | 1 - qapi/qmp/qnum.h | 1 - qapi/qmp/qobject.h | 1 - qapi/qmp/qstring.h | 1 - 12 files changed, 12 deletions(-) delete mode 120000 qapi/qmp/dispatch.h delete mode 120000 qapi/qmp/json-parser.h delete mode 120000 qapi/qmp/json-writer.h delete mode 120000 qapi/qmp/qbool.h delete mode 120000 qapi/qmp/qdict.h delete mode 120000 qapi/qmp/qjson.h delete mode 120000 qapi/qmp/qlist.h delete mode 120000 qapi/qmp/qlit.h delete mode 120000 qapi/qmp/qnull.h delete mode 120000 qapi/qmp/qnum.h delete mode 120000 qapi/qmp/qobject.h delete mode 120000 qapi/qmp/qstring.h
qapi/qmp/dispatch.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qapi/qmp-registry.h
qapi/qmp/json-parser.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/json-parser.h
qapi/qmp/json-writer.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/json-writer.h
qapi/qmp/qbool.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qbool.h
qapi/qmp/qdict.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qdict.h
qapi/qmp/qjson.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qjson.h
qapi/qmp/qlist.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qlist.h
qapi/qmp/qlit.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qlit.h
qapi/qmp/qnull.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qnull.h
qapi/qmp/qnum.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qnum.h
qapi/qmp/qobject.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qobject.h
qapi/qmp/qstring.h deleted +0 -1
@@ -1 +0,0 @@ -../../include/qobject/qstring.h
Signature · 1 line
2.46.0
Re: [PATCH v2 29/31] qapi: remove header file compatibility symlinks
Quoted 27 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:41 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 29/31] qapi: remove header file compatibility symlinksAll code is converted to the new 'qobject/' import path, so the temporary header file compatibility symlinks are now redundant.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qapi/qmp/dispatch.h | 1 - qapi/qmp/json-parser.h | 1 - qapi/qmp/json-writer.h | 1 - qapi/qmp/qbool.h | 1 - qapi/qmp/qdict.h | 1 - qapi/qmp/qjson.h | 1 - qapi/qmp/qlist.h | 1 - qapi/qmp/qlit.h | 1 - qapi/qmp/qnull.h | 1 - qapi/qmp/qnum.h | 1 - qapi/qmp/qobject.h | 1 - qapi/qmp/qstring.h | 1 - 12 files changed, 12 deletions(-) delete mode 120000 qapi/qmp/dispatch.h delete mode 120000 qapi/qmp/json-parser.h delete mode 120000 qapi/qmp/json-writer.h delete mode 120000 qapi/qmp/qbool.h
Quoted 9 lines
delete mode 120000 qapi/qmp/qdict.h delete mode 120000 qapi/qmp/qjson.h delete mode 120000 qapi/qmp/qlist.h delete mode 120000 qapi/qmp/qlit.h delete mode 120000 qapi/qmp/qnull.h delete mode 120000 qapi/qmp/qnum.h delete mode 120000 qapi/qmp/qobject.h delete mode 120000 qapi/qmp/qstring.h
PATCH v2 30/31 qga: remove unused qerror.h header
In reply to Daniel P. Berrangé--- qga/commands-bsd.c | 1 - qga/commands-linux.c | 1 - qga/commands-posix.c | 1 - 3 files changed, 3 deletions(-)
qga/commands-bsd.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qga-qapi-commands.h" -#include "qapi/qmp/qerror.h" #include "qapi/error.h" #include "qemu/queue.h" #include "commands-common.h"
qga/commands-linux.c +0 -1
@@ -15,7 +15,6 @@#include "qapi/error.h" #include "qga-qapi-commands.h" #include "qapi/error.h" -#include "qapi/qmp/qerror.h" #include "commands-common.h" #include "cutils.h" #include <mntent.h>
qga/commands-posix.c +0 -1
@@ -18,7 +18,6 @@#include <dirent.h> #include "qga-qapi-commands.h" #include "qapi/error.h" -#include "qapi/qmp/qerror.h" #include "qemu/host-utils.h" #include "qemu/sockets.h" #include "qemu/base64.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 30/31] qga: remove unused qerror.h header
Quoted 11 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:42 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 30/31] qga: remove unusedqerror.hheaderSigned-off-by Daniel P. Berrangé <[email protected]>--- qga/commands-bsd.c | 1 - qga/commands-linux.c | 1 - qga/commands-posix.c | 1 - 3 files changed, 3 deletions(-)
PATCH v2 31/31 system: remove unused qerror.h header
In reply to Daniel P. Berrangé--- system/rtc.c | 1 - 1 file changed, 1 deletion(-)
system/rtc.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h"
Signature · 1 line
2.46.0
Re: [PATCH v2 31/31] system: remove unused qerror.h header
Hi Daniel,
Quoted 24 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:43 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 31/31] system: remove unusedqerror.hheaderSigned-off-by Daniel P. Berrangé <[email protected]>--- system/rtc.c | 1 - 1 file changed, 1 deletion(-)system/rtc.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h" Signature · 1 line
2.46.0
Ah, this qerror.h is added by patch 23 accidentally.
Regards,
Zhao
Re: [PATCH v2 31/31] system: remove unused qerror.h header
Quoted 21 lines · Zhao Liu
Hi Daniel,
Quoted 18 lines · Daniel P. Berrangé
Date: Thu, 17 Oct 2024 12:33:43 +0100
From: "Daniel P. Berrangé" <[email protected]>
Subject: [PATCH v2 31/31] system: remove unusedqerror.hheaderSigned-off-by Daniel P. Berrangé <[email protected]>--- system/rtc.c | 1 - 1 file changed, 1 deletion(-)system/rtc.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "qapi/qmp/qerror.h"
Quoted 8 lines
Quoted 6 lines
system/rtc.c +0
-0#include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/timer.h" Signature · 1 line
2.46.0Ah, this
qerror.his added by patch 23 accidentally.
Doh, fixing my own mistake :-)
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|