History log of /openbmc/qemu/qom/ (Results 226 – 250 of 508)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
cde0a63a23-Jun-2017 Michael S. Tsirkin <mst@redhat.com>

Revert "cpu: add APIs to allocate/free CPU environment"

This reverts commit e2a7f28693aea7e194ec1435697ec4feb24f8a6f.

This was not supposed to go upstream yet. Reverting.

Signed-off-by: Michael S.

Revert "cpu: add APIs to allocate/free CPU environment"

This reverts commit e2a7f28693aea7e194ec1435697ec4feb24f8a6f.

This was not supposed to go upstream yet. Reverting.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/block.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/cpu/core.c
/openbmc/qemu/hw/mips/addr.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/mips/cpudevs.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qga/main.c
cpu.c
/openbmc/qemu/slirp/bootp.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.bridge
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.ipmibt
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.memhp
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/136
/openbmc/qemu/tests/qemu-iotests/187
/openbmc/qemu/tests/qemu-iotests/187.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/util/rcu.c
/openbmc/qemu/vl.c
e2a7f28623-Jun-2017 Michael S. Tsirkin <mst@redhat.com>

cpu: add APIs to allocate/free CPU environment

These will be implemented and then used by follow-up patches.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


/openbmc/qemu/CODING_STYLE
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/audio/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/docs/interop/vhost-user.txt
/openbmc/qemu/docs/specs/pci-ids.txt
/openbmc/qemu/docs/usb2.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/bt/sdp.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/dma/trace-events
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/trace-events
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/include/chardev/char-fd.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
cpu.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/__init__.py
/openbmc/qemu/scripts/tracetool/backend/dtrace.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/simple.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/scripts/tracetool/backend/ust.py
/openbmc/qemu/scripts/tracetool/format/h.py
/openbmc/qemu/scripts/tracetool/format/simpletrace_stap.py
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/s390x/trace-events
/openbmc/qemu/target/sparc/trace-events
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/063
/openbmc/qemu/tests/qemu-iotests/074
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/162
/openbmc/qemu/tests/qemu-iotests/179
/openbmc/qemu/tests/qemu-iotests/186
/openbmc/qemu/tests/qemu-iotests/186.out
/openbmc/qemu/tests/qemu-iotests/190
/openbmc/qemu/tests/qemu-iotests/190.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/control.h
/openbmc/qemu/vl.c
87e0331c28-Jul-2017 Philippe Mathieu-Daudé <f4bug@amsat.org>

docs: fix broken paths to docs/devel/tracing.txt

With the move of some docs/ to docs/devel/ on ac06724a71,
no references were updated.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Review

docs: fix broken paths to docs/devel/tracing.txt

With the move of some docs/ to docs/devel/ on ac06724a71,
no references were updated.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.editorconfig
/openbmc/qemu/.gitignore
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/bsdload.c
/openbmc/qemu/bsd-user/elfload.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/chardev/trace-events
/openbmc/qemu/configure
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/afalg.c
/openbmc/qemu/crypto/afalgpriv.h
/openbmc/qemu/crypto/cipher-afalg.c
/openbmc/qemu/crypto/cipher-builtin.c
/openbmc/qemu/crypto/cipher-gcrypt.c
/openbmc/qemu/crypto/cipher-nettle.c
/openbmc/qemu/crypto/cipher.c
/openbmc/qemu/crypto/cipherpriv.h
/openbmc/qemu/crypto/hash-afalg.c
/openbmc/qemu/crypto/hash-gcrypt.c
/openbmc/qemu/crypto/hash-glib.c
/openbmc/qemu/crypto/hash-nettle.c
/openbmc/qemu/crypto/hash.c
/openbmc/qemu/crypto/hashpriv.h
/openbmc/qemu/crypto/hmac-gcrypt.c
/openbmc/qemu/crypto/hmac-glib.c
/openbmc/qemu/crypto/hmac-nettle.c
/openbmc/qemu/crypto/hmac.c
/openbmc/qemu/crypto/hmacpriv.h
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/docs/devel/lockcnt.txt
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/writing-qmp-commands.txt
/openbmc/qemu/docs/interop/bitmaps.rst
/openbmc/qemu/docs/interop/live-block-operations.rst
/openbmc/qemu/docs/qcow2-cache.txt
/openbmc/qemu/fsdev/qemu-fsdev-throttle.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/acpi/trace-events
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/alpha/trace-events
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/trace-events
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/block/dataplane/trace-events
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/dma/trace-events
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/ahci_internal.h
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/input/adb.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/trace-events
/openbmc/qemu/hw/mem/trace-events
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/sparc/trace-events
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/hw/xen/xen_pt_config_init.c
/openbmc/qemu/hw/xen/xen_pt_msi.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/crypto/cipher.h
/openbmc/qemu/include/crypto/hmac.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/ide/ahci.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/xen/xen_common.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/qapi/qmp/qobject.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/cpuid.h
/openbmc/qemu/include/qemu/throttle.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/xen-mapcache.h
/openbmc/qemu/include/ui/input.h
/openbmc/qemu/io/channel.c
/openbmc/qemu/io/trace-events
/openbmc/qemu/linux-headers/asm-x86/kvm_para.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/host/aarch64/hostdep.h
/openbmc/qemu/linux-user/host/arm/hostdep.h
/openbmc/qemu/linux-user/host/i386/hostdep.h
/openbmc/qemu/linux-user/host/ppc64/hostdep.h
/openbmc/qemu/linux-user/host/s390x/hostdep.h
/openbmc/qemu/linux-user/host/x86_64/hostdep.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/eth.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/keymaps/fr-ca
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/qapi-clone-visitor.c
/openbmc/qemu/qapi/qapi-dealloc-visitor.c
/openbmc/qemu/qapi/qapi-util.c
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/qobject-output-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qapi/trace-events
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qobject/json-parser.c
/openbmc/qemu/qobject/qnull.c
trace-events
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/coccinelle/tcg_gen_extract.cocci
/openbmc/qemu/scripts/git.orderfile
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/alpha/machine.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/trace-events
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/lm32/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/machine.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/trace-events
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/mips/translate_init.c
/openbmc/qemu/target/moxie/translate.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/monitor.c
/openbmc/qemu/target/ppc/trace-events
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_features.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/interrupt.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/trace-events
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.h
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/trace-events
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/tilegx/translate.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/unicore32/translate.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/benchmark-crypto-cipher.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/benchmark-crypto-hmac.c
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/check-qnull.c
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-apt-fake.sh
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ports.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-powerpc-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-win32-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-win64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/docker/dockerfiles/debian8-mxe.docker
/openbmc/qemu/tests/docker/dockerfiles/debian8.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/docker/travis.py
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/040.out
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/041.out
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/067.out
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/111.out
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/186
/openbmc/qemu/tests/qemu-iotests/186.out
/openbmc/qemu/tests/qemu-iotests/189
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/tcg/test-i386.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/thunk.c
/openbmc/qemu/ui/curses_keys.h
/openbmc/qemu/ui/input-keymap.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/keymaps.h
/openbmc/qemu/ui/spice-input.c
/openbmc/qemu/ui/trace-events
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc_keysym.h
/openbmc/qemu/user-exec.c
/openbmc/qemu/util/bufferiszero.c
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-error.c
/openbmc/qemu/util/throttle.c
/openbmc/qemu/util/trace-events
368e708b18-Jul-2017 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging

x86 and machine queue, 2017-07-17

# gpg: Signature made Mon 17 Jul 2017 19:46:14 BST
# gpg:

Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging

x86 and machine queue, 2017-07-17

# gpg: Signature made Mon 17 Jul 2017 19:46:14 BST
# gpg: using RSA key 0x2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-and-machine-pull-request:
qmp: Include parent type on 'qom-list-types' output
qmp: Include 'abstract' field on 'qom-list-types' output
tests: Simplify abstract-interfaces check with a helper
i386: add Skylake-Server cpu model
i386: Update comment about XSAVES on Skylake-Client
i386: expose "TCGTCGTCGTCG" in the 0x40000000 CPUID leaf
fw_cfg: move QOM type defines and fw_cfg types into fw_cfg.h
fw_cfg: move qdev_init_nofail() from fw_cfg_init1() to callers
fw_cfg: switch fw_cfg_find() to locate the fw_cfg device by type rather than path
qom: Fix ambiguous path detection when ambiguous=NULL
Revert "machine: Convert abstract typename on compat_props to subclass names"
test-qdev-global-props: Test global property ordering
qdev: fix the order compat and global properties are applied
tests: Test case for object_resolve_path*()
device-crash-test: Fix regexp on whitelist

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/rate_template.h
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed-cluster.c
/openbmc/qemu/block/qed-l2-cache.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/configure
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/docs/colo-proxy.txt
/openbmc/qemu/docs/devel/memory.txt
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/fmopl.h
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/cmsdk-apb-uart.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tc6393xb.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/pci-assign-load-rom.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/input/milkymist-softusb.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/moxie/moxiesim.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/milkymist-minimac2.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/tb-hash-xx.h
/openbmc/qemu/include/exec/tb-hash.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/cmsdk-apb-uart.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/misc/mps2-scc.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/timer/cmsdk-apb-timer.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/memory.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/colo.c
/openbmc/qemu/net/colo.h
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/efi-e1000.rom
/openbmc/qemu/pc-bios/efi-e1000e.rom
/openbmc/qemu/pc-bios/efi-eepro100.rom
/openbmc/qemu/pc-bios/efi-ne2k_pci.rom
/openbmc/qemu/pc-bios/efi-pcnet.rom
/openbmc/qemu/pc-bios/efi-rtl8139.rom
/openbmc/qemu/pc-bios/efi-virtio.rom
/openbmc/qemu/pc-bios/efi-vmxnet3.rom
/openbmc/qemu/pc-bios/keymaps/fr-ca
/openbmc/qemu/pc-bios/u-boot.e500
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/installer/qemu-ga.wxs
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qmp.c
object.c
/openbmc/qemu/roms/ipxe
/openbmc/qemu/roms/u-boot
/openbmc/qemu/scripts/coccinelle/memory-region-init-ram.cocci
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/dtrace.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/simple.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/scripts/tracetool/backend/ust.py
/openbmc/qemu/scripts/tracetool/format/h.py
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/slirp/ip6.h
/openbmc/qemu/slirp/misc.c
/openbmc/qemu/slirp/sbuf.c
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/tcg/tcg-runtime.c
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/data/test-qga-os-release
/openbmc/qemu/tests/device-introspect-test.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/qht-bench.c
/openbmc/qemu/tests/test-qdev-global-props.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/control-target.c
/openbmc/qemu/trace/control.h
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/qemu-coroutine-lock.c
ebcc479e07-Jul-2017 Eduardo Habkost <ehabkost@redhat.com>

