History log of /qemu/qobject/ (Results 76 – 100 of 197)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
00ea57fa23-Aug-2018 Markus Armbruster <armbru@redhat.com>

json: Tighten and simplify qstring_from_escaped_str()'s loop

Simplify loop control, and assert that the string ends with the
appropriate quote (the lexer ensures it does).

Signed-off-by: Markus Arm

json: Tighten and simplify qstring_from_escaped_str()'s loop

Simplify loop control, and assert that the string ends with the
appropriate quote (the lexer ensures it does).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-21-armbru@redhat.com>

show more ...

eddc0a7f23-Aug-2018 Markus Armbruster <armbru@redhat.com>

json: Revamp lexer documentation

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-20-armbru@redhat.com>

340db1ed23-Aug-2018 Markus Armbruster <armbru@redhat.com>

json: Reject unescaped control characters

Fix the lexer to reject unescaped control characters in JSON strings,
in accordance with RFC 8259 "The JavaScript Object Notation (JSON)
Data Interchange Fo

json: Reject unescaped control characters

Fix the lexer to reject unescaped control characters in JSON strings,
in accordance with RFC 8259 "The JavaScript Object Notation (JSON)
Data Interchange Format".

Bonus: we now recover more nicely from unclosed strings. E.g.

{"one: 1}\n{"two": 2}

now recovers cleanly after the newline, where before the lexer
remained confused until the next unpaired double quote or lexical
error.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-19-armbru@redhat.com>

show more ...

a2ec6be723-Aug-2018 Markus Armbruster <armbru@redhat.com>

json: Fix lexer to include the bad character in JSON_ERROR token

json_lexer[] maps (lexer state, input character) to the new lexer
state. The input character is consumed unless the new state is
ter

json: Fix lexer to include the bad character in JSON_ERROR token

json_lexer[] maps (lexer state, input character) to the new lexer
state. The input character is consumed unless the new state is
terminal and the input character doesn't belong to this token,
i.e. the state transition uses look-ahead. When this is the case,
input character '\0' would result in the same state transition.
TERMINAL_NEEDED_LOOKAHEAD() exploits this.

Except this is wrong for transitions to IN_ERROR. There, the
offending input character is in fact consumed: case IN_ERROR returns.
It isn't added to the JSON_ERROR token, though.

Fix that by making TERMINAL_NEEDED_LOOKAHEAD() return false for
transitions to IN_ERROR.

There's a slight complication. json_lexer_flush() passes input
character '\0' to flush an incomplete token. If this results in
JSON_ERROR, we'd now add the '\0' to the token. Suppress that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-18-armbru@redhat.com>

show more ...


/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/accel/kvm/kvm-all.c
/qemu/backends/hostmem-file.c
/qemu/balloon.c
/qemu/bootdevice.c
/qemu/configure
/qemu/cpus-common.c
/qemu/cpus.c
/qemu/default-configs/arm-softmmu.mak
/qemu/disas/m68k.c
/qemu/docs/generic-loader.txt
/qemu/docs/interop/qmp-spec.txt
/qemu/docs/nvdimm.txt
/qemu/docs/qemu-cpu-models.texi
/qemu/docs/usb2.txt
/qemu/dump.c
/qemu/exec.c
/qemu/fpu/softfloat.c
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/acpi/piix4.c
/qemu/hw/arm/Makefile.objs
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_soc.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/fsl-imx6ul.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/highbank.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/mcimx6ul-evk.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/mps2.c
/qemu/hw/arm/msf2-soc.c
/qemu/hw/arm/pxa2xx.c
/qemu/hw/arm/realview.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/versatilepb.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/cs4231a.c
/qemu/hw/audio/es1370.c
/qemu/hw/audio/gusemu_hal.c
/qemu/hw/audio/sb16.c
/qemu/hw/char/imx_serial.c
/qemu/hw/core/generic-loader.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine.c
/qemu/hw/core/sysbus.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/display/Makefile.objs
/qemu/hw/display/bcm2835_fb.c
/qemu/hw/display/cg3.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/qxl.c
/qemu/hw/display/qxl.h
/qemu/hw/display/vga-isa-mm.c
/qemu/hw/dma/pl080.c
/qemu/hw/i2c/pm_smbus.c
/qemu/hw/i2c/smbus.c
/qemu/hw/i2c/smbus_ich9.c
/qemu/hw/i386/pc.c
/qemu/hw/intc/apic.c
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/trace-events
/qemu/hw/ipmi/isa_ipmi_bt.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/aspeed_sdmc.c
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/misc/imx6ul_ccm.c
/qemu/hw/misc/iotkit-secctl.c
/qemu/hw/misc/iotkit-sysctl.c
/qemu/hw/misc/iotkit-sysinfo.c
/qemu/hw/misc/mps2-fpgaio.c
/qemu/hw/misc/pvpanic.c
/qemu/hw/misc/trace-events
/qemu/hw/misc/tz-msc.c
/qemu/hw/misc/vmcoreinfo.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/ppc/Makefile.objs
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/ppc405_boards.c
/qemu/hw/ppc/ppc405_uc.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_irq.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/rdma/Makefile.objs
/qemu/hw/rdma/rdma_backend.c
/qemu/hw/rdma/rdma_backend.h
/qemu/hw/rdma/rdma_backend_defs.h
/qemu/hw/rdma/rdma_rm.c
/qemu/hw/rdma/rdma_rm_defs.h
/qemu/hw/rdma/rdma_utils.c
/qemu/hw/rdma/rdma_utils.h
/qemu/hw/rdma/vmw/pvrdma.h
/qemu/hw/rdma/vmw/pvrdma_cmd.c
/qemu/hw/rdma/vmw/pvrdma_main.c
/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/qemu/hw/s390x/3270-ccw.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/css.c
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/vhost-scsi-common.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/scsi/vhost-user-scsi.c
/qemu/hw/sd/sdhci-internal.h
/qemu/hw/sd/sdhci.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ssi/imx_spi.c
/qemu/hw/ssi/pl022.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/Makefile.objs
/qemu/hw/timer/cmsdk-apb-dualtimer.c
/qemu/hw/timer/m48t59.c
/qemu/hw/timer/mc146818rtc.c
/qemu/hw/timer/sh_timer.c
/qemu/hw/timer/trace-events
/qemu/hw/usb/dev-mtp.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/spapr.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/watchdog/Makefile.objs
/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/qemu/hw/watchdog/trace-events
/qemu/include/chardev/char-fe.h
/qemu/include/elf.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/cpu_ldst_useronly_template.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/arm/armv7m.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/iotkit.h
/qemu/include/hw/boards.h
/qemu/include/hw/char/imx_serial.h
/qemu/include/hw/compat.h
/qemu/include/hw/display/bcm2835_fb.h
/qemu/include/hw/dma/pl080.h
/qemu/include/hw/i2c/pm_smbus.h
/qemu/include/hw/i2c/smbus.h
/qemu/include/hw/loader.h
/qemu/include/hw/mem/pc-dimm.h
/qemu/include/hw/misc/aspeed_sdmc.h
/qemu/include/hw/misc/imx6ul_ccm.h
/qemu/include/hw/misc/iotkit-secctl.h
/qemu/include/hw/misc/iotkit-sysctl.h
/qemu/include/hw/misc/iotkit-sysinfo.h
/qemu/include/hw/misc/mps2-fpgaio.h
/qemu/include/hw/misc/pvpanic.h
/qemu/include/hw/misc/tz-msc.h
/qemu/include/hw/misc/vmcoreinfo.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_irq.h
/qemu/include/hw/ppc/xics.h
/qemu/include/hw/s390x/css-bridge.h
/qemu/include/hw/s390x/css.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/hw/ssi/pl022.h
/qemu/include/hw/timer/cmsdk-apb-dualtimer.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/virtio/vhost-scsi-common.h
/qemu/include/hw/virtio/vhost-user-scsi.h
/qemu/include/hw/watchdog/cmsdk-apb-watchdog.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/pmem.h
/qemu/include/qemu/qht.h
/qemu/include/qemu/qsp.h
/qemu/include/qemu/rcu_queue.h
/qemu/include/qemu/seqlock.h
/qemu/include/qemu/thread-posix.h
/qemu/include/qemu/thread-win32.h
/qemu/include/qemu/thread.h
/qemu/include/qom/cpu.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/qemu_fw_cfg.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/sysemu/sysemu.h
/qemu/job.c
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/unistd.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-powerpc/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/main.c
/qemu/linux-user/mips/syscall_nr.h
/qemu/linux-user/mips64/syscall_nr.h
/qemu/linux-user/strace.c
/qemu/linux-user/syscall.c
/qemu/memory.c
/qemu/migration/ram.c
/qemu/monitor.c
/qemu/numa.c
/qemu/pc-bios/README
/qemu/pc-bios/optionrom/linuxboot_dma.c
/qemu/pc-bios/optionrom/optionrom.h
/qemu/pc-bios/slof.bin
/qemu/qemu-deprecated.texi
/qemu/qemu-doc.texi
/qemu/qemu-options.hx
json-lexer.c
/qemu/roms/SLOF
/qemu/scripts/checkpatch.pl
/qemu/scripts/qemu-binfmt-conf.sh
/qemu/scripts/qemu-guest-agent/fsfreeze-hook
/qemu/scripts/update-linux-headers.sh
/qemu/scsi/qemu-pr-helper.c
/qemu/stubs/iothread-lock.c
/qemu/target/arm/arm-semi.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/iwmmxt_helper.c
/qemu/target/arm/op_helper.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-sve.c
/qemu/target/arm/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm.c
/qemu/target/i386/seg_helper.c
/qemu/target/i386/translate.c
/qemu/target/mips/cpu.h
/qemu/target/mips/helper.c
/qemu/target/mips/machine.c
/qemu/target/mips/op_helper.c
/qemu/target/mips/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/fp-impl.inc.c
/qemu/target/ppc/translate_init.inc.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_features.c
/qemu/target/s390x/cpu_features.h
/qemu/target/s390x/cpu_features_def.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm.c
/qemu/target/s390x/machine.c
/qemu/target/sh4/translate.c
/qemu/tests/Makefile.include
/qemu/tests/atomic_add-bench.c
/qemu/tests/boot-order-test.c
/qemu/tests/boot-serial-test.c
/qemu/tests/check-qjson.c
/qemu/tests/cpu-plug-test.c
/qemu/tests/device-introspect-test.c
/qemu/tests/fw_cfg-test.c
/qemu/tests/hex-loader-check-data/test.hex
/qemu/tests/hexloader-test.c
/qemu/tests/libqos/malloc-pc.c
/qemu/tests/libqtest.c
/qemu/tests/libqtest.h
/qemu/tests/migration-test.c
/qemu/tests/qemu-iotests/229
/qemu/tests/qemu-iotests/229.out
/qemu/tests/qemu-iotests/group
/qemu/tests/qmp-cmd-test.c
/qemu/tests/qmp-test.c
/qemu/tests/qom-test.c
/qemu/tests/test-char.c
/qemu/tests/test-hmp.c
/qemu/tests/test-qga.c
/qemu/tests/test-rcu-list.c
/qemu/tests/test-rcu-simpleq.c
/qemu/tests/test-rcu-tailq.c
/qemu/tests/test-x86-cpuid-compat.c
/qemu/tests/vhost-user-test.c
/qemu/tests/virtio-ccw-test.c
/qemu/tests/vm/basevm.py
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/tests/vm/openbsd
/qemu/util/Makefile.objs
/qemu/util/module.c
/qemu/util/oslib-win32.c
/qemu/util/qemu-thread-win32.c
/qemu/util/qht.c
/qemu/util/qsp.c
/qemu/vl.c
2d36e84306-Aug-2018 Markus Armbruster <armbru@redhat.com>

qobject: qobject_from_jsonv() is dangerous, hide it away

qobject_from_jsonv() takes ownership of %p arguments. On failure, we
can't generally know whether we failed before or after %p, so
ownership

qobject: qobject_from_jsonv() is dangerous, hide it away

qobject_from_jsonv() takes ownership of %p arguments. On failure, we
can't generally know whether we failed before or after %p, so
ownership becomes indeterminate. To avoid leaks, callers passing %p
must terminate on error, e.g. by passing &error_abort. Trap for the
unwary; document and give the function internal linkage.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-11-armbru@redhat.com>

show more ...

4ff1846806-Aug-2018 Markus Armbruster <armbru@redhat.com>

qobject: New qobject_from_vjsonf_nofail(), qdict_from_vjsonf_nofail()

Every printf()-like function sooner or later needs its vprintf()-like
buddy. The next commit will need qobject_from_jsonf_nofai

qobject: New qobject_from_vjsonf_nofail(), qdict_from_vjsonf_nofail()

Every printf()-like function sooner or later needs its vprintf()-like
buddy. The next commit will need qobject_from_jsonf_nofail()'s buddy,
and qdict_from_jsonf_nofail()'s buddy will be used later in this
series. Add both.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-8-armbru@redhat.com>

show more ...

6ce80fd806-Aug-2018 Markus Armbruster <armbru@redhat.com>

qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail()

Commit ab45015a968 "qobject: Let qobject_from_jsonf() fail instead of
abort" fails to accomplish its stated aim: the function can

qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail()

Commit ab45015a968 "qobject: Let qobject_from_jsonf() fail instead of
abort" fails to accomplish its stated aim: the function can still
abort due to its use of &error_abort.

Its rationale for letting it fail is that all remaining users cope
fine with failure. Well, they're just fine with aborting, too; it's
what they do on failure.

Simply reverting the broken commit would bring back the unfortunate
asymmetry between qobject_from_jsonf() and qobject_from_jsonv(): one
aborts, the other returns null. So also rename it to
qobject_from_jsonf_nofail().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-7-armbru@redhat.com>

show more ...


/qemu/VERSION
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/softmmu_template.h
/qemu/accel/tcg/translate-all.c
/qemu/backends/cryptodev-vhost-user.c
/qemu/block/file-posix.c
/qemu/block/nvme.c
/qemu/block/qapi.c
/qemu/block/qcow.c
/qemu/block/qcow2.c
/qemu/docs/devel/testing.rst
/qemu/exec.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/sysbus-fdt.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/arm_gic_common.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/gic_internal.h
/qemu/hw/intc/trace-events
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/tz-mpc.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/s390x/sclp.c
/qemu/hw/virtio/vhost.c
/qemu/include/block/block.h
/qemu/include/exec/exec-all.h
/qemu/include/hw/arm/virt.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/arm_gic_common.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/migration/vmstate.h
/qemu/include/qapi/qmp/qjson.h
/qemu/include/qom/cpu.h
/qemu/linux-user/host/ppc64/safe-syscall.inc.S
/qemu/linux-user/mmap.c
/qemu/memory.c
/qemu/monitor.c
/qemu/qapi/block-core.json
/qemu/qemu-img-cmds.hx
/qemu/qemu-img.c
/qemu/qemu-img.texi
qjson.c
/qemu/scripts/qapi/common.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/qmp/qmp-shell
/qemu/slirp/mbuf.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/machine.c
/qemu/target/arm/op_helper.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/translate-sve.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/machine.c
/qemu/target/i386/misc_helper.c
/qemu/target/i386/smm_helper.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/optimize.c
/qemu/tests/acpi-test-data/pc/SRAT.dimmpxm
/qemu/tests/acpi-test-data/pc/SRAT.memhp
/qemu/tests/acpi-test-data/pc/SRAT.numamem
/qemu/tests/acpi-test-data/q35/SRAT.dimmpxm
/qemu/tests/acpi-test-data/q35/SRAT.memhp
/qemu/tests/acpi-test-data/q35/SRAT.numamem
/qemu/tests/ahci-test.c
/qemu/tests/boot-order-test.c
/qemu/tests/check-block-qdict.c
/qemu/tests/check-qjson.c
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/centos7.docker
/qemu/tests/drive_del-test.c
/qemu/tests/fdc-test.c
/qemu/tests/ide-test.c
/qemu/tests/libqos/ahci.c
/qemu/tests/libqtest.c
/qemu/tests/libqtest.h
/qemu/tests/migration-test.c
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/082
/qemu/tests/qemu-iotests/082.out
/qemu/tests/qemu-iotests/103.out
/qemu/tests/qemu-iotests/137.out
/qemu/tests/qemu-iotests/226
/qemu/tests/qemu-iotests/227
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/group
/qemu/tests/qmp-test.c
/qemu/tests/tcg/multiarch/test-mmap.c
/qemu/tests/test-filter-mirror.c
/qemu/tests/test-filter-redirector.c
/qemu/tests/test-qmp-cmds.c
/qemu/tests/virtio-blk-test.c
/qemu/tests/vm/Makefile.include
/qemu/tests/vm/basevm.py
/qemu/tests/vm/centos
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/tests/vm/openbsd
/qemu/tests/vm/ubuntu.i386
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/qemu-timer.c
655b4b6729-Jun-2018 Alberto Garcia <berto@igalia.com>

qdict: Make qdict_extract_subqdict() accept dst = NULL

This function extracts all options from a QDict starting with a
certain prefix and puts them in a new QDict.

We'll have a couple of cases wher

qdict: Make qdict_extract_subqdict() accept dst = NULL

This function extracts all options from a QDict starting with a
certain prefix and puts them in a new QDict.

We'll have a couple of cases where we simply want to discard those
options instead of copying them, and that's what this patch does.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/qemu/VERSION
/qemu/backends/cryptodev-vhost-user.c
/qemu/block.c
/qemu/block/blkreplay.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/copy-on-read.c
/qemu/block/crypto.c
/qemu/block/file-posix.c
/qemu/block/mirror.c
/qemu/block/null.c
/qemu/block/qapi.c
/qemu/block/qcow.c
/qemu/block/qcow2.c
/qemu/block/raw-format.c
/qemu/block/snapshot.c
/qemu/block/throttle-groups.c
/qemu/blockdev.c
/qemu/device-hotplug.c
/qemu/docs/devel/testing.rst
/qemu/hmp-commands.hx
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/sysbus-fdt.c
/qemu/hw/block/block.c
/qemu/hw/block/nvme.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/ide/qdev.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/tz-mpc.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/s390x/sclp.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/virtio/vhost.c
/qemu/include/block/block.h
/qemu/include/hw/block/block.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/sysemu/blockdev.h
/qemu/linux-user/host/ppc64/safe-syscall.inc.S
/qemu/linux-user/mmap.c
/qemu/monitor.c
/qemu/qapi/block-core.json
/qemu/qemu-deprecated.texi
/qemu/qemu-img-cmds.hx
/qemu/qemu-img.c
/qemu/qemu-img.texi
/qemu/qemu-options.hx
block-qdict.c
/qemu/slirp/mbuf.c
/qemu/target/arm/helper.c
/qemu/target/arm/machine.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/machine.c
/qemu/target/i386/misc_helper.c
/qemu/target/i386/smm_helper.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/optimize.c
/qemu/tests/acpi-test-data/pc/SRAT.dimmpxm
/qemu/tests/acpi-test-data/pc/SRAT.memhp
/qemu/tests/acpi-test-data/pc/SRAT.numamem
/qemu/tests/acpi-test-data/q35/SRAT.dimmpxm
/qemu/tests/acpi-test-data/q35/SRAT.memhp
/qemu/tests/acpi-test-data/q35/SRAT.numamem
/qemu/tests/ahci-test.c
/qemu/tests/hd-geo-test.c
/qemu/tests/ide-test.c
/qemu/tests/qemu-iotests/041
/qemu/tests/qemu-iotests/041.out
/qemu/tests/qemu-iotests/082
/qemu/tests/qemu-iotests/082.out
/qemu/tests/qemu-iotests/093
/qemu/tests/qemu-iotests/093.out
/qemu/tests/qemu-iotests/103.out
/qemu/tests/qemu-iotests/137.out
/qemu/tests/qemu-iotests/226
/qemu/tests/qemu-iotests/227
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/group
/qemu/tests/tcg/multiarch/test-mmap.c
/qemu/util/qemu-timer.c
ba891d6827-Jul-2018 Markus Armbruster <armbru@redhat.com>

qstring: Move qstring_from_substr()'s @end one to the right

qstring_from_substr() takes the index of the substring's first and
last character. qstring_from_substr(s, 0, SIZE_MAX) denotes an empty
s

qstring: Move qstring_from_substr()'s @end one to the right

qstring_from_substr() takes the index of the substring's first and
last character. qstring_from_substr(s, 0, SIZE_MAX) denotes an empty
substring. Awkward.

Shift the end index one to the right. This simplifies both
qstring_from_substr() and its callers.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180727062204.10401-3-armbru@redhat.com>

show more ...

b65ab77b27-Jul-2018 Markus Armbruster <armbru@redhat.com>

qstring: Assert size calculations don't overflow

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180727062204.10401-2-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.co

qstring: Assert size calculations don't overflow

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180727062204.10401-2-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...

ad63c54924-Jul-2018 liujunjie <liujunjie23@huawei.com>

qstring: Fix qstring_from_substr() not to provoke int overflow

qstring_from_substr() parameters @start and @end are of type int.
blkdebug_parse_filename(), blkverify_parse_filename(), nbd_parse_uri(

qstring: Fix qstring_from_substr() not to provoke int overflow

qstring_from_substr() parameters @start and @end are of type int.
blkdebug_parse_filename(), blkverify_parse_filename(), nbd_parse_uri(),
and qstring_from_str() pass @end values of type size_t or ptrdiff_t.
Values exceeding INT_MAX get truncated, with possibly disastrous
results.

Such huge substrings seem unlikely, but we found one in a core dump,
where "info tlb" executed via QMP's human-monitor-command apparently
produced 35 GiB of output.

Fix by changing the parameters size_t.

Signed-off-by: liujunjie <liujunjie23@huawei.com>
Message-Id: <20180724134339.17832-1-liujunjie23@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/translate-all.c
/qemu/audio/audio.c
/qemu/audio/trace-events
/qemu/block.c
/qemu/block/Makefile.objs
/qemu/block/backup.c
/qemu/block/blkdebug.c
/qemu/block/blklogwrites.c
/qemu/block/blkreplay.c
/qemu/block/block-backend.c
/qemu/block/copy-on-read.c
/qemu/block/crypto.c
/qemu/block/curl.c
/qemu/block/dirty-bitmap.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/mirror.c
/qemu/block/nbd-client.c
/qemu/block/nbd-client.h
/qemu/block/nbd.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/raw-format.c
/qemu/block/throttle-groups.c
/qemu/block/throttle.c
/qemu/block/trace-events
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vvfat.c
/qemu/blockdev.c
/qemu/chardev/char-socket.c
/qemu/configure
/qemu/crypto/Makefile.objs
/qemu/crypto/tlscredspsk.c
/qemu/crypto/tlssession.c
/qemu/crypto/trace-events
/qemu/default-configs/ppc-softmmu.mak
/qemu/default-configs/ppcemb-softmmu.mak
/qemu/default-configs/riscv32-softmmu.mak
/qemu/default-configs/riscv64-softmmu.mak
/qemu/default-configs/sh4-softmmu.mak
/qemu/default-configs/sh4eb-softmmu.mak
/qemu/device-hotplug.c
/qemu/docs/colo-proxy.txt
/qemu/docs/config/mach-virt-graphical.cfg
/qemu/docs/config/mach-virt-serial.cfg
/qemu/docs/config/q35-emulated.cfg
/qemu/docs/config/q35-virtio-graphical.cfg
/qemu/docs/config/q35-virtio-serial.cfg
/qemu/docs/devel/migration.rst
/qemu/docs/devel/multi-thread-tcg.txt
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/devel/testing.rst
/qemu/docs/devel/tracing.txt
/qemu/docs/interop/qcow2.txt
/qemu/docs/interop/vhost-user.txt
/qemu/docs/memory-hotplug.txt
/qemu/docs/multiseat.txt
/qemu/docs/qemu-block-drivers.texi
/qemu/docs/qemupciserial.inf
/qemu/docs/specs/acpi_nvdimm.txt
/qemu/docs/specs/ppc-spapr-hcalls.txt
/qemu/docs/specs/tpm.txt
/qemu/docs/usb2.txt
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hw/arm/allwinner-a10.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx31.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/msf2-soc.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/block/block.c
/qemu/hw/block/nvme.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/bcm2835_aux.c
/qemu/hw/char/serial.c
/qemu/hw/core/hotplug.c
/qemu/hw/core/machine.c
/qemu/hw/core/ptimer.c
/qemu/hw/core/qdev.c
/qemu/hw/core/sysbus.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/cpu/a9mpcore.c
/qemu/hw/cpu/arm11mpcore.c
/qemu/hw/cpu/realview_mpcore.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/qxl.c
/qemu/hw/display/sm501.c
/qemu/hw/display/vga-isa-mm.c
/qemu/hw/display/vga-isa.c
/qemu/hw/display/vga-pci.c
/qemu/hw/display/vga.c
/qemu/hw/display/vga_int.h
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/display/vmware_vga.c
/qemu/hw/display/xlnx_dp.c
/qemu/hw/i2c/ppc4xx_i2c.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/qdev.c
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/exynos4210_gic.c
/qemu/hw/intc/ioapic.c
/qemu/hw/intc/realview_gic.c
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/intc/xics_kvm.c
/qemu/hw/intc/xics_pnv.c
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/misc/aspeed_scu.c
/qemu/hw/misc/auxbus.c
/qemu/hw/misc/hyperv_testdev.c
/qemu/hw/misc/macio/mac_dbdma.c
/qemu/hw/net/dp8393x.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/e1000e_core.h
/qemu/hw/net/fsl_etsec/etsec.c
/qemu/hw/net/fsl_etsec/etsec.h
/qemu/hw/net/fsl_etsec/registers.h
/qemu/hw/net/fsl_etsec/rings.c
/qemu/hw/ppc/Makefile.objs
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/ppc440.h
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/riscv/riscv_hart.c
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/sifive_plic.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-stattrib-kvm.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/sd/bcm2835_sdhost.c
/qemu/hw/sd/omap_mmc.c
/qemu/hw/timer/Makefile.objs
/qemu/hw/timer/cmsdk-apb-timer.c
/qemu/hw/timer/m41t80.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/hcd-ehci.c
/qemu/hw/usb/hcd-xhci.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/virtio-rng.c
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/block/nbd.h
/qemu/include/crypto/init.h
/qemu/include/crypto/tlscredspsk.h
/qemu/include/hw/arm/smmu-common.h
/qemu/include/hw/block/block.h
/qemu/include/hw/boards.h
/qemu/include/hw/compat.h
/qemu/include/hw/hotplug.h
/qemu/include/hw/i2c/ppc4xx_i2c.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/aspeed_scu.h
/qemu/include/hw/misc/auxbus.h
/qemu/include/hw/ppc/xics.h
/qemu/include/hw/ptimer.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/riscv/sifive_plic.h
/qemu/include/hw/riscv/sifive_u.h
/qemu/include/hw/sysbus.h
/qemu/include/monitor/monitor.h
/qemu/include/qapi/qmp/qstring.h
/qemu/include/qom/object.h
/qemu/include/sysemu/block-backend.h
/qemu/include/sysemu/blockdev.h
/qemu/linux-user/Makefile.objs
/qemu/linux-user/alpha/cpu_loop.c
/qemu/linux-user/cris/cpu_loop.c
/qemu/linux-user/cris/signal.c
/qemu/linux-user/elfload.c
/qemu/linux-user/exit.c
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/cpu_loop.c
/qemu/linux-user/microblaze/signal.c
/qemu/linux-user/nios2/signal.c
/qemu/linux-user/openrisc/signal.c
/qemu/linux-user/openrisc/target_signal.h
/qemu/linux-user/openrisc/target_syscall.h
/qemu/linux-user/ppc/cpu_loop.c
/qemu/linux-user/ppc/signal.c
/qemu/linux-user/qemu.h
/qemu/linux-user/sh4/cpu_loop.c
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/cpu_loop.c
/qemu/linux-user/sparc/signal.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/exec.c
/qemu/migration/fd.c
/qemu/migration/migration.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/migration/socket.c
/qemu/monitor.c
/qemu/nbd/client.c
/qemu/nbd/server.c
/qemu/net/tap.c
/qemu/pc-bios/u-boot-sam460-20100605.bin
/qemu/po/Makefile
/qemu/po/bg.po
/qemu/po/de_DE.po
/qemu/po/fr_FR.po
/qemu/po/hu.po
/qemu/po/it.po
/qemu/po/messages.po
/qemu/po/tr.po
/qemu/po/zh_CN.po
/qemu/qapi/block-core.json
/qemu/qapi/char.json
/qemu/qapi/introspect.json
/qemu/qapi/misc.json
/qemu/qapi/ui.json
/qemu/qemu-deprecated.texi
/qemu/qemu-doc.texi
/qemu/qemu-img.c
/qemu/qemu-img.texi
/qemu/qemu-options.hx
/qemu/qemu-seccomp.c
/qemu/qemu-tech.texi
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/installer/qemu-ga.wxs
/qemu/qga/main.c
/qemu/qga/qapi-schema.json
/qemu/qmp.c
qstring.c
/qemu/qom/object.c
/qemu/qtest.c
/qemu/roms/u-boot-sam460ex
/qemu/scripts/checkpatch.pl
/qemu/scripts/coverity-model.c
/qemu/scripts/create_config
/qemu/scripts/qapi/commands.py
/qemu/scripts/qapi/common.py
/qemu/scripts/qapi/doc.py
/qemu/scripts/qapi/events.py
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/types.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/qemu-binfmt-conf.sh
/qemu/scripts/travis/coverage-summary.sh
/qemu/scsi/pr-manager-helper.c
/qemu/scsi/qemu-pr-helper.c
/qemu/stubs/error-printf.c
/qemu/stubs/monitor.c
/qemu/target/arm/helper.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/translate-sve.c
/qemu/target/i386/arch_dump.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hyperv.c
/qemu/target/i386/hyperv.h
/qemu/target/i386/kvm-stub.c
/qemu/target/i386/kvm.c
/qemu/target/i386/kvm_i386.h
/qemu/target/openrisc/Makefile.objs
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/disas.c
/qemu/target/openrisc/helper.h
/qemu/target/openrisc/interrupt.c
/qemu/target/openrisc/interrupt_helper.c
/qemu/target/openrisc/machine.c
/qemu/target/openrisc/mmu.c
/qemu/target/openrisc/sys_helper.c
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/mem_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate_init.inc.c
/qemu/target/s390x/cpu_models.c
/qemu/target/sh4/translate.c
/qemu/tcg/aarch64/tcg-target.inc.c
/qemu/tcg/i386/tcg-target.inc.c
/qemu/tcg/tcg-op-gvec.c
/qemu/tests/.gitignore
/qemu/tests/Makefile.include
/qemu/tests/ahci-test.c
/qemu/tests/crypto-tls-psk-helpers.c
/qemu/tests/crypto-tls-psk-helpers.h
/qemu/tests/crypto-tls-x509-helpers.c
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/common.rc
/qemu/tests/docker/docker.py
/qemu/tests/docker/dockerfiles/debian-bootstrap.docker
/qemu/tests/docker/dockerfiles/debian-bootstrap.pre
/qemu/tests/docker/dockerfiles/debian-powerpc-user-cross.docker
/qemu/tests/docker/dockerfiles/debian-tricore-cross.docker
/qemu/tests/docker/dockerfiles/debian8-mxe.docker
/qemu/tests/docker/dockerfiles/travis.docker
/qemu/tests/docker/dockerfiles/ubuntu.docker
/qemu/tests/docker/test-clang
/qemu/tests/docker/test-debug
/qemu/tests/docker/test-full
/qemu/tests/docker/test-quick
/qemu/tests/docker/test-unit
/qemu/tests/hd-geo-test.c
/qemu/tests/ide-test.c
/qemu/tests/migration-test.c
/qemu/tests/numa-test.c
/qemu/tests/ptimer-test.c
/qemu/tests/qapi-schema/bad-if-empty-list.err
/qemu/tests/qapi-schema/bad-if-empty-list.exit
/qemu/tests/qapi-schema/bad-if-empty-list.json
/qemu/tests/qapi-schema/bad-if-empty-list.out
/qemu/tests/qapi-schema/bad-if-empty.err
/qemu/tests/qapi-schema/bad-if-empty.exit
/qemu/tests/qapi-schema/bad-if-empty.json
/qemu/tests/qapi-schema/bad-if-empty.out
/qemu/tests/qapi-schema/bad-if-list.err
/qemu/tests/qapi-schema/bad-if-list.exit
/qemu/tests/qapi-schema/bad-if-list.json
/qemu/tests/qapi-schema/bad-if-list.out
/qemu/tests/qapi-schema/bad-if.err
/qemu/tests/qapi-schema/bad-if.exit
/qemu/tests/qapi-schema/bad-if.json
/qemu/tests/qapi-schema/bad-if.out
/qemu/tests/qapi-schema/doc-good.json
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/doc-good.texi
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/051
/qemu/tests/qemu-iotests/051.out
/qemu/tests/qemu-iotests/051.pc.out
/qemu/tests/qemu-iotests/122.out
/qemu/tests/qemu-iotests/149
/qemu/tests/qemu-iotests/149.out
/qemu/tests/qemu-iotests/153
/qemu/tests/qemu-iotests/153.out
/qemu/tests/qemu-iotests/197
/qemu/tests/qemu-iotests/197.out
/qemu/tests/qemu-iotests/222
/qemu/tests/qemu-iotests/222.out
/qemu/tests/qemu-iotests/223
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/225
/qemu/tests/qemu-iotests/225.out
/qemu/tests/qemu-iotests/226
/qemu/tests/qemu-iotests/226.out
/qemu/tests/qemu-iotests/common.rc
/qemu/tests/qemu-iotests/group
/qemu/tests/qmp-test.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/README
/qemu/tests/test-bdrv-drain.c
/qemu/tests/test-crypto-tlscredsx509.c
/qemu/tests/test-crypto-tlssession.c
/qemu/tests/test-io-channel-tls.c
/qemu/tests/test-qga.c
/qemu/tests/test-qmp-cmds.c
/qemu/tests/test-util-sockets.c
/qemu/tests/test-vmstate.c
/qemu/tests/vhost-user-test.c
/qemu/trace/control.c
/qemu/trace/control.h
/qemu/ui/cocoa.m
/qemu/ui/vnc.h
/qemu/util/qemu-option.c
ab45015a03-Jul-2018 Markus Armbruster <armbru@redhat.com>

qobject: Let qobject_from_jsonf() fail instead of abort

qobject_from_jsonf() aborts on error, unlike qobject_from_jsonv(),
which returns null. Since all remaining users of qobject_from_jsonf()
cope

qobject: Let qobject_from_jsonf() fail instead of abort

qobject_from_jsonf() aborts on error, unlike qobject_from_jsonv(),
which returns null. Since all remaining users of qobject_from_jsonf()
cope fine with null, change it to return null.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-30-armbru@redhat.com>

show more ...

a193352f03-Jul-2018 Markus Armbruster <armbru@redhat.com>

qobject: New qdict_from_jsonf_nofail()

Many uses of qobject_from_jsonf() convert JSON objects. Create new
convenience function qdict_from_jsonf_nofail() that includes the
conversion to QDict. The

qobject: New qdict_from_jsonf_nofail()

Many uses of qobject_from_jsonf() convert JSON objects. Create new
convenience function qdict_from_jsonf_nofail() that includes the
conversion to QDict. The next few commits will put it to use.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-22-armbru@redhat.com>

show more ...


/qemu/.gitmodules
/qemu/Makefile.target
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/softmmu_template.h
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translate-all.h
/qemu/accel/tcg/user-exec-stub.c
/qemu/backends/hostmem.c
/qemu/block.c
/qemu/block/copy-on-read.c
/qemu/block/crypto.c
/qemu/block/crypto.h
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/nfs.c
/qemu/block/parallels.c
/qemu/block/qcow.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/block/rbd.c
/qemu/block/replication.c
/qemu/block/sheepdog.c
/qemu/block/ssh.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/bsd-user/main.c
/qemu/chardev/char-serial.c
/qemu/chardev/char-stdio.c
/qemu/configure
/qemu/crypto/hash-glib.c
/qemu/crypto/hmac-glib.c
/qemu/device_tree.c
/qemu/disas/m68k.c
/qemu/docs/COLO-FT.txt
/qemu/docs/can.txt
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/interop/qmp-intro.txt
/qemu/docs/interop/qmp-spec.txt
/qemu/docs/multi-thread-compression.txt
/qemu/docs/multiseat.txt
/qemu/docs/specs/tpm.txt
/qemu/dump.c
/qemu/exec.c
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hw/9pfs/9p-local.c
/qemu/hw/alpha/typhoon.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/mcimx7d-sabre.c
/qemu/hw/arm/msf2-soc.c
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/sysbus-fdt.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/fdc.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nvme.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/tc58128.c
/qemu/hw/block/trace-events
/qemu/hw/block/xen_disk.c
/qemu/hw/char/parallel.c
/qemu/hw/char/serial.c
/qemu/hw/char/trace-events
/qemu/hw/core/loader-fit.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine.c
/qemu/hw/cris/axis_dev88.c
/qemu/hw/display/bochs-display.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/g364fb.c
/qemu/hw/display/qxl.c
/qemu/hw/display/ramfb.c
/qemu/hw/display/sm501.c
/qemu/hw/display/vga-isa-mm.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/vmware_vga.c
/qemu/hw/display/xenfb.c
/qemu/hw/hppa/dino.c
/qemu/hw/hppa/machine.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/kvm/ioapic.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/i386/xen/xen-mapcache.c
/qemu/hw/input/trace-events
/qemu/hw/input/tsc2005.c
/qemu/hw/intc/ioapic.c
/qemu/hw/intc/ioapic_common.c
/qemu/hw/ipack/tpci200.c
/qemu/hw/lm32/lm32_boards.c
/qemu/hw/lm32/milkymist.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/mem/memory-device.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/microblaze/petalogix_ml605_mmu.c
/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/qemu/hw/mips/boston.c
/qemu/hw/mips/mips_fulong2e.c
/qemu/hw/mips/mips_jazz.c
/qemu/hw/mips/mips_malta.c
/qemu/hw/mips/mips_r4k.c
/qemu/hw/misc/auxbus.c
/qemu/hw/misc/edu.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/mips_itu.c
/qemu/hw/net/e1000e.c
/qemu/hw/net/e1000x_common.c
/qemu/hw/net/eepro100.c
/qemu/hw/net/etraxfs_eth.c
/qemu/hw/net/ne2000.c
/qemu/hw/net/ne2000.h
/qemu/hw/net/trace-events
/qemu/hw/nios2/boot.c
/qemu/hw/nvram/spapr_nvram.c
/qemu/hw/pci-host/prep.c
/qemu/hw/pci-host/xilinx-pcie.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/e500plat.c
/qemu/hw/ppc/mac.h
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/ppc405_boards.c
/qemu/hw/ppc/ppc405_uc.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/ppc4xx_devs.c
/qemu/hw/ppc/ppce500_spin.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/rs6000_mc.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/rdma/vmw/pvrdma.h
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/Makefile.objs
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/sclp.c
/qemu/hw/s390x/tod-kvm.c
/qemu/hw/s390x/tod-qemu.c
/qemu/hw/s390x/tod.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/sd/bcm2835_sdhost.c
/qemu/hw/sd/core.c
/qemu/hw/sd/milkymist-memcard.c
/qemu/hw/sd/omap_mmc.c
/qemu/hw/sd/pl181.c
/qemu/hw/sd/sd.c
/qemu/hw/sd/sdhci.c
/qemu/hw/sd/ssi-sd.c
/qemu/hw/sd/trace-events
/qemu/hw/sh4/r2d.c
/qemu/hw/smbios/smbios.c
/qemu/hw/sparc/leon3.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/niagara.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/tricore/tricore_testboard.c
/qemu/hw/usb/ccid-card-passthru.c
/qemu/hw/usb/combined-packet.c
/qemu/hw/usb/dev-smartcard-reader.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/redirect.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/xenpv/xen_domainbuild.c
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/raw-aio.h
/qemu/include/chardev/char.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/glib-compat.h
/qemu/include/hw/acpi/tpm.h
/qemu/include/hw/display/xlnx_dp.h
/qemu/include/hw/i386/ioapic_internal.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/mips_gic.h
/qemu/include/hw/loader.h
/qemu/include/hw/mem/nvdimm.h
/qemu/include/hw/mem/pc-dimm.h
/qemu/include/hw/mips/bios.h
/qemu/include/hw/net/allwinner_emac.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/s390x/tod.h
/qemu/include/hw/scsi/esp.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/virtio/virtio-net.h
/qemu/include/qapi/qmp/dispatch.h
/qemu/include/qapi/qmp/qjson.h
/qemu/include/qemu/cutils.h
/qemu/include/qemu/iova-tree.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread-posix.h
/qemu/include/qemu/thread-win32.h
/qemu/include/qemu/units.h
/qemu/include/qom/cpu.h
/qemu/include/scsi/pr-manager.h
/qemu/include/sysemu/device_tree.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/sysemu.h
/qemu/linux-user/elfload.c
/qemu/linux-user/main.c
/qemu/linux-user/mmap.c
/qemu/memory.c
/qemu/memory_ldst.inc.c
/qemu/monitor.c
/qemu/numa.c
/qemu/pc-bios/bios-256k.bin
/qemu/pc-bios/bios.bin
/qemu/pc-bios/vgabios-bochs-display.bin
/qemu/pc-bios/vgabios-cirrus.bin
/qemu/pc-bios/vgabios-qxl.bin
/qemu/pc-bios/vgabios-ramfb.bin
/qemu/pc-bios/vgabios-stdvga.bin
/qemu/pc-bios/vgabios-virtio.bin
/qemu/pc-bios/vgabios-vmware.bin
/qemu/pc-bios/vgabios.bin
/qemu/qapi/block.json
/qemu/qapi/job.json
/qemu/qapi/misc.json
/qemu/qapi/qmp-dispatch.c
/qemu/qemu-doc.texi
/qemu/qemu-options.hx
/qemu/qga/commands.c
/qemu/qga/main.c
/qemu/qmp.c
qjson.c
/qemu/roms/Makefile
/qemu/roms/config.seabios-128k
/qemu/roms/config.seabios-256k
/qemu/roms/config.vga-bochs-display
/qemu/roms/config.vga-ramfb
/qemu/roms/seabios
/qemu/scripts/checkpatch.pl
/qemu/scripts/simpletrace.py
/qemu/scripts/tracetool/backend/log.py
/qemu/scsi/Makefile.objs
/qemu/scsi/pr-manager-helper.c
/qemu/scsi/pr-manager-stub.c
/qemu/scsi/pr-manager.c
/qemu/scsi/qemu-pr-helper.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper-sve.h
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/kvm32.c
/qemu/target/arm/sve.decode
/qemu/target/arm/sve_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-sve.c
/qemu/target/arm/translate.c
/qemu/target/arm/vec_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/excp_helper.c
/qemu/target/i386/hyperv-proto.h
/qemu/target/i386/kvm.c
/qemu/target/i386/machine.c
/qemu/target/i386/mem_helper.c
/qemu/target/i386/monitor.c
/qemu/target/i386/seg_helper.c
/qemu/target/i386/svm.h
/qemu/target/i386/svm_helper.c
/qemu/target/i386/translate.c
/qemu/target/i386/whp-dispatch.h
/qemu/target/i386/whpx-all.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/s390x/Makefile.objs
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/helper.h
/qemu/target/s390x/insn-data.def
/qemu/target/s390x/internal.h
/qemu/target/s390x/kvm-stub.c
/qemu/target/s390x/kvm.c
/qemu/target/s390x/kvm_s390x.h
/qemu/target/s390x/machine.c
/qemu/target/s390x/misc_helper.c
/qemu/target/s390x/tcg-stub.c
/qemu/target/s390x/tcg_s390x.h
/qemu/target/s390x/translate.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/op_helper.c
/qemu/target/xtensa/overlay_tool.h
/qemu/target/xtensa/translate.c
/qemu/tests/atomic_add-bench.c
/qemu/tests/benchmark-crypto-cipher.c
/qemu/tests/benchmark-crypto-hash.c
/qemu/tests/benchmark-crypto-hmac.c
/qemu/tests/boot-serial-test.c
/qemu/tests/ivshmem-test.c
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qemu-iotests/026
/qemu/tests/qemu-iotests/026.out
/qemu/tests/qemu-iotests/026.out.nocache
/qemu/tests/qemu-iotests/060
/qemu/tests/qemu-iotests/060.out
/qemu/tests/qemu-iotests/063
/qemu/tests/qemu-iotests/063.out
/qemu/tests/qmp-test.c
/qemu/tests/test-cutils.c
/qemu/tests/test-keyval.c
/qemu/tests/test-qemu-opts.c
/qemu/tests/test-qga.c
/qemu/tests/test-qmp-cmds.c
/qemu/tests/test-qmp-event.c
/qemu/tests/tpm-emu.h
/qemu/tests/vhost-user-test.c
/qemu/trace/control-target.c
/qemu/trace/simple.c
/qemu/util/cutils.c
/qemu/util/iova-tree.c
/qemu/util/osdep.c
/qemu/util/qemu-option.c
/qemu/util/qemu-thread-common.h
/qemu/util/qemu-thread-posix.c
/qemu/util/qemu-thread-win32.c
/qemu/util/uri.c
/qemu/vl.c
/qemu/win_dump.c
/qemu/win_dump.h
17e9aa3f26-Jun-2018 Markus Armbruster <armbru@redhat.com>

block-qdict: Pacify Coverity after commit f1b34a248e9

Commit f1b34a248e9 replaced less-than-obvious test in
qdict_flatten_qdict() by the obvious one. Sadly, it made something
else non-obvious: the

block-qdict: Pacify Coverity after commit f1b34a248e9

Commit f1b34a248e9 replaced less-than-obvious test in
qdict_flatten_qdict() by the obvious one. Sadly, it made something
else non-obvious: the fact that @new_key passed to qdict_put_obj()
can't be null, because that depends on the function's precondition
(target == qdict) == !prefix.

Tweak the function some more to help Coverity and human readers alike.

Fixes: CID 1393620
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/atomic_template.h
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/softmmu_template.h
/qemu/accel/tcg/translate-all.c
/qemu/audio/audio.c
/qemu/block/file-posix.c
/qemu/block/linux-aio.c
/qemu/block/qcow2.c
/qemu/chardev/char-socket.c
/qemu/cpus.c
/qemu/default-configs/arm-softmmu.mak
/qemu/default-configs/ppc-softmmu.mak
/qemu/default-configs/ppcemb-softmmu.mak
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/devel/tracing.txt
/qemu/exec.c
/qemu/hmp.c
/qemu/hw/arm/aspeed_soc.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/trace-events
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zcu102.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/audio/intel-hda.c
/qemu/hw/audio/trace-events
/qemu/hw/display/ramfb.c
/qemu/hw/display/sm501.c
/qemu/hw/display/vga-pci.c
/qemu/hw/display/vga_int.h
/qemu/hw/display/virtio-vga.c
/qemu/hw/display/xenfb.c
/qemu/hw/dma/omap_dma.c
/qemu/hw/i2c/omap_i2c.c
/qemu/hw/i2c/ppc4xx_i2c.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/input/pckbd.c
/qemu/hw/input/tsc2005.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/arm_gicv3_dist.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/arm_gicv3_redist.c
/qemu/hw/mips/boston.c
/qemu/hw/mips/mips_malta.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/aspeed_scu.c
/qemu/hw/misc/iotkit-secctl.c
/qemu/hw/misc/trace-events
/qemu/hw/misc/tz-mpc.c
/qemu/hw/net/rocker/rocker_of_dpa.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/stellaris_enet.c
/qemu/hw/net/virtio-net.c
/qemu/hw/pci-host/xilinx-pcie.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_lpc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/sd/omap_mmc.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/ssi/omap_spi.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/aspeed_timer.c
/qemu/hw/xen/xen_pt.h
/qemu/hw/xen/xen_pt_graphics.c
/qemu/hw/xen/xen_pt_load_rom.c
/qemu/include/block/aio.h
/qemu/include/block/raw-aio.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu_ldst_useronly_template.h
/qemu/include/exec/ram_addr.h
/qemu/include/hw/arm/iotkit.h
/qemu/include/hw/arm/omap.h
/qemu/include/hw/arm/smmu-common.h
/qemu/include/hw/arm/smmuv3.h
/qemu/include/hw/arm/virt.h
/qemu/include/hw/boards.h
/qemu/include/hw/compat.h
/qemu/include/hw/i2c/ppc4xx_i2c.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/arm_gicv3_common.h
/qemu/include/hw/misc/aspeed_scu.h
/qemu/include/hw/misc/iotkit-secctl.h
/qemu/include/hw/misc/tz-mpc.h
/qemu/include/hw/ppc/pnv.h
/qemu/include/hw/ppc/pnv_lpc.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_cpu_core.h
/qemu/include/hw/ssi/xilinx_spips.h
/qemu/include/hw/timer/aspeed_timer.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/xen/io/ring.h
/qemu/include/qemu/compiler.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/ui/egl-helpers.h
/qemu/include/ui/gtk.h
/qemu/io/channel-socket.c
/qemu/linux-headers/LICENSES/exceptions/Linux-syscall-note
/qemu/linux-headers/LICENSES/preferred/GPL-2.0
/qemu/linux-headers/asm-arm/kvm.h
/qemu/linux-headers/asm-arm/unistd-common.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-powerpc/unistd.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/migration/migration.c
/qemu/migration/postcopy-ram.c
/qemu/migration/postcopy-ram.h
/qemu/migration/ram.c
/qemu/migration/trace-events
/qemu/pc-bios/README
/qemu/pc-bios/slof.bin
/qemu/qapi/block-core.json
/qemu/qapi/crypto.json
/qemu/qapi/migration.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/trace-events
/qemu/qapi/ui.json
/qemu/qemu-doc.texi
block-qdict.c
/qemu/roms/SLOF
/qemu/scripts/qapi/common.py
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/types.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/qmp/qemu-ga-client
/qemu/scripts/qmp/qmp
/qemu/scripts/qmp/qmp-shell
/qemu/scripts/qmp/qom-fuse
/qemu/scripts/qmp/qom-get
/qemu/scripts/qmp/qom-list
/qemu/scripts/qmp/qom-set
/qemu/scripts/qmp/qom-tree
/qemu/scripts/tracetool/__init__.py
/qemu/stubs/linux-aio.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/kvm.c
/qemu/target/mips/gdbstub.c
/qemu/target/mips/op_helper.c
/qemu/target/mips/translate.c
/qemu/target/ppc/arch_dump.c
/qemu/target/ppc/compat.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/mmu-hash64.c
/qemu/target/ppc/mmu-hash64.h
/qemu/target/ppc/translate.c
/qemu/target/s390x/arch_dump.c
/qemu/tests/Makefile.include
/qemu/tests/check-block-qdict.c
/qemu/tests/libqos/ahci.c
/qemu/tests/libqos/ahci.h
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/trace/mem-internal.h
/qemu/trace/mem.h
/qemu/ui/egl-context.c
/qemu/ui/egl-headless.c
/qemu/ui/egl-helpers.c
/qemu/ui/gtk-egl.c
/qemu/ui/gtk.c
/qemu/ui/sdl2.c
/qemu/ui/spice-core.c
/qemu/util/async.c
/qemu/vl.c
bf6e6a3711-Jun-2018 Max Reitz <mreitz@redhat.com>

qdict: Make qdict_flatten() shallow-clone-friendly

In its current form, qdict_flatten() removes all entries from nested
QDicts that are moved to the root QDict. It is completely sufficient to
remov

qdict: Make qdict_flatten() shallow-clone-friendly

In its current form, qdict_flatten() removes all entries from nested
QDicts that are moved to the root QDict. It is completely sufficient to
remove all old entries from the root QDict, however. If the nested
dicts have a refcount of 1, this will automatically delete them, too.
And if they have a greater refcount, we probably do not want to modify
them in the first place.

The latter observation means that it was currently (in general)
impossible to qdict_flatten() a shallowly cloned dict because that would
empty nested QDicts in the original dict as well. This patch changes
this, so you can now use qdict_flatten(qdict_shallow_clone(dict)) to get
a flattened copy without disturbing the original.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20180611205203.2624-7-mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/qemu/.travis.yml
/qemu/CODING_STYLE
/qemu/MAINTAINERS
/qemu/Makefile.target
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translate-all.h
/qemu/block.c
/qemu/block/backup.c
/qemu/block/block-backend.c
/qemu/block/dirty-bitmap.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/rbd.c
/qemu/block/vvfat.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/configure
/qemu/default-configs/ppc-softmmu.mak
/qemu/device-hotplug.c
/qemu/docs/devel/loads-stores.rst
/qemu/docs/devel/multi-thread-tcg.txt
/qemu/docs/devel/testing.rst
/qemu/docs/interop/nbd.txt
/qemu/exec.c
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/alpha/typhoon.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/sysbus-fdt.c
/qemu/hw/arm/virt.c
/qemu/hw/block/block.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nvme.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/parallel.c
/qemu/hw/core/bus.c
/qemu/hw/core/or-irq.c
/qemu/hw/display/Makefile.objs
/qemu/hw/display/ramfb-standalone.c
/qemu/hw/display/ramfb.c
/qemu/hw/display/sm501.c
/qemu/hw/dma/rc4030.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/ide/qdev.c
/qemu/hw/input/adb-kbd.c
/qemu/hw/input/adb-mouse.c
/qemu/hw/input/adb.c
/qemu/hw/input/pckbd.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/xics_kvm.c
/qemu/hw/isa/smc37c669-superio.c
/qemu/hw/m68k/mcf5206.c
/qemu/hw/misc/aspeed_scu.c
/qemu/hw/misc/macio/Makefile.objs
/qemu/hw/misc/macio/gpio.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/macio/trace-events
/qemu/hw/misc/mos6522.c
/qemu/hw/ppc/mac.h
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_iommu.c
/qemu/hw/s390x/css.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/sh4/sh7750.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc/sun4m_iommu.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/sparc64/sun4u_iommu.c
/qemu/hw/usb/dev-smartcard-reader.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/dev-uas.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/virtio/vhost.c
/qemu/hw/watchdog/wdt_i6300esb.c
/qemu/include/block/aio-wait.h
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/blockjob_int.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/block/nbd.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/memory-internal.h
/qemu/include/exec/memory.h
/qemu/include/exec/ramlist.h
/qemu/include/exec/tb-context.h
/qemu/include/hw/arm/arm.h
/qemu/include/hw/block/block.h
/qemu/include/hw/display/ramfb.h
/qemu/include/hw/input/adb.h
/qemu/include/hw/misc/macio/gpio.h
/qemu/include/hw/misc/macio/macio.h
/qemu/include/hw/misc/macio/pmu.h
/qemu/include/hw/misc/mos6522.h
/qemu/include/hw/or-irq.h
/qemu/include/hw/ppc/pnv_core.h
/qemu/include/hw/ppc/ppc.h
/qemu/include/hw/ppc/spapr_cpu_core.h
/qemu/include/migration/vmstate.h
/qemu/include/qemu/bswap.h
/qemu/include/qemu/hbitmap.h
/qemu/include/qemu/job.h
/qemu/include/qemu/qht.h
/qemu/include/qemu/typedefs.h
/qemu/include/qom/cpu.h
/qemu/include/sysemu/blockdev.h
/qemu/job.c
/qemu/linux-user/main.c
/qemu/memory.c
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/qjson.h
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/trace-events
/qemu/monitor.c
/qemu/nbd/common.c
/qemu/nbd/server.c
/qemu/nbd/trace-events
/qemu/pc-bios/openbios-ppc
/qemu/pc-bios/openbios-sparc32
/qemu/pc-bios/openbios-sparc64
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/iplb.h
/qemu/pc-bios/s390-ccw/main.c
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/s390-ccw/netmain.c
/qemu/pc-bios/s390-ccw/sclp.c
/qemu/pc-bios/s390-ccw/sclp.h
/qemu/pc-bios/s390-netboot.img
/qemu/qapi/block-core.json
/qemu/qapi/block.json
/qemu/qapi/char.json
/qemu/qapi/migration.json
/qemu/qapi/misc.json
/qemu/qemu-doc.texi
/qemu/qemu-options.hx
block-qdict.c
/qemu/roms/SLOF
/qemu/roms/openbios
/qemu/scripts/qapi/events.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/qemu.py
/qemu/stubs/fdset.c
/qemu/target/arm/cpu.c
/qemu/target/arm/helper-sve.h
/qemu/target/arm/helper.h
/qemu/target/arm/sve.decode
/qemu/target/arm/sve_helper.c
/qemu/target/arm/translate-a64.h
/qemu/target/arm/translate-sve.c
/qemu/target/arm/translate.c
/qemu/target/arm/vec_helper.c
/qemu/target/microblaze/mmu.c
/qemu/target/microblaze/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/translate_init.inc.c
/qemu/target/s390x/cpu_models.c
/qemu/target/sparc/translate.c
/qemu/tcg/aarch64/tcg-target.inc.c
/qemu/tcg/arm/tcg-target.inc.c
/qemu/tcg/i386/tcg-target.inc.c
/qemu/tcg/mips/tcg-target.inc.c
/qemu/tcg/ppc/tcg-target.inc.c
/qemu/tcg/s390/tcg-target.inc.c
/qemu/tcg/sparc/tcg-target.inc.c
/qemu/tcg/tcg.c
/qemu/tcg/tcg.h
/qemu/tcg/tci/tcg-target.inc.c
/qemu/tests/.gitignore
/qemu/tests/Makefile.include
/qemu/tests/acceptance/README.rst
/qemu/tests/acceptance/avocado_qemu/__init__.py
/qemu/tests/acceptance/boot_linux_console.py
/qemu/tests/acceptance/version.py
/qemu/tests/acceptance/vnc.py
/qemu/tests/ahci-test.c
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/docker.py
/qemu/tests/docker/dockerfiles/debian-alpha-cross.docker
/qemu/tests/docker/dockerfiles/debian-hppa-cross.docker
/qemu/tests/docker/dockerfiles/debian-m68k-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64-cross.docker
/qemu/tests/docker/dockerfiles/debian-powerpc-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-sh4-cross.docker
/qemu/tests/docker/dockerfiles/debian-sid.docker
/qemu/tests/docker/dockerfiles/debian-sparc64-cross.docker
/qemu/tests/docker/dockerfiles/debian8.docker
/qemu/tests/hd-geo-test.c
/qemu/tests/ide-test.c
/qemu/tests/qemu-iotests/151
/qemu/tests/qemu-iotests/151.out
/qemu/tests/qemu-iotests/group
/qemu/tests/qht-bench.c
/qemu/tests/tcg/Makefile
/qemu/tests/tcg/Makefile.include
/qemu/tests/tcg/Makefile.probe
/qemu/tests/tcg/README
/qemu/tests/tcg/aarch64/Makefile.include
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/fcvt.ref
/qemu/tests/tcg/alpha/Makefile.include
/qemu/tests/tcg/alpha/Makefile.target
/qemu/tests/tcg/alpha/hello-alpha.c
/qemu/tests/tcg/alpha/test-cond.c
/qemu/tests/tcg/alpha/test-ovf.c
/qemu/tests/tcg/arm/Makefile.include
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/arm/README
/qemu/tests/tcg/arm/fcvt.c
/qemu/tests/tcg/arm/fcvt.ref
/qemu/tests/tcg/arm/hello-arm.c
/qemu/tests/tcg/arm/test-arm-iwmmxt.S
/qemu/tests/tcg/hppa/Makefile.include
/qemu/tests/tcg/hppa/Makefile.target
/qemu/tests/tcg/i386/Makefile.include
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/README
/qemu/tests/tcg/i386/hello-i386.c
/qemu/tests/tcg/i386/pi_10.com
/qemu/tests/tcg/i386/runcom.c
/qemu/tests/tcg/i386/test-i386-code16.S
/qemu/tests/tcg/i386/test-i386-fprem.c
/qemu/tests/tcg/i386/test-i386-muldiv.h
/qemu/tests/tcg/i386/test-i386-shift.h
/qemu/tests/tcg/i386/test-i386-ssse3.c
/qemu/tests/tcg/i386/test-i386-vm86.S
/qemu/tests/tcg/i386/test-i386.c
/qemu/tests/tcg/i386/test-i386.h
/qemu/tests/tcg/m68k/Makefile.include
/qemu/tests/tcg/m68k/Makefile.target
/qemu/tests/tcg/mips/Makefile.include
/qemu/tests/tcg/mips/Makefile.target
/qemu/tests/tcg/mips/README
/qemu/tests/tcg/mips/hello-mips.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/README
/qemu/tests/tcg/multiarch/linux-test.c
/qemu/tests/tcg/multiarch/sha1.c
/qemu/tests/tcg/multiarch/test-mmap.c
/qemu/tests/tcg/multiarch/testthread.c
/qemu/tests/tcg/ppc/Makefile.include
/qemu/tests/tcg/ppc/Makefile.target
/qemu/tests/tcg/riscv/Makefile.include
/qemu/tests/tcg/s390x/Makefile.include
/qemu/tests/tcg/sh4/Makefile.include
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/sparc64/Makefile.include
/qemu/tests/tcg/sparc64/Makefile.target
/qemu/tests/tcg/x86_64/Makefile.target
/qemu/tests/test-bdrv-drain.c
/qemu/tests/test-hbitmap.c
/qemu/tests/test-qht.c
/qemu/util/hbitmap.c
/qemu/util/osdep.c
/qemu/util/qht.c
/qemu/vl.c
2860b2b214-Jun-2018 Markus Armbruster <armbru@redhat.com>

block: Fix -blockdev / blockdev-add for empty objects and arrays

-blockdev and blockdev-add silently ignore empty objects and arrays in
their argument. That's because qmp_blockdev_add() converts th

block: Fix -blockdev / blockdev-add for empty objects and arrays

-blockdev and blockdev-add silently ignore empty objects and arrays in
their argument. That's because qmp_blockdev_add() converts the
argument to a flat QDict, and qdict_flatten() eats empty QDict and
QList members. For instance, we ignore an empty BlockdevOptions
member @cache. No real harm, as absent means the same as empty there.

Thus, the flaw puts an artificial restriction on the QAPI schema: we
can't have potentially empty objects and arrays within
BlockdevOptions, except when they're optional and "empty" has the same
meaning as "absent".

Our QAPI schema satisfies this restriction (I checked), but it's a
trap for the unwary, and a temptation to employ awkward workarounds
for the wary. Let's get rid of it.

Change qdict_flatten() and qdict_crumple() to treat empty dictionaries
and lists exactly like scalars.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

c78b8cfb14-Jun-2018 Markus Armbruster <armbru@redhat.com>

block-qdict: Simplify qdict_is_list() some

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

3692b5d714-Jun-2018 Markus Armbruster <armbru@redhat.com>

block-qdict: Clean up qdict_crumple() a bit

When you mix scalar and non-scalar keys, whether you get an "already
set as scalar" or an "already set as dict" error depends on qdict
iteration order. N

block-qdict: Clean up qdict_crumple() a bit

When you mix scalar and non-scalar keys, whether you get an "already
set as scalar" or an "already set as dict" error depends on qdict
iteration order. Neither message makes much sense. Replace by
""Cannot mix scalar and non-scalar keys". This is similar to the
message we get for mixing list and non-list keys.

I find qdict_crumple()'s first loop hard to understand. Rearrange it
and add a comment.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

f1b34a2414-Jun-2018 Markus Armbruster <armbru@redhat.com>

block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()

qdict_flatten_qdict() skips copying scalars from @qdict to @target
when the two are the same. Fair enough, but it uses a non-obvious

block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()

qdict_flatten_qdict() skips copying scalars from @qdict to @target
when the two are the same. Fair enough, but it uses a non-obvious
test for "same". Replace it by the obvious one. While there, improve
comments.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

eb0e0f7d14-Jun-2018 Markus Armbruster <armbru@redhat.com>

block-qdict: Simplify qdict_flatten_qdict()

There's no need to restart the loop. We don't elsewhere, e.g. in
qdict_extract_subqdict(), qdict_join() and qemu_opts_absorb_qdict().
Simplify accordingl

block-qdict: Simplify qdict_flatten_qdict()

There's no need to restart the loop. We don't elsewhere, e.g. in
qdict_extract_subqdict(), qdict_join() and qemu_opts_absorb_qdict().
Simplify accordingly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

af91062e14-Jun-2018 Markus Armbruster <armbru@redhat.com>

block: Factor out qobject_input_visitor_new_flat_confused()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.co

block: Factor out qobject_input_visitor_new_flat_confused()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

e5af0da114-Jun-2018 Markus Armbruster <armbru@redhat.com>

block: Fix -blockdev for certain non-string scalars

Configuration flows through the block subsystem in a rather peculiar
way. Configuration made with -drive enters it as QemuOpts.
Configuration mad

block: Fix -blockdev for certain non-string scalars

Configuration flows through the block subsystem in a rather peculiar
way. Configuration made with -drive enters it as QemuOpts.
Configuration made with -blockdev / blockdev-add enters it as QAPI
type BlockdevOptions. The block subsystem uses QDict, QemuOpts and
QAPI types internally. The precise flow is next to impossible to
explain (I tried for this commit message, but gave up after wasting
several hours). What I can explain is a flaw in the BlockDriver
interface that leads to this bug:

$ qemu-system-x86_64 -blockdev node-name=n1,driver=nfs,server.type=inet,server.host=localhost,path=/foo/bar,user=1234
qemu-system-x86_64: -blockdev node-name=n1,driver=nfs,server.type=inet,server.host=localhost,path=/foo/bar,user=1234: Internal error: parameter user invalid

QMP blockdev-add is broken the same way.

Here's what happens. The block layer passes configuration represented
as flat QDict (with dotted keys) to BlockDriver methods
.bdrv_file_open(). The QDict's members are typed according to the
QAPI schema.

nfs_file_open() converts it to QAPI type BlockdevOptionsNfs, with
qdict_crumple() and a qobject input visitor.

This visitor comes in two flavors. The plain flavor requires scalars
to be typed according to the QAPI schema. That's the case here. The
keyval flavor requires string scalars. That's not the case here.
nfs_file_open() uses the latter, and promptly falls apart for members
@user, @group, @tcp-syn-count, @readahead-size, @page-cache-size,
@debug.

Switching to the plain flavor would fix -blockdev, but break -drive,
because there the scalars arrive in nfs_file_open() as strings.

The proper fix would be to replace the QDict by QAPI type
BlockdevOptions in the BlockDriver interface. Sadly, that's beyond my
reach right now.

Next best would be to fix the block layer to always pass correctly
typed QDicts to the BlockDriver methods. Also beyond my reach.

What I can do is throw another hack onto the pile: have
nfs_file_open() convert all members to string, so use of the keyval
flavor actually works, by replacing qdict_crumple() by new function
qdict_crumple_for_keyval_qiv().

The pattern "pass result of qdict_crumple() to
qobject_input_visitor_new_keyval()" occurs several times more:

* qemu_rbd_open()

Same issue as nfs_file_open(), but since BlockdevOptionsRbd has only
string members, its only a latent bug. Fix it anyway.

* parallels_co_create_opts(), qcow_co_create_opts(),
qcow2_co_create_opts(), bdrv_qed_co_create_opts(),
sd_co_create_opts(), vhdx_co_create_opts(), vpc_co_create_opts()

These work, because they create the QDict with
qemu_opts_to_qdict_filtered(), which creates only string scalars.
The function sports a TODO comment asking for better typing; that's
going to be fun. Use qdict_crumple_for_keyval_qiv() to be safe.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

0bcc8e5b14-Jun-2018 Markus Armbruster <armbru@redhat.com>

qobject: Move block-specific qdict code to block-qdict.c

Pure code motion, except for two brace placements and a comment
tweaked to appease checkpatch.

Signed-off-by: Markus Armbruster <armbru@redh

qobject: Move block-specific qdict code to block-qdict.c

Pure code motion, except for two brace placements and a comment
tweaked to appease checkpatch.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

609f45ea14-Jun-2018 Max Reitz <mreitz@redhat.com>

block: Add block-specific QDict header

There are numerous QDict functions that have been introduced for and are
used only by the block layer. Move their declarations into an own
header file to refl

block: Add block-specific QDict header

There are numerous QDict functions that have been introduced for and are
used only by the block layer. Move their declarations into an own
header file to reflect that.

While qdict_extract_subqdict() is in fact used outside of the block
layer (in util/qemu-config.c), it is still a function related very
closely to how the block layer works with nested QDicts, namely by
sometimes flattening them. Therefore, its declaration is put into this
header as well and util/qemu-config.c includes it with a comment stating
exactly which function it needs.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20180509165530.29561-7-mreitz@redhat.com>
[Copyright note tweaked, superfluous includes dropped]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.shippable.yml
/qemu/.travis.yml
/qemu/HACKING
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/Makefile.target
/qemu/accel/accel.c
/qemu/accel/tcg/atomic_template.h
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/arch_init.c
/qemu/backends/cryptodev-vhost-user.c
/qemu/backends/hostmem.c
/qemu/block.c
/qemu/block/Makefile.objs
/qemu/block/backup.c
/qemu/block/blkdebug.c
/qemu/block/blkreplay.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/copy-on-read.c
/qemu/block/create.c
/qemu/block/crypto.c
/qemu/block/dirty-bitmap.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/mirror.c
/qemu/block/nbd-client.c
/qemu/block/nbd.c
/qemu/block/nfs.c
/qemu/block/null.c
/qemu/block/parallels.c
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2-snapshot.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/qed.c
/qemu/block/quorum.c
/qemu/block/raw-format.c
/qemu/block/rbd.c
/qemu/block/replication.c
/qemu/block/sheepdog.c
/qemu/block/snapshot.c
/qemu/block/ssh.c
/qemu/block/stream.c
/qemu/block/throttle.c
/qemu/block/trace-events
/qemu/block/vdi.c
/qemu/block/vhdx-endian.c
/qemu/block/vhdx-log.c
/qemu/block/vhdx.c
/qemu/block/vpc.c
/qemu/block/vvfat.c
/qemu/block/vxhs.c
/qemu/block/win32-aio.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/bsd-user/main.c
/qemu/bsd-user/mmap.c
/qemu/bsd-user/qemu.h
/qemu/chardev/char-mux.c
/qemu/chardev/char-serial.c
/qemu/configure
/qemu/contrib/libvhost-user/libvhost-user.c
/qemu/contrib/libvhost-user/libvhost-user.h
/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/qemu/cpus.c
/qemu/crypto/block-luks.c
/qemu/crypto/block-luks.h
/qemu/crypto/block-qcow.c
/qemu/crypto/block-qcow.h
/qemu/crypto/block.c
/qemu/crypto/cipher.c
/qemu/crypto/ivgen-essiv.c
/qemu/crypto/ivgen-essiv.h
/qemu/crypto/ivgen-plain.c
/qemu/crypto/ivgen-plain.h
/qemu/crypto/ivgen-plain64.c
/qemu/crypto/ivgen-plain64.h
/qemu/crypto/ivgen.c
/qemu/crypto/tlscreds.c
/qemu/crypto/tlscredsanon.c
/qemu/crypto/tlscredsx509.c
/qemu/default-configs/aarch64-softmmu.mak
/qemu/default-configs/arm-softmmu.mak
/qemu/default-configs/hppa-softmmu.mak
/qemu/default-configs/mips-softmmu-common.mak
/qemu/default-configs/pci.mak
/qemu/default-configs/riscv32-softmmu.mak
/qemu/default-configs/riscv64-softmmu.mak
/qemu/default-configs/s390x-softmmu.mak
/qemu/default-configs/sparc-softmmu.mak
/qemu/default-configs/usb.mak
/qemu/default-configs/virtio.mak
/qemu/disas/riscv.c
/qemu/docs/devel/memory.txt
/qemu/docs/devel/migration.rst
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/interop/firmware.json
/qemu/docs/interop/qcow2.txt
/qemu/docs/interop/vhost-user.txt
/qemu/docs/nvdimm.txt
/qemu/docs/qcow2-cache.txt
/qemu/docs/qdev-device-use.txt
/qemu/docs/specs/pci-ids.txt
/qemu/docs/specs/tpm.txt
/qemu/docs/usb2.txt
/qemu/docs/virtio-balloon-stats.txt
/qemu/exec.c
/qemu/fpu/softfloat-specialize.h
/qemu/fpu/softfloat.c
/qemu/gdbstub.c
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/9pfs/9p-handle.c
/qemu/hw/9pfs/9p-local.c
/qemu/hw/9pfs/9p-proxy.c
/qemu/hw/9pfs/9p-util.c
/qemu/hw/9pfs/9p-util.h
/qemu/hw/9pfs/9p-xattr.c
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/Makefile.objs
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/Makefile.objs
/qemu/hw/acpi/aml-build.c
/qemu/hw/acpi/nvdimm.c
/qemu/hw/acpi/pcihp.c
/qemu/hw/acpi/piix4.c
/qemu/hw/arm/Makefile.objs
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/collie.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/omap_sx1.c
/qemu/hw/arm/pxa2xx.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmu-internal.h
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/sysbus-fdt.c
/qemu/hw/arm/trace-events
/qemu/hw/arm/versatilepb.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xilinx_zynq.c
/qemu/hw/arm/xlnx-zcu102.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/arm/z2.c
/qemu/hw/audio/wm8750.c
/qemu/hw/block/Makefile.objs
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nvme.c
/qemu/hw/block/nvme.h
/qemu/hw/block/onenand.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/block/xen_disk.c
/qemu/hw/char/Makefile.objs
/qemu/hw/char/cmsdk-apb-uart.c
/qemu/hw/char/digic-uart.c
/qemu/hw/char/mcf_uart.c
/qemu/hw/char/serial.c
/qemu/hw/char/sh_serial.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/bus.c
/qemu/hw/core/loader-fit.c
/qemu/hw/core/machine.c
/qemu/hw/core/platform-bus.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/core/qdev.c
/qemu/hw/core/register.c
/qemu/hw/core/sysbus.c
/qemu/hw/cris/axis_dev88.c
/qemu/hw/display/Makefile.objs
/qemu/hw/display/bcm2835_fb.c
/qemu/hw/display/bochs-display.c
/qemu/hw/display/qxl-render.c
/qemu/hw/display/sm501.c
/qemu/hw/display/ssd0303.c
/qemu/hw/display/tc6393xb.c
/qemu/hw/display/vga-pci.c
/qemu/hw/display/vga.c
/qemu/hw/display/vga_int.h
/qemu/hw/display/xlnx_dp.c
/qemu/hw/dma/Makefile.objs
/qemu/hw/dma/xilinx_axidma.c
/qemu/hw/dma/xlnx-zdma.c
/qemu/hw/gpio/max7310.c
/qemu/hw/hppa/dino.c
/qemu/hw/hppa/hppa_sys.h
/qemu/hw/hppa/machine.c
/qemu/hw/i2c/core.c
/qemu/hw/i2c/ppc4xx_i2c.c
/qemu/hw/i2c/smbus.c
/qemu/hw/i2c/smbus_eeprom.c
/qemu/hw/i2c/trace-events
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/clock.c
/qemu/hw/i386/kvm/i8254.c
/qemu/hw/i386/kvm/i8259.c
/qemu/hw/i386/kvm/ioapic.c
/qemu/hw/i386/kvmvapic.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/trace-events
/qemu/hw/i386/xen/trace-events
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/i386/xen/xen-mapcache.c
/qemu/hw/i386/xen/xen_pvdevice.c
/qemu/hw/ide/ahci-allwinner.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/atapi.c
/qemu/hw/ide/core.c
/qemu/hw/ide/ich.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/trace-events
/qemu/hw/ide/via.c
/qemu/hw/input/Makefile.objs
/qemu/hw/input/lm832x.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/ioapic.c
/qemu/hw/intc/xics_kvm.c
/qemu/hw/ipmi/ipmi.c
/qemu/hw/ipmi/isa_ipmi_kcs.c
/qemu/hw/isa/isa-superio.c
/qemu/hw/lm32/lm32_boards.c
/qemu/hw/lm32/milkymist.c
/qemu/hw/m68k/mcf5206.c
/qemu/hw/m68k/mcf_intc.c
/qemu/hw/mem/Makefile.objs
/qemu/hw/mem/memory-device.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/microblaze/petalogix_ml605_mmu.c
/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/qemu/hw/mips/boston.c
/qemu/hw/mips/mips_malta.c
/qemu/hw/mips/mips_r4k.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/arm_integrator_debug.c
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/trace-events
/qemu/hw/misc/mips_itu.c
/qemu/hw/misc/mos6522.c
/qemu/hw/misc/pca9552.c
/qemu/hw/misc/sga.c
/qemu/hw/misc/tmp105.c
/qemu/hw/misc/tmp421.c
/qemu/hw/misc/trace-events
/qemu/hw/net/Makefile.objs
/qemu/hw/net/e1000e.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/mcf_fec.c
/qemu/hw/net/ne2000-isa.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/xen_nic.c
/qemu/hw/net/xilinx_axienet.c
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-host/q35.c
/qemu/hw/pci-host/trace-events
/qemu/hw/pci-host/uninorth.c
/qemu/hw/pci-host/versatile.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/e500.h
/qemu/hw/ppc/e500plat.c
/qemu/hw/ppc/mac.h
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_lpc.c
/qemu/hw/ppc/ppc405_boards.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_drc.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_ovec.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/ppc/spapr_rtas_ddw.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/ppc/trace-events
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/rdma/rdma_backend.c
/qemu/hw/rdma/rdma_rm.c
/qemu/hw/rdma/rdma_rm_defs.h
/qemu/hw/rdma/vmw/pvrdma.h
/qemu/hw/rdma/vmw/pvrdma_cmd.c
/qemu/hw/rdma/vmw/pvrdma_main.c
/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/qemu/hw/riscv/riscv_hart.c
/qemu/hw/riscv/riscv_htif.c
/qemu/hw/riscv/sifive_clint.c
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/ccw-device.c
/qemu/hw/s390x/css.c
/qemu/hw/s390x/event-facility.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/ipl.h
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.h
/qemu/hw/scsi/Makefile.objs
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/vhost-scsi-common.c
/qemu/hw/scsi/vhost-user-scsi.c
/qemu/hw/sd/milkymist-memcard.c
/qemu/hw/sd/pl181.c
/qemu/hw/sd/sd.c
/qemu/hw/sd/sdhci.c
/qemu/hw/sd/ssi-sd.c
/qemu/hw/sh4/r2d.c
/qemu/hw/sh4/sh7750.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/digic-timer.c
/qemu/hw/timer/m48t59-internal.h
/qemu/hw/timer/m48t59.c
/qemu/hw/timer/sh_timer.c
/qemu/hw/timer/twl92230.c
/qemu/hw/tpm/tpm_emulator.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/tpm/trace-events
/qemu/hw/usb/ccid-card-passthru.c
/qemu/hw/usb/desc-msos.c
/qemu/hw/usb/desc.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/usb/dev-bluetooth.c
/qemu/hw/usb/dev-hid.c
/qemu/hw/usb/dev-hub.c
/qemu/hw/usb/dev-mtp.c
/qemu/hw/usb/dev-network.c
/qemu/hw/usb/dev-serial.c
/qemu/hw/usb/dev-smartcard-reader.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/dev-uas.c
/qemu/hw/usb/dev-wacom.c
/qemu/hw/usb/host-libusb.c
/qemu/hw/usb/redirect.c
/qemu/hw/usb/tusb6010.c
/qemu/hw/usb/xen-usb.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/platform.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/Makefile.objs
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost-stub.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/xen_backend.c
/qemu/hw/xen/xen_devconfig.c
/qemu/hw/xen/xen_pt.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/hw/xen/xen_pt_msi.c
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/aio.h
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/blockjob.h
/qemu/include/block/blockjob_int.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/block/qdict.h
/qemu/include/block/raw-aio.h
/qemu/include/elf.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/gdbstub.h
/qemu/include/exec/gen-icount.h
/qemu/include/exec/helper-head.h
/qemu/include/exec/memory-internal.h
/qemu/include/exec/memory.h
/qemu/include/exec/memory_ldst.inc.h
/qemu/include/exec/memory_ldst_cached.inc.h
/qemu/include/exec/memory_ldst_phys.inc.h
/qemu/include/exec/translator.h
/qemu/include/exec/user/abitypes.h
/qemu/include/exec/user/thunk.h
/qemu/include/fpu/softfloat-types.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/acpi/acpi-defs.h
/qemu/include/hw/arm/allwinner-a10.h
/qemu/include/hw/arm/arm.h
/qemu/include/hw/arm/bcm2835_peripherals.h
/qemu/include/hw/arm/smmu-common.h
/qemu/include/hw/arm/smmuv3.h
/qemu/include/hw/arm/sysbus-fdt.h
/qemu/include/hw/arm/virt.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/boards.h
/qemu/include/hw/compat.h
/qemu/include/hw/devices.h
/qemu/include/hw/display/bcm2835_fb.h
/qemu/include/hw/display/bochs-vbe.h
/qemu/include/hw/dma/bcm2835_dma.h
/qemu/include/hw/dma/xlnx-zdma.h
/qemu/include/hw/i2c/i2c.h
/qemu/include/hw/i2c/smbus.h
/qemu/include/hw/i386/intel_iommu.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/input/ps2.h
/qemu/include/hw/intc/arm_gicv3_common.h
/qemu/include/hw/mem/memory-device.h
/qemu/include/hw/mem/nvdimm.h
/qemu/include/hw/mem/pc-dimm.h
/qemu/include/hw/misc/bcm2835_mbox.h
/qemu/include/hw/misc/bcm2835_property.h
/qemu/include/hw/misc/macio/cuda.h
/qemu/include/hw/misc/macio/macio.h
/qemu/include/hw/misc/mips_itu.h
/qemu/include/hw/misc/mos6522.h
/qemu/include/hw/misc/pca9552.h
/qemu/include/hw/misc/pca9552_regs.h
/qemu/include/hw/net/ftgmac100.h
/qemu/include/hw/pci-host/uninorth.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/platform-bus.h
/qemu/include/hw/ppc/pnv_lpc.h
/qemu/include/hw/ppc/ppc.h
/qemu/include/hw/ppc/ppc4xx.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_cpu_core.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/riscv/sifive_clint.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/riscv/sifive_u.h
/qemu/include/hw/riscv/spike.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/s390x/event-facility.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/hw/sd/sd.h
/qemu/include/hw/sh4/sh_intc.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/virtio/vhost-backend.h
/qemu/include/hw/virtio/vhost-user-blk.h
/qemu/include/hw/virtio/vhost-user-scsi.h
/qemu/include/hw/virtio/vhost-user.h
/qemu/include/hw/virtio/virtio-access.h
/qemu/include/hw/virtio/virtio-balloon.h
/qemu/include/hw/virtio/virtio-bus.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/hw/xen/xen_backend.h
/qemu/include/hw/xen/xen_common.h
/qemu/include/migration/register.h
/qemu/include/migration/vmstate.h
/qemu/include/net/net.h
/qemu/include/qapi/qmp/dispatch.h
/qemu/include/qapi/qmp/qdict.h
/qemu/include/qemu-common.h
/qemu/include/qemu-io.h
/qemu/include/qemu/atomic.h
/qemu/include/qemu/iova-tree.h
/qemu/include/qemu/job.h
/qemu/include/qemu/log.h
/qemu/include/qemu/option.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/typedefs.h
/qemu/include/qom/cpu.h
/qemu/include/qom/object.h
/qemu/include/scsi/constants.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/virtio_balloon.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/rdma/vmw_pvrdma-abi.h
/qemu/include/sysemu/block-backend.h
/qemu/include/sysemu/dma.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/numa.h
/qemu/include/sysemu/seccomp.h
/qemu/include/sysemu/sysemu.h
/qemu/include/sysemu/xen-mapcache.h
/qemu/include/ui/input.h
/qemu/io/net-listener.c
/qemu/job-qmp.c
/qemu/job.c
/qemu/linux-headers/COPYING
/qemu/linux-headers/LICENSES/exceptions/Linux-syscall-note
/qemu/linux-headers/LICENSES/preferred/BSD-2-Clause
/qemu/linux-headers/LICENSES/preferred/BSD-3-Clause
/qemu/linux-headers/LICENSES/preferred/GPL-2.0
/qemu/linux-headers/asm-arm/bitsperlong.h
/qemu/linux-headers/asm-arm/kvm.h
/qemu/linux-headers/asm-arm64/bitsperlong.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/bitsperlong.h
/qemu/linux-headers/asm-mips/kvm.h
/qemu/linux-headers/asm-mips/sgidefs.h
/qemu/linux-headers/asm-mips/unistd.h
/qemu/linux-headers/asm-powerpc/bitsperlong.h
/qemu/linux-headers/asm-s390/bitsperlong.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/bitsperlong.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-user/aarch64/signal.c
/qemu/linux-user/aarch64/sockbits.h
/qemu/linux-user/aarch64/target_cpu.h
/qemu/linux-user/aarch64/target_fcntl.h
/qemu/linux-user/aarch64/target_signal.h
/qemu/linux-user/alpha/signal.c
/qemu/linux-user/alpha/sockbits.h
/qemu/linux-user/alpha/syscall_nr.h
/qemu/linux-user/alpha/target_cpu.h
/qemu/linux-user/alpha/target_fcntl.h
/qemu/linux-user/alpha/target_signal.h
/qemu/linux-user/arm/signal.c
/qemu/linux-user/arm/sockbits.h
/qemu/linux-user/arm/target_cpu.h
/qemu/linux-user/arm/target_fcntl.h
/qemu/linux-user/arm/target_signal.h
/qemu/linux-user/arm/target_structs.h
/qemu/linux-user/cris/signal.c
/qemu/linux-user/cris/sockbits.h
/qemu/linux-user/cris/target_cpu.h
/qemu/linux-user/cris/target_fcntl.h
/qemu/linux-user/cris/target_signal.h
/qemu/linux-user/elfload.c
/qemu/linux-user/flatload.c
/qemu/linux-user/generic/fcntl.h
/qemu/linux-user/generic/signal.h
/qemu/linux-user/generic/sockbits.h
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/sockbits.h
/qemu/linux-user/hppa/syscall_nr.h
/qemu/linux-user/hppa/target_cpu.h
/qemu/linux-user/hppa/target_fcntl.h
/qemu/linux-user/hppa/target_signal.h
/qemu/linux-user/i386/signal.c
/qemu/linux-user/i386/sockbits.h
/qemu/linux-user/i386/target_cpu.h
/qemu/linux-user/i386/target_fcntl.h
/qemu/linux-user/i386/target_signal.h
/qemu/linux-user/m68k/signal.c
/qemu/linux-user/m68k/sockbits.h
/qemu/linux-user/m68k/target_cpu.h
/qemu/linux-user/m68k/target_fcntl.h
/qemu/linux-user/m68k/target_signal.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/cpu_loop.c
/qemu/linux-user/microblaze/signal.c
/qemu/linux-user/microblaze/sockbits.h
/qemu/linux-user/microblaze/syscall_nr.h
/qemu/linux-user/microblaze/target_cpu.h
/qemu/linux-user/microblaze/target_fcntl.h
/qemu/linux-user/microblaze/target_signal.h
/qemu/linux-user/mips/signal.c
/qemu/linux-user/mips/sockbits.h
/qemu/linux-user/mips/target_cpu.h
/qemu/linux-user/mips/target_fcntl.h
/qemu/linux-user/mips/target_signal.h
/qemu/linux-user/mips64/sockbits.h
/qemu/linux-user/mips64/target_fcntl.h
/qemu/linux-user/mips64/target_signal.h
/qemu/linux-user/nios2/signal.c
/qemu/linux-user/nios2/sockbits.h
/qemu/linux-user/nios2/target_cpu.h
/qemu/linux-user/nios2/target_fcntl.h
/qemu/linux-user/nios2/target_signal.h
/qemu/linux-user/openrisc/signal.c
/qemu/linux-user/openrisc/sockbits.h
/qemu/linux-user/openrisc/target_cpu.h
/qemu/linux-user/openrisc/target_fcntl.h
/qemu/linux-user/openrisc/target_signal.h
/qemu/linux-user/ppc/signal.c
/qemu/linux-user/ppc/sockbits.h
/qemu/linux-user/ppc/target_cpu.h
/qemu/linux-user/ppc/target_fcntl.h
/qemu/linux-user/ppc/target_signal.h
/qemu/linux-user/qemu.h
/qemu/linux-user/riscv/signal.c
/qemu/linux-user/riscv/sockbits.h
/qemu/linux-user/riscv/target_cpu.h
/qemu/linux-user/riscv/target_fcntl.h
/qemu/linux-user/riscv/target_signal.h
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/s390x/sockbits.h
/qemu/linux-user/s390x/target_cpu.h
/qemu/linux-user/s390x/target_fcntl.h
/qemu/linux-user/s390x/target_signal.h
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/sh4/sockbits.h
/qemu/linux-user/sh4/target_cpu.h
/qemu/linux-user/sh4/target_fcntl.h
/qemu/linux-user/sh4/target_signal.h
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/socket.h
/qemu/linux-user/sparc/signal.c
/qemu/linux-user/sparc/sockbits.h
/qemu/linux-user/sparc/syscall_nr.h
/qemu/linux-user/sparc/target_cpu.h
/qemu/linux-user/sparc/target_errno.h
/qemu/linux-user/sparc/target_fcntl.h
/qemu/linux-user/sparc/target_signal.h
/qemu/linux-user/sparc/target_syscall.h
/qemu/linux-user/sparc64/signal.c
/qemu/linux-user/sparc64/sockbits.h
/qemu/linux-user/sparc64/syscall_nr.h
/qemu/linux-user/sparc64/target_fcntl.h
/qemu/linux-user/sparc64/target_signal.h
/qemu/linux-user/sparc64/target_syscall.h
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/tilegx/signal.c
/qemu/linux-user/tilegx/sockbits.h
/qemu/linux-user/tilegx/target_cpu.h
/qemu/linux-user/tilegx/target_fcntl.h
/qemu/linux-user/tilegx/target_signal.h
/qemu/linux-user/x86_64/sockbits.h
/qemu/linux-user/x86_64/target_fcntl.h
/qemu/linux-user/x86_64/target_signal.h
/qemu/linux-user/xtensa/signal.c
/qemu/linux-user/xtensa/sockbits.h
/qemu/linux-user/xtensa/target_cpu.h
/qemu/linux-user/xtensa/target_fcntl.h
/qemu/linux-user/xtensa/target_signal.h
/qemu/memory.c
/qemu/memory_ldst.inc.c
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/channel.c
/qemu/migration/exec.c
/qemu/migration/fd.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/page_cache.c
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/migration/socket.c
/qemu/migration/socket.h
/qemu/migration/trace-events
/qemu/migration/vmstate.c
/qemu/monitor.c
/qemu/nbd/client.c
/qemu/net/can/can_host.c
/qemu/net/colo-compare.c
/qemu/net/colo.c
/qemu/net/filter-rewriter.c
/qemu/net/hub.c
/qemu/net/net.c
/qemu/net/slirp.c
/qemu/net/tap.c
/qemu/net/vhost-user.c
/qemu/numa.c
/qemu/os-posix.c
/qemu/os-win32.c
/qemu/pc-bios/s390-ccw.img
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/bootmap.c
/qemu/pc-bios/s390-ccw/bootmap.h
/qemu/pc-bios/s390-ccw/cio.h
/qemu/pc-bios/s390-ccw/iplb.h
/qemu/pc-bios/s390-ccw/jump2ipl.c
/qemu/pc-bios/s390-ccw/libc.c
/qemu/pc-bios/s390-ccw/libc.h
/qemu/pc-bios/s390-ccw/main.c
/qemu/pc-bios/s390-ccw/menu.c
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/s390-ccw/netmain.c
/qemu/pc-bios/s390-ccw/s390-ccw.h
/qemu/pc-bios/s390-netboot.img
/qemu/qapi/block-core.json
/qemu/qapi/common.json
/qemu/qapi/introspect.json
/qemu/qapi/job.json
/qemu/qapi/migration.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/run-state.json
/qemu/qapi/transaction.json
/qemu/qapi/ui.json
/qemu/qemu-doc.texi
/qemu/qemu-img-cmds.hx
/qemu/qemu-img.c
/qemu/qemu-img.texi
/qemu/qemu-io-cmds.c
/qemu/qemu-io.c
/qemu/qemu-nbd.c
/qemu/qemu-option-trace.texi
/qemu/qemu-options-wrapper.h
/qemu/qemu-options.hx
/qemu/qemu-seccomp.c
/qemu/qemu-tech.texi
/qemu/qga/channel-posix.c
/qemu/qga/channel-win32.c
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/guest-agent-command-state.c
/qemu/qga/main.c
/qemu/qga/vss-win32.c
/qemu/qmp.c
qdict.c
/qemu/qom/object.c
/qemu/qom/object_interfaces.c
/qemu/rules.mak
/qemu/scripts/analyse-9p-simpletrace.py
/qemu/scripts/analyse-locks-simpletrace.py
/qemu/scripts/analyze-migration.py
/qemu/scripts/checkpatch.pl
/qemu/scripts/coverity-model.c
/qemu/scripts/create_config
/qemu/scripts/device-crash-test
/qemu/scripts/dump-guest-memory.py
/qemu/scripts/kvm/kvm_flightrecorder
/qemu/scripts/kvm/vmxcap
/qemu/scripts/qapi/commands.py
/qemu/scripts/qapi/common.py
/qemu/scripts/qapi/doc.py
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qemu-binfmt-conf.sh
/qemu/scripts/qmp/qemu-ga-client
/qemu/scripts/qmp/qmp
/qemu/scripts/qmp/qmp-shell
/qemu/scripts/qmp/qom-fuse
/qemu/scripts/qmp/qom-get
/qemu/scripts/qmp/qom-list
/qemu/scripts/qmp/qom-set
/qemu/scripts/qmp/qom-tree
/qemu/scripts/replay-dump.py
/qemu/scripts/signrom.py
/qemu/scripts/simpletrace.py
/qemu/scripts/update-linux-headers.sh
/qemu/scripts/vmstate-static-checker.py
/qemu/slirp/arp_table.c
/qemu/slirp/bootp.c
/qemu/slirp/libslirp.h
/qemu/slirp/mbuf.c
/qemu/slirp/mbuf.h
/qemu/slirp/ncsi.c
/qemu/slirp/slirp.c
/qemu/slirp/slirp.h
/qemu/slirp/socket.c
/qemu/slirp/tcp_subr.c
/qemu/slirp/udp.c
/qemu/stubs/Makefile.objs
/qemu/stubs/qmp_memory_device.c
/qemu/target/alpha/helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/Makefile.objs
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/arm_ldst.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/crypto_helper.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/helper-a64.c
/qemu/target/arm/helper-a64.h
/qemu/target/arm/helper-sve.h
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/iwmmxt_helper.c
/qemu/target/arm/kvm.c
/qemu/target/arm/neon_helper.c
/qemu/target/arm/psci.c
/qemu/target/arm/sve.decode
/qemu/target/arm/sve_helper.c
/qemu/target/arm/trace-events
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-a64.h
/qemu/target/arm/translate-sve.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/arm/vec_helper.c
/qemu/target/cris/cpu.c
/qemu/target/cris/translate.c
/qemu/target/cris/translate_v10.inc.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hax-all.c
/qemu/target/i386/hax-darwin.c
/qemu/target/i386/hax-mem.c
/qemu/target/i386/hax-windows.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86_task.c
/qemu/target/i386/hyperv-proto.h
/qemu/target/i386/kvm.c
/qemu/target/i386/kvm_i386.h
/qemu/target/i386/machine.c
/qemu/target/i386/sev.c
/qemu/target/i386/translate.c
/qemu/target/i386/whpx-all.c
/qemu/target/lm32/cpu.c
/qemu/target/lm32/op_helper.c
/qemu/target/lm32/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/softfloat.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/helper.h
/qemu/target/microblaze/mmu.c
/qemu/target/microblaze/mmu.h
/qemu/target/microblaze/op_helper.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/dsp_helper.c
/qemu/target/mips/msa_helper.c
/qemu/target/mips/op_helper.c
/qemu/target/mips/translate.c
/qemu/target/mips/translate_init.inc.c
/qemu/target/moxie/cpu.c
/qemu/target/moxie/mmu.c
/qemu/target/moxie/translate.c
/qemu/target/nios2/cpu.h
/qemu/target/nios2/op_helper.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/Makefile.objs
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/fpu_helper.c
/qemu/target/openrisc/helper.h
/qemu/target/openrisc/insns.decode
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/helper_regs.h
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/machine.c
/qemu/target/ppc/mfrom_table.inc.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/mmu-book3s-v3.h
/qemu/target/ppc/mmu-hash64.c
/qemu/target/ppc/mmu-hash64.h
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate_init.inc.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/fpu_helper.c
/qemu/target/riscv/helper.c
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/translate.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/diag.c
/qemu/target/s390x/excp_helper.c
/qemu/target/s390x/fpu_helper.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/internal.h
/qemu/target/s390x/kvm.c
/qemu/target/s390x/mem_helper.c
/qemu/target/s390x/misc_helper.c
/qemu/target/s390x/mmu_helper.c
/qemu/target/s390x/sigp.c
/qemu/target/s390x/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/helper.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/target/tilegx/cpu.c
/qemu/target/tilegx/translate.c
/qemu/target/tricore/translate.c
/qemu/target/unicore32/cpu.c
/qemu/target/unicore32/translate.c
/qemu/target/xtensa/core-dc232b.c
/qemu/target/xtensa/core-dc232b/xtensa-modules.inc.c
/qemu/target/xtensa/core-dc233c.c
/qemu/target/xtensa/core-dc233c/xtensa-modules.inc.c
/qemu/target/xtensa/core-de212.c
/qemu/target/xtensa/core-de212/xtensa-modules.inc.c
/qemu/target/xtensa/core-fsf.c
/qemu/target/xtensa/core-fsf/xtensa-modules.inc.c
/qemu/target/xtensa/core-sample_controller.c
/qemu/target/xtensa/core-sample_controller/xtensa-modules.inc.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/import_core.sh
/qemu/target/xtensa/op_helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/README
/qemu/tcg/i386/tcg-target.inc.c
/qemu/tcg/tcg-op-vec.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg-op.h
/qemu/tcg/tcg.c
/qemu/tcg/tcg.h
/qemu/tests/.gitignore
/qemu/tests/Makefile.include
/qemu/tests/acpi-test-data/pc/NFIT.dimmpxm
/qemu/tests/acpi-test-data/q35/NFIT.dimmpxm
/qemu/tests/acpi-test-data/q35/SSDT.dimmpxm
/qemu/tests/bios-tables-test.c
/qemu/tests/boot-sector.c
/qemu/tests/boot-serial-test.c
/qemu/tests/cdrom-test.c
/qemu/tests/check-qdict.c
/qemu/tests/check-qobject.c
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/docker.py
/qemu/tests/docker/dockerfiles/debian-tricore-cross.docker
/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/travis.docker
/qemu/tests/docker/test-mingw
/qemu/tests/docker/travis.py
/qemu/tests/guest-debug/test-gdbstub.py
/qemu/tests/image-fuzzer/qcow2/__init__.py
/qemu/tests/image-fuzzer/qcow2/fuzz.py
/qemu/tests/image-fuzzer/qcow2/layout.py
/qemu/tests/image-fuzzer/runner.py
/qemu/tests/libqos/ahci.c
/qemu/tests/libqos/ahci.h
/qemu/tests/libqos/i2c.h
/qemu/tests/libqtest.c
/qemu/tests/libqtest.h
/qemu/tests/m48t59-test.c
/qemu/tests/migration-test.c
/qemu/tests/migration/guestperf/engine.py
/qemu/tests/migration/guestperf/plot.py
/qemu/tests/migration/guestperf/shell.py
/qemu/tests/numa-test.c
/qemu/tests/pca9552-test.c
/qemu/tests/qapi-schema/allow-preconfig-test.err
/qemu/tests/qapi-schema/allow-preconfig-test.exit
/qemu/tests/qapi-schema/allow-preconfig-test.json
/qemu/tests/qapi-schema/allow-preconfig-test.out
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/ident-with-escape.out
/qemu/tests/qapi-schema/indented-expr.out
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/024
/qemu/tests/qemu-iotests/024.out
/qemu/tests/qemu-iotests/029
/qemu/tests/qemu-iotests/030
/qemu/tests/qemu-iotests/040
/qemu/tests/qemu-iotests/041
/qemu/tests/qemu-iotests/060
/qemu/tests/qemu-iotests/060.out
/qemu/tests/qemu-iotests/061.out
/qemu/tests/qemu-iotests/080
/qemu/tests/qemu-iotests/080.out
/qemu/tests/qemu-iotests/082
/qemu/tests/qemu-iotests/082.out
/qemu/tests/qemu-iotests/086
/qemu/tests/qemu-iotests/093
/qemu/tests/qemu-iotests/094.out
/qemu/tests/qemu-iotests/095
/qemu/tests/qemu-iotests/095.out
/qemu/tests/qemu-iotests/096
/qemu/tests/qemu-iotests/109
/qemu/tests/qemu-iotests/109.out
/qemu/tests/qemu-iotests/112.out
/qemu/tests/qemu-iotests/113
/qemu/tests/qemu-iotests/113.out
/qemu/tests/qemu-iotests/118
/qemu/tests/qemu-iotests/122
/qemu/tests/qemu-iotests/122.out
/qemu/tests/qemu-iotests/124
/qemu/tests/qemu-iotests/126.out
/qemu/tests/qemu-iotests/127.out
/qemu/tests/qemu-iotests/136
/qemu/tests/qemu-iotests/137.out
/qemu/tests/qemu-iotests/141
/qemu/tests/qemu-iotests/141.out
/qemu/tests/qemu-iotests/144
/qemu/tests/qemu-iotests/144.out
/qemu/tests/qemu-iotests/149
/qemu/tests/qemu-iotests/153
/qemu/tests/qemu-iotests/153.out
/qemu/tests/qemu-iotests/155
/qemu/tests/qemu-iotests/156
/qemu/tests/qemu-iotests/156.out
/qemu/tests/qemu-iotests/165
/qemu/tests/qemu-iotests/181
/qemu/tests/qemu-iotests/185
/qemu/tests/qemu-iotests/185.out
/qemu/tests/qemu-iotests/191
/qemu/tests/qemu-iotests/191.out
/qemu/tests/qemu-iotests/197
/qemu/tests/qemu-iotests/201
/qemu/tests/qemu-iotests/206
/qemu/tests/qemu-iotests/206.out
/qemu/tests/qemu-iotests/207
/qemu/tests/qemu-iotests/207.out
/qemu/tests/qemu-iotests/210
/qemu/tests/qemu-iotests/210.out
/qemu/tests/qemu-iotests/211
/qemu/tests/qemu-iotests/211.out
/qemu/tests/qemu-iotests/212
/qemu/tests/qemu-iotests/212.out
/qemu/tests/qemu-iotests/213
/qemu/tests/qemu-iotests/213.out
/qemu/tests/qemu-iotests/214
/qemu/tests/qemu-iotests/214.out
/qemu/tests/qemu-iotests/215
/qemu/tests/qemu-iotests/215.out
/qemu/tests/qemu-iotests/216
/qemu/tests/qemu-iotests/216.out
/qemu/tests/qemu-iotests/217
/qemu/tests/qemu-iotests/217.out
/qemu/tests/qemu-iotests/218
/qemu/tests/qemu-iotests/218.out
/qemu/tests/qemu-iotests/219
/qemu/tests/qemu-iotests/219.out
/qemu/tests/qemu-iotests/221
/qemu/tests/qemu-iotests/221.out
/qemu/tests/qemu-iotests/common.filter
/qemu/tests/qemu-iotests/common.qemu
/qemu/tests/qemu-iotests/common.rc
/qemu/tests/qemu-iotests/group
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/nbd-fault-injector.py
/qemu/tests/qemu-iotests/qcow2.py
/qemu/tests/qemu-iotests/qed.py
/qemu/tests/qmp-test.c
/qemu/tests/test-bdrv-drain.c
/qemu/tests/test-blockjob-txn.c
/qemu/tests/test-blockjob.c
/qemu/tests/test-char.c
/qemu/tests/test-qemu-opts.c
/qemu/tests/test-qmp-cmds.c
/qemu/tests/test-replication.c
/qemu/tests/test-thread-pool.c
/qemu/tests/tmp105-test.c
/qemu/tests/tpm-crb-swtpm-test.c
/qemu/tests/tpm-emu.c
/qemu/tests/tpm-tests.c
/qemu/tests/tpm-tests.h
/qemu/tests/tpm-tis-swtpm-test.c
/qemu/tests/tpm-util.c
/qemu/tests/tpm-util.h
/qemu/tests/usb-hcd-xhci-test.c
/qemu/tests/vhost-user-bridge.c
/qemu/tests/vm/basevm.py
/qemu/trace-events
/qemu/trace/control.h
/qemu/trace/qmp.c
/qemu/ui/Makefile.objs
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/gtk.c
/qemu/ui/input-keymap.c
/qemu/ui/input-legacy.c
/qemu/ui/sdl2-2d.c
/qemu/ui/sdl2.c
/qemu/ui/spice-input.c
/qemu/ui/vnc-enc-zrle.c
/qemu/ui/vnc-enc-zrle.inc.c
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/Makefile.objs
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/async.c
/qemu/util/iova-tree.c
/qemu/util/log.c
/qemu/util/main-loop.c
/qemu/util/memfd.c
/qemu/util/qemu-config.c
/qemu/util/qemu-option.c
/qemu/util/qemu-thread-posix.c
/qemu/util/qht.c
/qemu/util/uri.c
/qemu/util/vfio-helpers.c
/qemu/vl.c
f5a74a5a19-Apr-2018 Marc-André Lureau <marcandre.lureau@redhat.com>

qobject: Modify qobject_ref() to return obj

For convenience and clarity, make it possible to call qobject_ref() at
the time when the reference is associated with a variable, or
argument, by making q

qobject: Modify qobject_ref() to return obj

For convenience and clarity, make it possible to call qobject_ref() at
the time when the reference is associated with a variable, or
argument, by making qobject_ref() return the same pointer as given.
Use that to simplify the callers.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180419150145.24795-5-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Useless change to qobject_ref_impl() dropped, commit message improved
slightly]
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

12345678