qom: Fix ambiguous path detection when ambiguous=NULL

object_resolve_path*() ambiguous path detection breaks when
ambiguous==NULL and the object tree have 3 objects of the same type and
only 2 of th

qom: Fix ambiguous path detection when ambiguous=NULL

object_resolve_path*() ambiguous path detection breaks when
ambiguous==NULL and the object tree have 3 objects of the same type and
only 2 of them are under the same parent. e.g.:

/container/obj1 (TYPE_FOO)
/container/obj2 (TYPE_FOO)
/obj2 (TYPE_FOO)

With the above tree, object_resolve_path_type("", TYPE_FOO, NULL) will
incorrectly return /obj2, because the search inside "/container" will
return NULL, and the match at "/obj2" won't be detected as ambiguous.

Fix that by always calling object_resolve_partial_path() with a non-NULL
ambiguous parameter.

Test case included.

Reported-by: Igor Mammedov <imammedo@redhat.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170707213052.13087-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/Makefile
/openbmc/qemu/audio/rate_template.h
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed-cluster.c
/openbmc/qemu/block/qed-l2-cache.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/docs/devel/memory.txt
/openbmc/qemu/gdb-xml/s390-gs.xml
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/fmopl.h
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tc6393xb.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/pci-assign.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/pci-assign-load-rom.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/input/milkymist-softusb.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/moxie/moxiesim.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/milkymist-minimac2.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-stattrib-kvm.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/s390x/s390_flic.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/s390x/storage-attributes.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/error-report.h
/openbmc/qemu/include/standard-headers/asm-x86/hyperv.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/asm-s390/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/memory.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/tap-linux.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/efi-e1000.rom
/openbmc/qemu/pc-bios/efi-e1000e.rom
/openbmc/qemu/pc-bios/efi-eepro100.rom
/openbmc/qemu/pc-bios/efi-ne2k_pci.rom
/openbmc/qemu/pc-bios/efi-pcnet.rom
/openbmc/qemu/pc-bios/efi-rtl8139.rom
/openbmc/qemu/pc-bios/efi-virtio.rom
/openbmc/qemu/pc-bios/efi-vmxnet3.rom
/openbmc/qemu/pc-bios/keymaps/fr-ca
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/bswap.h
/openbmc/qemu/pc-bios/s390-ccw/libc.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/netboot.mak
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/sclp.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-blkdev.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-net.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-scsi.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.h
/openbmc/qemu/pc-bios/s390-netboot.img
/openbmc/qemu/pc-bios/u-boot.e500
/openbmc/qemu/qemu-options.hx
object.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/ipxe
/openbmc/qemu/roms/openbios
/openbmc/qemu/roms/u-boot
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/coccinelle/memory-region-init-ram.cocci
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/slirp/ip6.h
/openbmc/qemu/slirp/misc.c
/openbmc/qemu/slirp/sbuf.c
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/arch_dump.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_features.h
/openbmc/qemu/target/s390x/cpu_features_def.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/test-qdev-global-props.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/trace/control.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/error.c
/openbmc/qemu/util/qemu-coroutine-lock.c
/openbmc/qemu/util/qemu-error.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/vl.c
d01c05c904-Jul-2017 Lluís Vilanova <vilanova@ac.upc.edu>

trace: Allocate cpu->trace_dstate in place

There's little point in dynamically allocating the bitmap if we
know at compile-time the max number of events we want to support.
Thus, make room in the st

trace: Allocate cpu->trace_dstate in place

There's little point in dynamically allocating the bitmap if we
know at compile-time the max number of events we want to support.
Thus, make room in the struct for the bitmap, which will make things
easier later: this paves the way for upcoming changes, in which
we'll use a u32 to fully capture cpu->trace_dstate.

This change also increases performance by saving a dereference and
improving locality--note that this is important since upcoming work
makes reading this bitmap fairly common.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 149915725977.6295.15069969323605305641.stgit@frigg.lan
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/gdb-xml/s390-gs.xml
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/pci-assign.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-stattrib-kvm.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/s390x/s390_flic.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/s390x/storage-attributes.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qemu/error-report.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/standard-headers/asm-x86/hyperv.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/asm-s390/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/monitor.c
/openbmc/qemu/net/tap-linux.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/bswap.h
/openbmc/qemu/pc-bios/s390-ccw/libc.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/netboot.mak
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/sclp.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-blkdev.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-net.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-scsi.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.h
/openbmc/qemu/pc-bios/s390-netboot.img
cpu.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/s390x/arch_dump.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_features.h
/openbmc/qemu/target/s390x/cpu_features_def.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/test-qdev-global-props.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/trace/control.c
/openbmc/qemu/util/error.c
/openbmc/qemu/util/qemu-error.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/vl.c
c7e002c513-Jul-2017 Fam Zheng <famz@redhat.com>

cpu: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-20-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

8f5d58ef13-Jul-2017 Igor Mammedov <imammedo@redhat.com>

qom: enforce readonly nature of link's check callback

link's check callback is supposed to verify/permit setting it,
however currently nothing restricts it from misusing it
and modifying target obje

qom: enforce readonly nature of link's check callback

link's check callback is supposed to verify/permit setting it,
however currently nothing restricts it from misusing it
and modifying target object from within.
Make sure that readonly semantics are checked by compiler
to prevent callback's misuse.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-2-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/stubs/Makefile.objs
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/cpu-exec-common.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/crypto.h
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/chardev/char-fe.c
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/block-qcow.c
/openbmc/qemu/crypto/block.c
/openbmc/qemu/crypto/blockpriv.h
/openbmc/qemu/disas/microblaze.c
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/exec.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/debugcon.c
/openbmc/qemu/hw/char/digic-uart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/etraxfs_ser.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/char/grlib_apbuart.c
/openbmc/qemu/hw/char/imx_serial.c
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/lm32_juart.c
/openbmc/qemu/hw/char/lm32_uart.c
/openbmc/qemu/hw/char/mcf_uart.c
/openbmc/qemu/hw/char/milkymist-uart.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/sh_serial.c
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/char/stm32f2xx_usart.c
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/char/virtio-console.c
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/char/xilinx_uartlite.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvmvapic.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/ipmi/ipmi.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/exynos4210_rng.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci/pci-stub.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/3270-ccw.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/ccw-device.h
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-bus.h
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/hw/xenpv/xen_machine_pv.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_backup.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/mips/mips.h
/openbmc/qemu/include/hw/misc/unimp.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390_flic.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/xen/xen_backend.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/ratelimit.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/common.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qmp.c
object.c
/openbmc/qemu/qtest.c
/openbmc/qemu/scripts/coccinelle/qobject.cocci
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/i386/Makefile.objs
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/mpx_helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/xtensa/gdbstub.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/multiboot/run_test.sh
/openbmc/qemu/tests/qemu-iotests/033
/openbmc/qemu/tests/qemu-iotests/042
/openbmc/qemu/tests/qemu-iotests/044.out
/openbmc/qemu/tests/qemu-iotests/048
/openbmc/qemu/tests/qemu-iotests/049
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/106
/openbmc/qemu/tests/qemu-iotests/106.out
/openbmc/qemu/tests/qemu-iotests/114.out
/openbmc/qemu/tests/qemu-iotests/120
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/125.out
/openbmc/qemu/tests/qemu-iotests/126
/openbmc/qemu/tests/qemu-iotests/126.out
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/134.out
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/144.out
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/149.out
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/157
/openbmc/qemu/tests/qemu-iotests/157.out
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/158.out
/openbmc/qemu/tests/qemu-iotests/159
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/165.out
/openbmc/qemu/tests/qemu-iotests/170
/openbmc/qemu/tests/qemu-iotests/171
/openbmc/qemu/tests/qemu-iotests/174
/openbmc/qemu/tests/qemu-iotests/177
/openbmc/qemu/tests/qemu-iotests/177.out
/openbmc/qemu/tests/qemu-iotests/178
/openbmc/qemu/tests/qemu-iotests/178.out.qcow2
/openbmc/qemu/tests/qemu-iotests/178.out.raw
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/185.out
/openbmc/qemu/tests/qemu-iotests/188
/openbmc/qemu/tests/qemu-iotests/188.out
/openbmc/qemu/tests/qemu-iotests/189
/openbmc/qemu/tests/qemu-iotests/189.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/rocker/all
/openbmc/qemu/tests/tcg/cris/Makefile
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/trace/control-target.c
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/vl.c
290dae4604-Jul-2017 Paolo Bonzini <pbonzini@redhat.com>

cpu: move interrupt handling out of translate-common.c

translate-common.c will not be available anymore with --disable-tcg,
so we cannot leave cpu_interrupt_handler there.

Move the TCG-specific han

cpu: move interrupt handling out of translate-common.c

translate-common.c will not be available anymore with --disable-tcg,
so we cannot leave cpu_interrupt_handler there.

Move the TCG-specific handler to accel/tcg/tcg-all.c, and adopt
KVM's handler as the default one, since it works just as well for
Xen and qtest.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

2cd5394326-Jun-2017 Thomas Huth <thuth@redhat.com>

cpu: Introduce a wrapper for tlb_flush() that can be used in common code

Commit 1f5c00cfdb8114c ("qom/cpu: move tlb_flush to cpu_common_reset")
moved the call to tlb_flush() from the target-specific

cpu: Introduce a wrapper for tlb_flush() that can be used in common code

Commit 1f5c00cfdb8114c ("qom/cpu: move tlb_flush to cpu_common_reset")
moved the call to tlb_flush() from the target-specific reset handlers
into the common code qom/cpu.c file, and protected the call with
"#ifdef CONFIG_SOFTMMU" to avoid that it is called for linux-user
only targets. But since qom/cpu.c is common code, CONFIG_SOFTMMU is
*never* defined here, so the tlb_flush() was simply never executed
anymore. Fix it by introducing a wrapper for tlb_flush() in a file
that is re-compiled for each target, i.e. in translate-all.c.

Fixes: 1f5c00cfdb8114c1e3a13426588ceb64f82c9ddb
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1498454578-18709-5-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/pci-assign.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-bridge/dec.c
/openbmc/qemu/hw/pci-bridge/i82801b11.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/pcie_root_port.c
/openbmc/qemu/hw/pci-bridge/xio3130_downstream.c
/openbmc/qemu/hw/pci-bridge/xio3130_upstream.c
/openbmc/qemu/hw/pci/msi.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/pci/slotid_cap.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/hw/pci/shpc.h
/openbmc/qemu/include/hw/pci/slotid_cap.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/qemu-doc.texi
cpu.c
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/kvm_i386.h
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.bridge
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.ipmibt
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.memhp
/openbmc/qemu/tests/vmgenid-test.c
f3ced3c514-Jun-2017 Emilio G. Cota <cota@braap.org>

tcg: consistently access cpu->tb_jmp_cache atomically

Some code paths can lead to atomic accesses racing with memset()
on cpu->tb_jmp_cache, which can result in torn reads/writes
and is undefined be

tcg: consistently access cpu->tb_jmp_cache atomically

Some code paths can lead to atomic accesses racing with memset()
on cpu->tb_jmp_cache, which can result in torn reads/writes
and is undefined behaviour in C11.

These torn accesses are unlikely to show up as bugs, but from code
inspection they seem possible. For example, tb_phys_invalidate does:
/* remove the TB from the hash list */
h = tb_jmp_cache_hash_func(tb->pc);
CPU_FOREACH(cpu) {
if (atomic_read(&cpu->tb_jmp_cache[h]) == tb) {
atomic_set(&cpu->tb_jmp_cache[h], NULL);
}
}
Here atomic_set might race with a concurrent memset (such as the
ones scheduled via "unsafe" async work, e.g. tlb_flush_page) and
therefore we might end up with a torn pointer (or who knows what,
because we are under undefined behaviour).

This patch converts parallel accesses to cpu->tb_jmp_cache to use
atomic primitives, thereby bringing these accesses back to defined
behaviour. The price to pay is to potentially execute more instructions
when clearing cpu->tb_jmp_cache, but given how infrequently they happen
and the small size of the cache, the performance impact I have measured
is within noise range when booting debian-arm.

Note that under "safe async" work (e.g. do_tb_flush) we could use memset
because no other vcpus are running. However I'm keeping these accesses
atomic as well to keep things simple and to avoid confusing analysis
tools such as ThreadSanitizer.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1497486973-25845-1-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.shippable.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/kvm/Makefile.objs
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/accel/stubs/Makefile.objs
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/tcg/Makefile.objs
/openbmc/qemu/accel/tcg/cpu-exec-common.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translate-all.h
/openbmc/qemu/accel/tcg/translate-common.c
/openbmc/qemu/backends/cryptodev.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed-cluster.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/vhost-user-scsi/Makefile.objs
/openbmc/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/docs/interop/parallels.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/qed_spec.txt
/openbmc/qemu/docs/interop/qemu-ga-ref.texi
/openbmc/qemu/docs/interop/qemu-qmp-ref.texi
/openbmc/qemu/docs/interop/qmp-intro.txt
/openbmc/qemu/docs/interop/qmp-spec.txt
/openbmc/qemu/docs/interop/vhost-user.txt
/openbmc/qemu/docs/interop/vnc-ledstate-Pseudo-encoding.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/gdb-xml/m68k-fp.xml
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/platform-bus.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/vmmouse.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/applesmc.c
/openbmc/qemu/hw/misc/auxbus.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/max111x.c
/openbmc/qemu/hw/misc/mmio_interface.c
/openbmc/qemu/hw/misc/pvpanic.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/nvram/eeprom93xx.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/scsi/Makefile.objs
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/vhost-scsi-common.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/exec/tb-context.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/input/ps2.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/misc/mmio_interface.h
/openbmc/qemu/include/hw/pci-host/q35.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/virtio/vhost-user-scsi.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/migration/global_state.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/stats64.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/accel.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/global_state.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-buffer.c
/openbmc/qemu/numa.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
cpu.c
/openbmc/qemu/rules.mak
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/m68k/Makefile.objs
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/helper.h
/openbmc/qemu/target/m68k/qregs.def
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/insn-format.def
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-runtime.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/centos6.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/megasas-test.c
/openbmc/qemu/tests/q35-test.c
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/068.out
/openbmc/qemu/tests/qemu-iotests/154
/openbmc/qemu/tests/qemu-iotests/154.out
/openbmc/qemu/tests/qemu-iotests/185
/openbmc/qemu/tests/qemu-iotests/185.out
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/egl-headless.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/keymaps.c
/openbmc/qemu/ui/sdl2-gl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/spice-input.c
/openbmc/qemu/ui/trace-events
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/stats64.c
/openbmc/qemu/vl.c
3152779c07-Jun-2017 Marc-André Lureau <marcandre.lureau@redhat.com>

object: add uint property setter/getter

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170607163635.17635-13-marcand

object: add uint property setter/getter

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170607163635.17635-13-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

01b2ffce07-Jun-2017 Marc-André Lureau <marcandre.lureau@redhat.com>

qapi: merge QInt and QFloat in QNum

We would like to use a same QObject type to represent numbers, whether
they are int, uint, or floats. Getters will allow some compatibility
between the various ty

qapi: merge QInt and QFloat in QNum

We would like to use a same QObject type to represent numbers, whether
they are int, uint, or floats. Getters will allow some compatibility
between the various types if the number fits other representations.

Add a few more tests while at it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170607163635.17635-7-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[parse_stats_intervals() simplified a bit, comment in
test_visitor_in_int_overflow() tidied up, suppress bogus warnings]
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/include/qapi/qmp/qdict.h
/openbmc/qemu/include/qapi/qmp/qlist.h
/openbmc/qemu/include/qapi/qmp/qnum.h
/openbmc/qemu/include/qapi/qmp/types.h
/openbmc/qemu/include/qapi/qobject-input-visitor.h
/openbmc/qemu/include/qapi/qobject-output-visitor.h
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/qobject-output-visitor.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qobject/Makefile.objs
/openbmc/qemu/qobject/json-parser.c
/openbmc/qemu/qobject/qdict.c
/openbmc/qemu/qobject/qjson.c
/openbmc/qemu/qobject/qnum.c
/openbmc/qemu/qobject/qobject.c
object.c
/openbmc/qemu/scripts/coccinelle/qobject.cocci
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/check-qlist.c
/openbmc/qemu/tests/check-qnum.c
/openbmc/qemu/tests/qapi-schema/comments.out
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/empty.out
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/ident-with-escape.out
/openbmc/qemu/tests/qapi-schema/include-relpath.out
/openbmc/qemu/tests/qapi-schema/include-repetition.out
/openbmc/qemu/tests/qapi-schema/include-simple.out
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qmp-commands.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-x86-cpuid-compat.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/util/qemu-option.c
560f19f107-Jun-2017 Marc-André Lureau <marcandre.lureau@redhat.com>

object: fix potential leak in getters

If the property is not of the requested type, the getters will leak a
QObject.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric

object: fix potential leak in getters

If the property is not of the requested type, the getters will leak a
QObject.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170607163635.17635-3-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/.gdbinit
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/disas/libvixl/Makefile.objs
/openbmc/qemu/docs/config/ich9-ehci-uhci.cfg
/openbmc/qemu/docs/config/mach-virt-graphical.cfg
/openbmc/qemu/docs/config/mach-virt-serial.cfg
/openbmc/qemu/docs/config/q35-emulated.cfg
/openbmc/qemu/docs/config/q35-virtio-graphical.cfg
/openbmc/qemu/docs/config/q35-virtio-serial.cfg
/openbmc/qemu/docs/devel/atomics.txt
/openbmc/qemu/docs/devel/bitmaps.md
/openbmc/qemu/docs/devel/blkdebug.txt
/openbmc/qemu/docs/devel/blkverify.txt
/openbmc/qemu/docs/devel/build-system.txt
/openbmc/qemu/docs/devel/lockcnt.txt
/openbmc/qemu/docs/devel/memory.txt
/openbmc/qemu/docs/devel/migration.txt
/openbmc/qemu/docs/devel/multi-thread-tcg.txt
/openbmc/qemu/docs/devel/multiple-iothreads.txt
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/rcu.txt
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/docs/devel/virtio-migration.txt
/openbmc/qemu/docs/devel/writing-qmp-commands.txt
/openbmc/qemu/docs/spin/aio_notify.promela
/openbmc/qemu/docs/spin/aio_notify_accept.promela
/openbmc/qemu/docs/spin/aio_notify_bug.promela
/openbmc/qemu/docs/spin/tcg-exclusive.promela
/openbmc/qemu/docs/spin/win32-qemu-event.promela
/openbmc/qemu/exec.c
/openbmc/qemu/gdb-xml/i386-32bit-sse.xml
/openbmc/qemu/gdb-xml/i386-32bit.xml
/openbmc/qemu/gdb-xml/i386-64bit-sse.xml
/openbmc/qemu/gdb-xml/i386-64bit.xml
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/cpu/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_its_common.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/exynos4210_gic.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_pnv.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/exynos4210_pmu.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/net/rocker/rocker.c
/openbmc/qemu/hw/net/rocker/rocker_desc.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/pci-bridge/gen_pcie_root_port.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/chardev/char-parallel.h
/openbmc/qemu/include/chardev/char-serial.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/tb-hash.h
/openbmc/qemu/include/hw/arm/exynos4210.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/arm_gicv3_its_common.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/s390x/ioinst.h
/openbmc/qemu/include/hw/timer/mc146818rtc_regs.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/migration/global_state.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/sysemu/hax.h
/openbmc/qemu/include/sysemu/hw_accel.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/channel.h
/openbmc/qemu/migration/colo-comm.c
/openbmc/qemu/migration/colo-failover.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/global_state.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/qemu-file.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/linuxboot_dma.bin
/openbmc/qemu/pc-bios/optionrom/Makefile
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-nbd.c
object.c
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/coccinelle/return_directly.cocci
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/qemu.py
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/arch_memory_mapping.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/smm_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/gdbstub.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tcg-runtime.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/ia64/tcg-target.h
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/s390/tcg-target.h
/openbmc/qemu/tcg/s390/tcg-target.inc.c
/openbmc/qemu/tcg/sparc/tcg-target.h
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg-runtime.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/040.out
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/183.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/test-x86-cpuid-compat.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-coroutine-lock.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/vl.c
c645d5ac03-Jun-2017 Michael Roth <mdroth@linux.vnet.ibm.com>

monitor: fix object_del for command-line-created objects

Currently objects specified on the command-line are only partially
cleaned up when 'object_del' is issued in either HMP or QMP: the
object it

monitor: fix object_del for command-line-created objects

Currently objects specified on the command-line are only partially
cleaned up when 'object_del' is issued in either HMP or QMP: the
object itself is fully finalized, but the QemuOpts are not removed.
This results in the following behavior:

x86_64-softmmu/qemu-system-x86_64 -monitor stdio \
-object memory-backend-ram,id=ram1,size=256M

QEMU 2.7.91 monitor - type 'help' for more information
(qemu) object_del ram1
(qemu) object_del ram1
object 'ram1' not found
(qemu) object_add memory-backend-ram,id=ram1,size=256M
Duplicate ID 'ram1' for object
Try "help object_add" for more information

which can be an issue for use-cases like memory hotplug.

This happens on the HMP side because hmp_object_add() attempts to
create a temporary QemuOpts entry with ID 'ram1', which ends up
conflicting with the command-line-created entry, since it was never
cleaned up during the previous hmp_object_del() call.

We address this by adding a check in user_creatable_del(), which
is called by both qmp_object_del() and hmp_object_del() to handle
the actual object cleanup, to determine whether an option group entry
matching the object's ID is present and removing it if it is.

Note that qmp_object_add() never attempts to create a temporary
QemuOpts entry, so it does not encounter the duplicate ID error,
which is why this isn't generally visible in libvirt.

Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Daniel Berrange <berrange@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1496531612-22166-3-git-send-email-mdroth@linux.vnet.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/arch_init.c
/openbmc/qemu/backends/Makefile.objs
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/backends/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/chardev/Makefile.objs
/openbmc/qemu/chardev/baum.c
/openbmc/qemu/chardev/char-console.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-fe.c
/openbmc/qemu/chardev/char-file.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char-null.c
/openbmc/qemu/chardev/char-parallel.c
/openbmc/qemu/chardev/char-pipe.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-ringbuf.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-stdio.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/chardev/char-win-stdio.c
/openbmc/qemu/chardev/char-win.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/chardev/msmouse.c
/openbmc/qemu/chardev/spice.c
/openbmc/qemu/chardev/testdev.c
/openbmc/qemu/chardev/trace-events
/openbmc/qemu/chardev/wctablet.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/disas/libvixl/Makefile.objs
/openbmc/qemu/docs/bootindex.txt
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/docs/specs/vhost-user.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/9p-iov-marshal.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/9pfs/9p-handle.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-util.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/core.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/Makefile.objs
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/soundhw.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/bt/hci-csr.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/debugcon.c
/openbmc/qemu/hw/char/digic-uart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/etraxfs_ser.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/char/grlib_apbuart.c
/openbmc/qemu/hw/char/imx_serial.c
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/lm32_juart.c
/openbmc/qemu/hw/char/lm32_uart.c
/openbmc/qemu/hw/char/mcf_uart.c
/openbmc/qemu/hw/char/milkymist-uart.c
/openbmc/qemu/hw/char/omap_uart.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/sh_serial.c
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/char/virtio-console.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/char/xilinx_uartlite.c
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/dma/sun4m_iommu.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/i2c-ddc.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/x86-iommu.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/ipmi/ipmi.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/pc87312.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/arm_sysctl.c
/openbmc/qemu/hw/misc/cbus.c
/openbmc/qemu/hw/misc/eccmemctl.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/slavio_misc.c
/openbmc/qemu/hw/misc/zynq_slcr.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mpc8544_guts.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/s390x/3270-ccw.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-ccw.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/m48t59.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/ccid-card-emulated.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/core.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-xhci-nec.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/hcd-xhci.h
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/vfio/amd-xgbe.c
/openbmc/qemu/hw/vfio/calxeda-xgmac.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/watchdog.c
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/hw/xenpv/xen_domainbuild.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/block/blockjob_int.h
/openbmc/qemu/include/chardev/char-fd.h
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/chardev/char-io.h
/openbmc/qemu/include/chardev/char-mux.h
/openbmc/qemu/include/chardev/char-parallel.h
/openbmc/qemu/include/chardev/char-serial.h
/openbmc/qemu/include/chardev/char-win-stdio.h
/openbmc/qemu/include/chardev/char-win.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ramlist.h
/openbmc/qemu/include/exec/target_page.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/memory_hotplug.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/char/bcm2835_aux.h
/openbmc/qemu/include/hw/char/cadence_uart.h
/openbmc/qemu/include/hw/char/digic-uart.h
/openbmc/qemu/include/hw/char/imx_serial.h
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/char/stm32f2xx_usart.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/hw.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86-iommu.h
/openbmc/qemu/include/hw/mips/mips.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/shpc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/s390x/css-bridge.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390-ccw.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/vhost-backend.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/migration/blocker.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/qemu-file-types.h
/openbmc/qemu/include/migration/snapshot.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/standard-headers/asm-x86/hyperv.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/input.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd.h
/openbmc/qemu/linux-headers/asm-s390/kvm.h
/openbmc/qemu/linux-headers/asm-s390/unistd.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/userfaultfd.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-headers/linux/vfio_ccw.h
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/memory_mapping.c
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/block.h
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/channel.h
/openbmc/qemu/migration/colo-comm.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/exec.h
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/fd.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/page_cache.c
/openbmc/qemu/migration/page_cache.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/qemu-file-channel.c
/openbmc/qemu/migration/qemu-file-channel.h
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/qemu-file.h
/openbmc/qemu/migration/qjson.c
/openbmc/qemu/migration/qjson.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/rdma.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/socket.h
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/tls.h
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/migration/xbzrle.c
/openbmc/qemu/migration/xbzrle.h
/openbmc/qemu/monitor.c
/openbmc/qemu/net/Makefile.objs
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/tap-stub.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/numa.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/scsi.h
/openbmc/qemu/pc-bios/s390-ccw/virtio-scsi.c
/openbmc/qemu/pc-bios/s390-ccw/virtio-scsi.h
/openbmc/qemu/pc-bios/s390-ccw/virtio.h
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qmp.c
object_interfaces.c
/openbmc/qemu/qtest.c
/openbmc/qemu/replay/replay-char.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qmp/qom-set
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/slirp/tcp_input.c
/openbmc/qemu/slirp/tcp_subr.c
/openbmc/qemu/stubs/migr-blocker.c
/openbmc/qemu/stubs/vmstate.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/sys_helper.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/psci.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/int32_helper.c
/openbmc/qemu/target/tilegx/cpu.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.memhp
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/tests/postcopy-test.c
/openbmc/qemu/tests/qapi-schema/alternate-clash.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.exit
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.out
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.exit
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.out
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.json
/openbmc/qemu/tests/qapi-schema/alternate-nested.json
/openbmc/qemu/tests/qapi-schema/args-alternate.json
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/returns-alternate.json
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/030.out
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/071.out
/openbmc/qemu/tests/qemu-iotests/081.out
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/094.out
/openbmc/qemu/tests/qemu-iotests/117.out
/openbmc/qemu/tests/qemu-iotests/119.out
/openbmc/qemu/tests/qemu-iotests/120.out
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/156.out
/openbmc/qemu/tests/test-blockjob-txn.c
/openbmc/qemu/tests/test-blockjob.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-clone-visitor.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/test-x86-cpuid-compat.c
/openbmc/qemu/tests/test-xbzrle.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/keyval.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/vl.c
e90f2a8c03-May-2017 Eduardo Habkost <ehabkost@redhat.com>

qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable

cannot_instantiate_with_device_add_yet was introduced by commit
efec3dd631d94160288392721a5f9c39e50fb2bc to replace no_user.

qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable

cannot_instantiate_with_device_add_yet was introduced by commit
efec3dd631d94160288392721a5f9c39e50fb2bc to replace no_user. It was
supposed to be a temporary measure.

When it was introduced, we had 54
cannot_instantiate_with_device_add_yet=true lines in the code.
Today (3 years later) this number has not shrunk: we now have
57 cannot_instantiate_with_device_add_yet=true lines. I think it
is safe to say it is not a temporary measure, and we won't see
the flag go away soon.

Instead of a long field name that misleads people to believe it
is temporary, replace it a shorter and less misleading field:
user_creatable.

Except for code comments, changes were generated using the
following Coccinelle patch:

@@
expression DC;
@@
(
-DC->cannot_instantiate_with_device_add_yet = false;
+DC->user_creatable = true;
|
-DC->cannot_instantiate_with_device_add_yet = true;
+DC->user_creatable = false;
)

@@
typedef ObjectClass;
expression dc;
identifier class, data;
@@
static void device_class_init(ObjectClass *class, void *data)
{
...
dc->hotpluggable = true;
+dc->user_creatable = true;
...
}

@@
@@
struct DeviceClass {
...
-bool cannot_instantiate_with_device_add_yet;
+bool user_creatable;
...
}

@@
expression DC;
@@
(
-!DC->cannot_instantiate_with_device_add_yet
+DC->user_creatable
|
-DC->cannot_instantiate_with_device_add_yet
+!DC->user_creatable
)

Cc: Alistair Francis <alistair.francis@xilinx.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Thomas Huth <thuth@redhat.com>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170503203604.31462-2-ehabkost@redhat.com>
[ehabkost: kept "TODO remove once we're there" comment]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

show more ...


/openbmc/qemu/.gitmodules
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/block.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/or-irq.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu-3d.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/gpio/omap_gpio.c
/openbmc/qemu/hw/i2c/omap_i2c.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/input/vmmouse.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/etraxfs_pic.c
/openbmc/qemu/hw/intc/grlib_irqmp.c
/openbmc/qemu/hw/intc/i8259_common.c
/openbmc/qemu/hw/intc/nios2_iic.c
/openbmc/qemu/hw/intc/omap_intc.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/misc/vmport.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/pci-bridge/dec.c
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/grackle.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/uninorth.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/sd/milkymist-memcard.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sh4/sh_pci.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/sysemu/xen-mapcache.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/input.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/qemu_vga.ndrv
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp.c
cpu.c
/openbmc/qemu/roms/QemuMacDrivers
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/ppc/Makefile.objs
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.memhp
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/tests/nvme-test.c
/openbmc/qemu/tests/qemu-iotests/019.out
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/046
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/066
/openbmc/qemu/tests/qemu-iotests/066.out
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/091
/openbmc/qemu/tests/qemu-iotests/102.out
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/146.out
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/154
/openbmc/qemu/tests/qemu-iotests/154.out
/openbmc/qemu/tests/qemu-iotests/172
/openbmc/qemu/tests/qemu-iotests/172.out
/openbmc/qemu/tests/qemu-iotests/177
/openbmc/qemu/tests/qemu-iotests/177.out
/openbmc/qemu/tests/qemu-iotests/179
/openbmc/qemu/tests/qemu-iotests/179.out
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.pattern
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-replication.c
/openbmc/qemu/tests/usb-hcd-uhci-test.c
/openbmc/qemu/tests/usb-hcd-xhci-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/egl-context.c
/openbmc/qemu/ui/egl-headless.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-input.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/osdep.c
/openbmc/qemu/vl.c
5651743c09-May-2017 Anthony Xu <anthony.xu@intel.com>

trace: add sanity check

If trace backend is set to TRACE_NOP, trace_get_vcpu_event_count
returns 0, cause bitmap_new call abort.

The abort can be triggered as follows:

$ ./configure --enable-tra

trace: add sanity check

If trace backend is set to TRACE_NOP, trace_get_vcpu_event_count
returns 0, cause bitmap_new call abort.

The abort can be triggered as follows:

$ ./configure --enable-trace-backend=nop --target-list=x86_64-softmmu
$ gdb ./x86_64-softmmu/qemu-system-x86_64 -M q35,accel=kvm -m 1G
(gdb) bt
#0 0x00007ffff04e25f7 in raise () from /lib64/libc.so.6
#1 0x00007ffff04e3ce8 in abort () from /lib64/libc.so.6
#2 0x00005555559de905 in bitmap_new (nbits=<optimized out>)
at /home/root/git/qemu2.git/include/qemu/bitmap.h:96
#3 cpu_common_initfn (obj=0x555556621d30) at qom/cpu.c:399
#4 0x0000555555a11869 in object_init_with_type (obj=0x555556621d30, ti=0x55555656bbb0) at qom/object.c:341
#5 0x0000555555a11869 in object_init_with_type (obj=0x555556621d30, ti=0x55555656bd30) at qom/object.c:341
#6 0x0000555555a11efc in object_initialize_with_type (data=data@entry=0x555556621d30, size=76560,
type=type@entry=0x55555656bd30) at qom/object.c:376
#7 0x0000555555a12061 in object_new_with_type (type=0x55555656bd30) at qom/object.c:484
#8 0x0000555555a121c5 in object_new (typename=typename@entry=0x555556550340 "qemu64-x86_64-cpu")
at qom/object.c:494
#9 0x00005555557f6e3d in pc_new_cpu (typename=typename@entry=0x555556550340 "qemu64-x86_64-cpu", apic_id=0,
errp=errp@entry=0x5555565391b0 <error_fatal>) at /home/root/git/qemu2.git/hw/i386/pc.c:1101
#10 0x00005555557fa33e in pc_cpus_init (pcms=pcms@entry=0x5555565f9690)
at /home/root/git/qemu2.git/hw/i386/pc.c:1184
#11 0x00005555557fe0f6 in pc_q35_init (machine=0x5555565f9690) at /home/root/git/qemu2.git/hw/i386/pc_q35.c:121
#12 0x000055555574fbad in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4562

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Message-id: 1494369432-15418-1-git-send-email-anthony.xu@intel.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/block.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-io.h
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/init.c
/openbmc/qemu/crypto/random-gcrypt.c
/openbmc/qemu/crypto/random-gnutls.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/device_tree.c
/openbmc/qemu/dump.c
/openbmc/qemu/gdb-xml/i386-32bit-core.xml
/openbmc/qemu/gdb-xml/i386-64bit-core.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/audio/Makefile.objs
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/fmopl.h
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/gusemu.h
/openbmc/qemu/hw/audio/gusemu_hal.c
/openbmc/qemu/hw/audio/gusemu_mixer.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/intel-hda.h
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc_booke.c
/openbmc/qemu/hw/s390x/3270-ccw.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/scsi/Makefile.objs
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/vhost-scsi-common.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/crypto/random.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/pci/pcie_aer.h
/openbmc/qemu/include/hw/s390x/3270-ccw.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/virtio/vhost-scsi-common.h
/openbmc/qemu/include/hw/virtio/vhost-scsi.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/io/channel-file.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/migration/cpu.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/clone-visitor.h
/openbmc/qemu/include/qapi/qmp/qdict.h
/openbmc/qemu/include/qapi/qmp/qlist.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/char.h
/openbmc/qemu/include/sysemu/dump.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/openrisc/target_cpu.h
/openbmc/qemu/linux-user/openrisc/target_signal.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/sclp.c
/openbmc/qemu/pc-bios/s390-ccw/sclp.h
/openbmc/qemu/pc-bios/sgabios.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/qapi-clone-visitor.c
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-event.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu.sasl
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qobject/qdict.c
cpu.c
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/roms/sgabios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/clean-header-guards.pl
/openbmc/qemu/scripts/cleanup-trace-events.pl
/openbmc/qemu/scripts/coccinelle/qobject.cocci
/openbmc/qemu/scripts/disas-objdump.pl
/openbmc/qemu/scripts/get_maintainer.pl
/openbmc/qemu/scripts/qemu-binfmt-conf.sh
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/shaderinclude.pl
/openbmc/qemu/scripts/switch-timer-api
/openbmc/qemu/scripts/texi2pod.pl
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/hax-mem.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/gdbstub.c
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/check-qlist.c
/openbmc/qemu/tests/device-introspect-test.c
/openbmc/qemu/tests/fdc-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/postcopy-test.c
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/026.out.nocache
/openbmc/qemu/tests/qemu-iotests/028.out
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/066
/openbmc/qemu/tests/qemu-iotests/066.out
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/068.out
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/130.out
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/142.out
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/145.out
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/181.out
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qmp-commands.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/vnc-auth-sasl.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/envlist.c
/openbmc/qemu/util/qemu-config.c
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-progress.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/qemu-thread-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c
f8df5f9214-Dec-2016 Marc-André Lureau <marcandre.lureau@redhat.com>

container: don't leak container reference

object_property_add_child() references the child, unref it after to
avoid ref leaks.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewe

container: don't leak container reference

object_property_add_child() references the child, unref it after to
avoid ref leaks.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char-mux.h
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec-common.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/ppc-softmmu.mak
/openbmc/qemu/default-configs/ppc64-softmmu.mak
/openbmc/qemu/default-configs/ppcemb-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/disas/cris.c
/openbmc/qemu/disas/microblaze.c
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-xattr.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/Makefile.objs
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/9pfs/xen-9pfs.h
/openbmc/qemu/hw/acpi/tco.c
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/digic.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/xen_blkif.h
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/core/null-machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/cirrus_vga_rop2.h
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/framebuffer.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/qxl.h
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/sm501_template.h
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/Makefile.objs
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_pnv.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/misc/exynos4210_pmu.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/ccw-device.h
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-bus.h
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/exynos4210_rtc.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/xen/Makefile.objs
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/devices.h
/openbmc/qemu/include/hw/i386/apic_internal.h
/openbmc/qemu/include/hw/i386/ich9.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/net/cadence_gem.h
/openbmc/qemu/include/hw/net/ftgmac100.h
/openbmc/qemu/include/hw/net/mii.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/virtio/virtio-input.h
/openbmc/qemu/include/hw/virtio/virtio-rng.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/hw/xen/io/ring.h
/openbmc/qemu/include/hw/xen/xen.h
/openbmc/qemu/include/hw/xen/xen_backend.h
/openbmc/qemu/include/hw/xen/xen_common.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/net/eth.h
/openbmc/qemu/include/qemu/bitmap.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/qemu/thread-win32.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/char.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32.c
/openbmc/qemu/qga/vss-win32.h
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qga/vss-win32/install.h
/openbmc/qemu/qga/vss-win32/provider.cpp
/openbmc/qemu/qga/vss-win32/requester.cpp
/openbmc/qemu/qga/vss-win32/vss-common.h
/openbmc/qemu/qga/vss-win32/vss-handles.h
/openbmc/qemu/qmp.c
container.c
/openbmc/qemu/replay/replay-internal.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/qemugdb/mtree.py
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/slirp/Makefile.objs
/openbmc/qemu/slirp/ip6_icmp.c
/openbmc/qemu/slirp/ip_icmp.c
/openbmc/qemu/slirp/ncsi-pkt.h
/openbmc/qemu/slirp/ncsi.c
/openbmc/qemu/slirp/sbuf.h
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/slirp.h
/openbmc/qemu/slirp/socket.h
/openbmc/qemu/slirp/tcp_var.h
/openbmc/qemu/slirp/tftp.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/xen-common.c
/openbmc/qemu/stubs/xen-hvm.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/i386/arch_dump.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/ppc/arch_dump.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/pc-cpu-test.c
/openbmc/qemu/tests/qemu-iotests/017
/openbmc/qemu/tests/qemu-iotests/020
/openbmc/qemu/tests/qemu-iotests/028
/openbmc/qemu/tests/qemu-iotests/029
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/041.out
/openbmc/qemu/tests/qemu-iotests/073
/openbmc/qemu/tests/qemu-iotests/094
/openbmc/qemu/tests/qemu-iotests/097
/openbmc/qemu/tests/qemu-iotests/097.out
/openbmc/qemu/tests/qemu-iotests/102
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/114
/openbmc/qemu/tests/qemu-iotests/117
/openbmc/qemu/tests/qemu-iotests/130
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/176
/openbmc/qemu/tests/qemu-iotests/176.out
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qom-test.c
/openbmc/qemu/tests/test-blockjob-txn.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-replication.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/tests/virtio-9p-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/user-exec.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/bitmap.c
/openbmc/qemu/util/error.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/event_notifier-win32.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/qemu-thread-win32.c
/openbmc/qemu/util/throttle.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c
0832970123-Mar-2017 Eric Blake <eblake@redhat.com>

qom: Fix regression with 'qom-type'

Commit 9a6d1ac assumed that 'qom-type' could be removed from QemuOpts
with no ill effects. However, this command line proves otherwise:

$ ./x86_64-softmmu/qemu-

qom: Fix regression with 'qom-type'

Commit 9a6d1ac assumed that 'qom-type' could be removed from QemuOpts
with no ill effects. However, this command line proves otherwise:

$ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -nographic -qmp stdio \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0
qemu-system-x86_64: -object rng-random,filename=/dev/urandom,id=rng0: Parameter 'qom-type' is missing

Fix the regression by restoring qom-type in opts after its temporary
removal that was needed for the duration of user_creatable_add_opts().

Reported-by: Richard W. M. Jones <rjones@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Message-id: 20170323160315.19696-1-eblake@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

9a6d1acb22-Mar-2017 Eric Blake <eblake@redhat.com>

qom: Avoid unvisited 'id'/'qom-type' in user_creatable_add_opts

A regression in commit 15c2f669e caused us to silently ignore
excess input to the QemuOpts visitor. Later, commit ea4641
accidentally

qom: Avoid unvisited 'id'/'qom-type' in user_creatable_add_opts

A regression in commit 15c2f669e caused us to silently ignore
excess input to the QemuOpts visitor. Later, commit ea4641
accidentally abused that situation, by removing "qom-type" and
"id" from the corresponding QDict but leaving them defined in
the QemuOpts, when using the pair of containers to create a
user-defined object. Note that since we are already traversing
two separate items (a QDict and a QemuOpts), we are already
able to flag bogus arguments, as in:

$ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -nographic -qmp stdio -object memory-backend-ram,id=mem1,size=4k,bogus=huh
qemu-system-x86_64: -object memory-backend-ram,id=mem1,size=4k,bogus=huh: Property '.bogus' not found

So the only real concern is that when we re-enable strict checking
in the QemuOpts visitor, we do not want to start flagging the two
leftover keys as unvisited. Rearrange the code to clean out the
QemuOpts listing in advance, rather than removing items from the
QDict. Since "qom-type" is usually an automatic implicit default,
we don't have to restore it (this does mean that once instantiated,
QemuOpts is not necessarily an accurate representation of the
original command line - but this is not the first place to do that);
however "id" has to be put back (requiring us to cast away a const).

[As a side note, hmp_object_add() turns a QDict into a QemuOpts,
then calls user_creatable_add_opts() which converts QemuOpts into
a new QDict. There are probably a lot of wasteful conversions like
this, but cleaning them up is a much bigger task than the immediate
regression fix.]

CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170322144525.18964-3-eblake@redhat.com>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-io.h
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/arm.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/disas/i386.c
/openbmc/qemu/disas/m68k.c
/openbmc/qemu/disas/microblaze.c
/openbmc/qemu/docs/bootindex.txt
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/docs/qemu-qmp-ref.texi
/openbmc/qemu/docs/writing-qmp-commands.txt
/openbmc/qemu/dtc
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/cirrus_vga_rop.h
/openbmc/qemu/hw/display/cirrus_vga_rop2.h
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/nios2_iic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/net/net_rx_pkt.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sparc64.c
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/Makefile.objs
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/net/eth.h
/openbmc/qemu/include/qapi/qmp/qjson.h
/openbmc/qemu/include/qapi/qobject-input-visitor.h
/openbmc/qemu/include/qapi/qobject-output-visitor.h
/openbmc/qemu/include/qapi/util.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/systemd.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/colo.c
/openbmc/qemu/net/eth.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/qapi-util.c
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/rocker.json
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qapi/trace-events
/openbmc/qemu/qapi/trace.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/channel-posix.c
/openbmc/qemu/qga/channel-win32.c
/openbmc/qemu/qga/channel.h
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qobject/qjson.c
object_interfaces.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/coverity-model.c
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi-introspect.py
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/stubs/cpu-get-icount.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/trace-events
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/nios2/op_helper.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/sparc/int64_helper.c
/openbmc/qemu/target/sparc/win_helper.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-any.json
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-array.json
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-base.json
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.json
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.json
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.json
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.json
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-alternate.json
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-any.json
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.json
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.json
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.json
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.json
/openbmc/qemu/tests/qapi-schema/args-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/args-boxed-empty.json
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.json
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-int.json
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-invalid.json
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.json
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-case.json
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-member-unknown.json
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.json
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-union.json
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/args-unknown.json
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-base.json
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-data.json
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-ident.json
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.json
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.json
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.json
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.json
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/command-int.json
/openbmc/qemu/tests/qapi-schema/comments.json
/openbmc/qemu/tests/qapi-schema/comments.out
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.out
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.out
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.exit
/openbmc/qemu/tests/qapi-schema/doc-before-include.json
/openbmc/qemu/tests/qapi-schema/doc-before-include.out
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.exit
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.json
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.out
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-good.err
/openbmc/qemu/tests/qapi-schema/doc-good.exit
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/doc-invalid-section.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-missing.exit
/openbmc/qemu/tests/qapi-schema/doc-missing.json
/openbmc/qemu/tests/qapi-schema/doc-missing.out
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.exit
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.json
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.out
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/double-type.json
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.json
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.json
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.json
/openbmc/qemu/tests/qapi-schema/enum-dict-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member.json
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.json
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.json
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.json
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.json
/openbmc/qemu/tests/qapi-schema/event-case.json
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.json
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.json
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.json
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.json
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.json
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.json
/openbmc/qemu/tests/qapi-schema/flat-union-incomplete-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-incomplete-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.json
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.json
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.json
/openbmc/qemu/tests/qapi-schema/ident-with-escape.json
/openbmc/qemu/tests/qapi-schema/ident-with-escape.out
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.exit
/openbmc/qemu/tests/qapi-schema/include-extra-junk.json
/openbmc/qemu/tests/qapi-schema/include-extra-junk.out
/openbmc/qemu/tests/qapi-schema/include-relpath-sub.json
/openbmc/qemu/tests/qapi-schema/include-relpath.out
/openbmc/qemu/tests/qapi-schema/include-repetition.out
/openbmc/qemu/tests/qapi-schema/include-simple-sub.json
/openbmc/qemu/tests/qapi-schema/include-simple.out
/openbmc/qemu/tests/qapi-schema/indented-expr.json
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/missing-type.json
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.json
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.out
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.exit
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.json
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.out
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.out
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.exit
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.json
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.out
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.json
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-command.json
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-event.json
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/redefined-type.json
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.json
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.json
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.json
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.json
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.json
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.json
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.json
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.json
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.json
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.json
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-dict.json
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.json
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.json
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.json
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.json
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.json
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.json
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.json
/openbmc/qemu/tests/qapi-schema/unicode-str.err
/openbmc/qemu/tests/qapi-schema/unicode-str.json
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.exit
/openbmc/qemu/tests/qapi-schema/union-base-empty.json
/openbmc/qemu/tests/qapi-schema/union-base-empty.out
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.json
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.json
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-empty.json
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.json
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.json
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/union-unknown.json
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-escape.json
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.json
/openbmc/qemu/tests/qemu-iotests/025
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-aio.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-opts-visitor.c
/openbmc/qemu/tests/test-qapi-util.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-string-input-visitor.c
/openbmc/qemu/tests/test-visitor-serialization.c
/openbmc/qemu/trace/Makefile.objs
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/async.c
/openbmc/qemu/util/keyval.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/path.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/vl.c
048abb7b03-Mar-2017 Markus Armbruster <armbru@redhat.com>

qapi: Drop unused non-strict qobject input visitor

The split between tests/test-qobject-input-visitor.c and
tests/test-qobject-input-strict.c now makes less sense than ever. The
next commit will ta

qapi: Drop unused non-strict qobject input visitor

The split between tests/test-qobject-input-visitor.c and
tests/test-qobject-input-strict.c now makes less sense than ever. The
next commit will take care of that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1488544368-30622-20-git-send-email-armbru@redhat.com>

show more ...

05601ed203-Mar-2017 Markus Armbruster <armbru@redhat.com>

qom: Make object_property_set_qobject()'s input visitor strict

Commit 240f64b made all qobject input visitors created outside tests
strict, except for the one in object_property_set_qobject(). That

qom: Make object_property_set_qobject()'s input visitor strict

Commit 240f64b made all qobject input visitors created outside tests
strict, except for the one in object_property_set_qobject(). That one
was left behind only because Eric couldn't spare the time to figure
out whether making it strict would break anything, with a TODO
comment. Time to resolve it.

Strict makes a difference only for otherwise successful visits of QAPI
structs or unions. Let's examine what the callers of
object_property_set_qobject() visit:

* object_property_set_str(), object_property_set_bool(),
object_property_set_int() visit a QString, QBool, QInt,
respectively. Strictness can't matter.

* qmp_qom_set visits its @value argument. Comes straight from QMP and
can be anything ('any' in the QAPI schema). Strictness matters when
the property's set() method visits a struct or union QAPI type.

No such methods exist, thus switching to strict can't break
anything.

If we acquire such methods in the future, we'll *want* the visitor
to be strict, so that unexpected members get rejected as they should
be.

Switch to strict.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1488544368-30622-18-git-send-email-armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/cpus.c
/openbmc/qemu/dtc
/openbmc/qemu/exec.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qapi/qmp/dispatch.h
/openbmc/qemu/include/qapi/qmp/qerror.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/mmap-alloc.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/kvm-all.c
/openbmc/qemu/kvm-stub.c
/openbmc/qemu/memory.c
/openbmc/qemu/monitor.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-registry.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/guest-agent-core.h
/openbmc/qemu/qga/main.c
qom-qobject.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-introspect.py
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/ppc/Makefile.objs
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/pnv-xscom-test.c
/openbmc/qemu/tests/qmp-test.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qmp-commands.c
/openbmc/qemu/trace-events
/openbmc/qemu/util/compatfd.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/mmap-alloc.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/vl.c
30f3dda203-Mar-2017 Paolo Bonzini <pbonzini@redhat.com>

Merge branch 'icount-update' into HEAD

Merge the original development branch due to breakage caused by the
MTTCG merge.

Conflicts:
cpu-exec.c
translate-common.c

Signed-off-by: Paolo Bonzini <pbo

Merge branch 'icount-update' into HEAD

Merge the original development branch due to breakage caused by the
MTTCG merge.

Conflicts:
cpu-exec.c
translate-common.c

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.shippable.yml
/openbmc/qemu/CODING_STYLE
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/mixeng.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec-common.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/crypto/cipher.c
/openbmc/qemu/crypto/ivgen-essiv.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/docs/mach-virt-graphical.cfg
/openbmc/qemu/docs/mach-virt-serial.cfg
/openbmc/qemu/docs/migration.txt
/openbmc/qemu/docs/q35-emulated.cfg
/openbmc/qemu/docs/q35-virtio-graphical.cfg
/openbmc/qemu/docs/q35-virtio-serial.cfg
/openbmc/qemu/docs/replay.txt
/openbmc/qemu/docs/specs/vmgenid.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fsdev/Makefile.objs
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.h
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-local.h
/openbmc/qemu/hw/9pfs/9p-posix-acl.c
/openbmc/qemu/hw/9pfs/9p-util.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/9p-xattr-user.c
/openbmc/qemu/hw/9pfs/9p-xattr.c
/openbmc/qemu/hw/9pfs/9p-xattr.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/Makefile.objs
/openbmc/qemu/hw/9pfs/cofile.c
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/bios-linker-loader.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/acpi/tco.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/nand.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/bus.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/or-irq.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/milkymist-tmu2.c
/openbmc/qemu/hw/display/virtio-gpu-3d.c
/openbmc/qemu/hw/gpio/Makefile.objs
/openbmc/qemu/hw/gpio/bcm2835_gpio.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/gic_internal.h
/openbmc/qemu/hw/intc/gicv3_internal.h
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/mips/Makefile.objs
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_rng.c
/openbmc/qemu/hw/misc/exynos4210_clk.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/s390-virtio.c
/openbmc/qemu/hw/s390x/s390-virtio.h
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.h
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/armv7m_systick.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/usb/dev-bluetooth.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/dev-wacom.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/block/blockjob_int.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/cputlb.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/bios-linker-loader.h
/openbmc/qemu/include/hw/acpi/vmgenid.h
/openbmc/qemu/include/hw/arm/arm.h
/openbmc/qemu/include/hw/arm/armv7m.h
/openbmc/qemu/include/hw/arm/armv7m_nvic.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/stm32f205_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/gpio/bcm2835_gpio.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/bcm2835_rng.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/s390x/s390_flic.h
/openbmc/qemu/include/hw/sd/bcm2835_sdhost.h
/openbmc/qemu/include/hw/sd/sd.h
/openbmc/qemu/include/hw/timer/armv7m_systick.h
/openbmc/qemu/include/hw/usb.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/postcopy-ram.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu-io.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/throttle-options.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/standard-headers/asm-x86/hyperv.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm/unistd-eabi.h
/openbmc/qemu/linux-headers/asm-arm/unistd-oabi.h
/openbmc/qemu/linux-headers/asm-arm/unistd.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd.h
/openbmc/qemu/linux-headers/asm-x86/kvm_para.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/kvm_para.h
/openbmc/qemu/linux-headers/linux/userfaultfd.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/iplb.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.c
/openbmc/qemu/pc-bios/s390-ccw/virtio.h
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qobject/qdict.c
cpu.c
/openbmc/qemu/qtest.c
/openbmc/qemu/replay/Makefile.objs
/openbmc/qemu/replay/replay-audio.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/roms/openbios
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/slirp/mbuf.c
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/slirp/udp.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/vmgenid.c
/openbmc/qemu/stubs/vmstate.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/arm-powerctl.c
/openbmc/qemu/target/arm/arm-powerctl.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/psci.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/ppc/Makefile.objs
/openbmc/qemu/target/ppc/arch_dump.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-hash32.c
/openbmc/qemu/target/ppc/mmu-hash32.h
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate/vsx-ops.inc.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/arch_dump.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.bridge
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.ipmibt
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.memhp
/openbmc/qemu/tests/acpi-utils.c
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/common.rc
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/e1000-test.c
/openbmc/qemu/tests/e1000e-test.c
/openbmc/qemu/tests/eepro100-test.c
/openbmc/qemu/tests/endianness-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/i440fx-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/ipmi-bt-test.c
/openbmc/qemu/tests/ipmi-kcs-test.c
/openbmc/qemu/tests/libqos/usb.c
/openbmc/qemu/tests/libqos/usb.h
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio-pci.h
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/postcopy-test.c
/openbmc/qemu/tests/prom-env-test.c
/openbmc/qemu/tests/ptimer-test-stubs.c
/openbmc/qemu/tests/ptimer-test.c
/openbmc/qemu/tests/pvpanic-test.c
/openbmc/qemu/tests/q35-test.c
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/137
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/172.out
/openbmc/qemu/tests/qemu-iotests/175
/openbmc/qemu/tests/qemu-iotests/175.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tco-test.c
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-blockjob-txn.c
/openbmc/qemu/tests/test-blockjob.c
/openbmc/qemu/tests/test-cutils.c
/openbmc/qemu/tests/test-filter-mirror.c
/openbmc/qemu/tests/test-filter-redirector.c
/openbmc/qemu/tests/test-io-channel-command.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/usb-hcd-ehci-test.c
/openbmc/qemu/tests/usb-hcd-uhci-test.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-9p-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/translate-all.c
/openbmc/qemu/translate-common.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2-gl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/log.c
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/vl.c
8d04fb5523-Feb-2017 Jan Kiszka <jan.kiszka@siemens.com>

tcg: drop global lock during TCG code execution

This finally allows TCG to benefit from the iothread introduction: Drop
the global mutex while running pure TCG CPU code. Reacquire the lock
when ente

tcg: drop global lock during TCG code execution

This finally allows TCG to benefit from the iothread introduction: Drop
the global mutex while running pure TCG CPU code. Reacquire the lock
when entering MMIO or PIO emulation, or when leaving the TCG loop.

We have to revert a few optimization for the current TCG threading
model, namely kicking the TCG thread in qemu_mutex_lock_iothread and not
kicking it in qemu_cpu_kick. We also need to disable RAM block
reordering until we have a more efficient locking mechanism at hand.

Still, a Linux x86 UP guest and my Musicpal ARM model boot fine here.
These numbers demonstrate where we gain something:

20338 jan 20 0 331m 75m 6904 R 99 0.9 0:50.95 qemu-system-arm
20337 jan 20 0 331m 75m 6904 S 20 0.9 0:26.50 qemu-system-arm

The guest CPU was fully loaded, but the iothread could still run mostly
independent on a second core. Without the patch we don't get beyond

32206 jan 20 0 330m 73m 7036 R 82 0.9 1:06.00 qemu-system-arm
32204 jan 20 0 330m 73m 7036 S 21 0.9 0:17.03 qemu-system-arm

We don't benefit significantly, though, when the guest is not fully
loading a host CPU.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Message-Id: <1439220437-23957-10-git-send-email-fred.konrad@greensocs.com>
[FK: Rebase, fix qemu_devices_reset deadlock, rm address_space_* mutex]
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
[EGC: fixed iothread lock for cpu-exec IRQ handling]
Signed-off-by: Emilio G. Cota <cota@braap.org>
[AJB: -smp single-threaded fix, clean commit msg, BQL fixes]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
[PM: target-arm changes]
Acked-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/backends/Makefile.objs
/openbmc/qemu/backends/trace-events
/openbmc/qemu/backends/wctablet.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qed-cluster.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/win32-aio.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec-common.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/dma-helpers.c
/openbmc/qemu/docs/multi-thread-tcg.txt
/openbmc/qemu/docs/nvdimm.txt
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/docs/qemu-ga-ref.texi
/openbmc/qemu/docs/qemu-qmp-ref.texi
/openbmc/qemu/docs/specs/pci-ids.txt
/openbmc/qemu/dtc
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-ep108.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/irq.c
/openbmc/qemu/hw/core/loader-fit.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/kvmvapic.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/mips_gic.c
/openbmc/qemu/hw/m68k/Makefile.objs
/openbmc/qemu/hw/m68k/mcf_intc.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/mips_cmgcr.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/mips_gictimer.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/input/ps2.h
/openbmc/qemu/include/hw/loader-fit.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/mips_cmgcr.h
/openbmc/qemu/include/hw/pci-host/xilinx-pcie.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/timer/mips_gictimer.h
/openbmc/qemu/include/hw/virtio/virtio-access.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/coroutine_int.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/io/channel-command.c
/openbmc/qemu/io/channel-file.c
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel-watch.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/iothread.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/host/s390x/safe-syscall.inc.S
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/m68k/syscall_nr.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/sh4/syscall_nr.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/linux-user/syscall_types.h
/openbmc/qemu/memory.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/net.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-options.hx
cpu.c
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/linux-aio.c
/openbmc/qemu/stubs/set-fd-handler.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/helper.h
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/smm_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/monitor.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/sh4/monitor.c
/openbmc/qemu/target/sparc/monitor.c
/openbmc/qemu/target/xtensa/monitor.c
/openbmc/qemu/tcg/tcg-mo.h
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/iothread.c
/openbmc/qemu/tests/iothread.h
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-thread-pool.c
/openbmc/qemu/trace-events
/openbmc/qemu/translate-all.c
/openbmc/qemu/translate-common.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/aiocb.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/iohandler.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qemu-coroutine-lock.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c
1aab16c227-Jan-2017 Paolo Bonzini <pbonzini@redhat.com>

cpu-exec: unify icount_decr and tcg_exit_req

The icount interrupt flag and tcg_exit_req serve almost the same
purpose, let's make them completely the same.

The former TB_EXIT_REQUESTED and TB_EXIT_

cpu-exec: unify icount_decr and tcg_exit_req

The icount interrupt flag and tcg_exit_req serve almost the same
purpose, let's make them completely the same.

The former TB_EXIT_REQUESTED and TB_EXIT_ICOUNT_EXPIRED cases are
unified, since we can distinguish them from the value of the
interrupt flag.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/backends/Makefile.objs
/openbmc/qemu/backends/trace-events
/openbmc/qemu/backends/wctablet.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qed-cluster.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/win32-aio.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/dma-helpers.c
/openbmc/qemu/docs/nvdimm.txt
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/docs/qemu-ga-ref.texi
/openbmc/qemu/docs/qemu-qmp-ref.texi
/openbmc/qemu/docs/specs/pci-ids.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-ep108.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/m68k/Makefile.objs
/openbmc/qemu/hw/m68k/mcf_intc.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/input/ps2.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/virtio/virtio-access.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/coroutine_int.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/io/channel-command.c
/openbmc/qemu/io/channel-file.c
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel-watch.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/host/s390x/safe-syscall.inc.S
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/m68k/syscall_nr.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/sh4/syscall_nr.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/linux-user/syscall_types.h
/openbmc/qemu/memory.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/net.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qemu-options.hx
cpu.c
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/linux-aio.c
/openbmc/qemu/stubs/set-fd-handler.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/helper.h
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/iothread.c
/openbmc/qemu/tests/iothread.h
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-thread-pool.c
/openbmc/qemu/trace-events
/openbmc/qemu/translate-all.c
/openbmc/qemu/translate-common.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/aiocb.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/iohandler.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qemu-coroutine-lock.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c

12345678910>>...21