History log of /openbmc/qemu/util/ (Results 1701 – 1725 of 1947)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c28d486925-Feb-2015 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2015-02-16-v2-tag' into staging

tag for qga-pull-2015-02-16-v2

v2:

* generalized QAPI function definition for guest-memory-block-size
t

Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2015-02-16-v2-tag' into staging

tag for qga-pull-2015-02-16-v2

v2:

* generalized QAPI function definition for guest-memory-block-size
to guest-memory-block-info for future extensibility (Eric)

# gpg: Signature made Tue Feb 17 22:36:08 2015 GMT using RSA key ID F108B584
# gpg: Good signature from "Michael Roth <flukshun@gmail.com>"
# gpg: aka "Michael Roth <mdroth@utexas.edu>"
# gpg: aka "Michael Roth <mdroth@linux.vnet.ibm.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: CEAC C9E1 5534 EBAB B82D 3FA0 3353 C9CE F108 B584

* remotes/mdroth/tags/qga-pull-2015-02-16-v2-tag:
qemu-ga-win: Fail loudly on bare 'set-time'
qga: add memory block command that unsupported
qga: implement qmp_guest_get_memory_block_info() for Linux with sysfs
qga: implement qmp_guest_set_memory_blocks() for Linux with sysfs
qga: implement qmp_guest_get_memory_blocks() for Linux with sysfs
qga: introduce three guest memory block commmands with stubs
qga: implement file commands for Windows guest
guest agent: guest-file-open: refactoring
utils: drop strtok_r from envlist_parse
qga: add guest-set-user-password command

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

show more ...

73104fd324-Feb-2015 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

- vhost-scsi: add bootindex property
- RCU: fix MemoryRegion lifetime issues in PCI; document the rules;
convert of Addr

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

- vhost-scsi: add bootindex property
- RCU: fix MemoryRegion lifetime issues in PCI; document the rules;
convert of AddressSpaceDispatch and RAMList
- KVM: add kvm_exit reasons for aarch64

# gpg: Signature made Mon Feb 16 16:32:32 2015 GMT using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (21 commits)
Convert ram_list to RCU
exec: convert ram_list to QLIST
cosmetic changes preparing for the following patches
exec: protect mru_block with RCU
rcu: add g_free_rcu
rcu: introduce RCU-enabled QLIST
exec: RCUify AddressSpaceDispatch
exec: make iotlb RCU-friendly
exec: introduce cpu_reload_memory_map
docs: clarify memory region lifecycle
pci: split shpc_cleanup and shpc_free
pcie: remove mmconfig memory leak and wrap mmconfig update with transaction
memory: keep the owner of the AddressSpace alive until do_address_space_destroy
rcu: run RCU callbacks under the BQL
rcu: do not let RCU callbacks pile up indefinitely
vhost-scsi: set the bootable value of channel/target/lun
vhost-scsi: add a property for booting
vhost-scsi: expose the TYPE_FW_PATH_PROVIDER interface
vhost-scsi: add bootindex property
qdev: support to get a device firmware path directly
...

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

show more ...


/openbmc/qemu/Makefile.target
/openbmc/qemu/arch_init.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/raw-posix.c
/openbmc/qemu/block/raw-win32.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/default-configs/alpha-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu.mak
/openbmc/qemu/default-configs/mips64-softmmu.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/mipsel-softmmu.mak
/openbmc/qemu/default-configs/pci.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/sparc64-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/disas/sh4.c
/openbmc/qemu/docs/memory.txt
/openbmc/qemu/docs/rcu.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/virtio-9p-synth.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/vga-isa.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/isa/isa-bus.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/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci/pcie_host.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/dataplane/Makefile.objs
/openbmc/qemu/hw/virtio/dataplane/vring.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cputlb.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/pci-host/gpex.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/shpc.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/dataplane/vring-accessors.h
/openbmc/qemu/include/hw/virtio/dataplane/vring.h
/openbmc/qemu/include/hw/virtio/vhost-scsi.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu-io.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/rcu_queue.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/nbd.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qjson.c
/openbmc/qemu/qmp.c
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/kvm/kvm_stat
/openbmc/qemu/scripts/qtest.py
/openbmc/qemu/softmmu_template.h
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/stubs/qtest.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper-a64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/translate.c
/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/machine.c
/openbmc/qemu/target-mips/op_helper.c
/openbmc/qemu/target-mips/translate.c
/openbmc/qemu/target-mips/translate_init.c
/openbmc/qemu/target-moxie/machine.c
/openbmc/qemu/target-moxie/translate.c
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tci.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/libqos/ahci.c
/openbmc/qemu/tests/libqos/ahci.h
/openbmc/qemu/tests/libqos/libqos-pc.c
/openbmc/qemu/tests/libqos/libqos-pc.h
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/libqos/libqos.h
/openbmc/qemu/tests/libqos/malloc-pc.c
/openbmc/qemu/tests/libqos/malloc.c
/openbmc/qemu/tests/libqos/malloc.h
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/093.out
/openbmc/qemu/tests/qemu-iotests/094
/openbmc/qemu/tests/qemu-iotests/094.out
/openbmc/qemu/tests/qemu-iotests/123
/openbmc/qemu/tests/qemu-iotests/123.out
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/test-rcu-list.c
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/vnc.c
rcu.c
565f65d212-Feb-2015 Markus Armbruster <armbru@redhat.com>

error: Use error_report_err() where appropriate

Coccinelle semantic patch:

@@
expression E;
@@
- error_report("%s", error_get_pretty(E));
- error_free(E);
+ error_r

error: Use error_report_err() where appropriate

Coccinelle semantic patch:

@@
expression E;
@@
- error_report("%s", error_get_pretty(E));
- error_free(E);
+ error_report_err(E);
@@
expression E, S;
@@
- error_report("%s", error_get_pretty(E));
+ error_report_err(E);
(
exit(S);
|
abort();
)

Trivial manual touch-ups in block/sheepdog.c.

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

show more ...

2ee2f1e406-Feb-2015 Markus Armbruster <armbru@redhat.com>

error: New convenience function error_report_err()

I've typed error_report("%s", error_get_pretty(ERR)) too many times
already, and I've fixed too many instances of qerror_report_err(ERR)
to error_r

error: New convenience function error_report_err()

I've typed error_report("%s", error_get_pretty(ERR)) too many times
already, and I've fixed too many instances of qerror_report_err(ERR)
to error_report("%s", error_get_pretty(ERR)) as well. Capture the
pattern in a convenience function.

Since it's almost invariably followed by error_free(), stuff that into
the convenience function as well.

The next patch will put it to use.

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

show more ...


/openbmc/qemu/Makefile.target
/openbmc/qemu/default-configs/alpha-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu.mak
/openbmc/qemu/default-configs/mips64-softmmu.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/mipsel-softmmu.mak
/openbmc/qemu/default-configs/pci.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/sparc64-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/disas/sh4.c
/openbmc/qemu/exec.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/hw/pci-host/gpex.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/qjson.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/stubs/qtest.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper-a64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/translate.c
/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/translate.c
/openbmc/qemu/target-moxie/machine.c
/openbmc/qemu/target-moxie/translate.c
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tci.c
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/vnc.c
error.c
459db78006-Feb-2015 Olga Krishtal <okrishtal@parallels.com>

utils: drop strtok_r from envlist_parse

The problem is that mingw 4.9.1 fails to compile the code with the
following warning:

/mingw/include/string.h:88:9: note: previous declaration of 'strtok_r'

utils: drop strtok_r from envlist_parse

The problem is that mingw 4.9.1 fails to compile the code with the
following warning:

/mingw/include/string.h:88:9: note: previous declaration of 'strtok_r'
was here
char *strtok_r(char * __restrict__ _Str,
const char * __restrict__ _Delim,
char ** __restrict__ __last);
/include/sysemu/os-win32.h:83:7: warning: redundant redeclaration of
'strtok_r' [-Wredundant-decls]
char *strtok_r(char *str, const char *delim, char **saveptr);

The problem is that compiles just fine on previous versions of mingw.
Compiler version check here is not a good idea. Though fortunately
strtok_r is used only once in the code and we could simply rewrite
the code without it.

Signed-off-by: Olga Krishtal <okrishtal@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Eric Blake <eblake@redhat.com>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>

show more ...


/openbmc/qemu/Makefile.target
/openbmc/qemu/default-configs/alpha-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu.mak
/openbmc/qemu/default-configs/mips64-softmmu.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/mipsel-softmmu.mak
/openbmc/qemu/default-configs/pci.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/sparc64-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/disas/sh4.c
/openbmc/qemu/exec.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/hw/pci-host/gpex.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qjson.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/stubs/qtest.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper-a64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/translate.c
/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/translate.c
/openbmc/qemu/target-moxie/machine.c
/openbmc/qemu/target-moxie/translate.c
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tci.c
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/vnc.c
envlist.c
a464982411-Feb-2015 Paolo Bonzini <pbonzini@redhat.com>

rcu: run RCU callbacks under the BQL

This needs to go away sooner or later, but one complication is the
complex VFIO data structures that are modified in instance_finalize.
Take a shortcut for now.

rcu: run RCU callbacks under the BQL

This needs to go away sooner or later, but one complication is the
complex VFIO data structures that are modified in instance_finalize.
Take a shortcut for now.

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

a7d1d63611-Feb-2015 Paolo Bonzini <pbonzini@redhat.com>

rcu: do not let RCU callbacks pile up indefinitely

Always process them within a short time. Even though waiting a little
is useful, it is not okay to delay e.g. qemu_opts_del forever.

Reviewed-by:

rcu: do not let RCU callbacks pile up indefinitely

Always process them within a short time. Even though waiting a little
is useful, it is not okay to delay e.g. qemu_opts_del forever.

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/balloon.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/arm-a64.cc
/openbmc/qemu/disas/libvixl/README
/openbmc/qemu/disas/libvixl/a64/assembler-a64.h
/openbmc/qemu/disas/libvixl/a64/constants-a64.h
/openbmc/qemu/disas/libvixl/a64/decoder-a64.h
/openbmc/qemu/disas/libvixl/a64/disasm-a64.cc
/openbmc/qemu/disas/libvixl/a64/disasm-a64.h
/openbmc/qemu/disas/libvixl/a64/instructions-a64.cc
/openbmc/qemu/disas/libvixl/a64/instructions-a64.h
/openbmc/qemu/disas/libvixl/globals.h
/openbmc/qemu/disas/libvixl/utils.cc
/openbmc/qemu/disas/libvixl/utils.h
/openbmc/qemu/disas/s390.c
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-macros.h
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/arm/arm.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/vhost-scsi.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/qemu-file.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/qmp/qerror.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qjson.h
/openbmc/qemu/include/ui/qemu-spice.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/net.c
/openbmc/qemu/pc-bios/s390-ccw.img
/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/virtio.c
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qjson.c
/openbmc/qemu/qmp.c
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/coverity-model.c
/openbmc/qemu/scripts/kvm/kvm_stat
/openbmc/qemu/scripts/tracetool/backend/stderr.py
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/helper-a64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-arm/translate.h
/openbmc/qemu/target-mips/msa_helper.c
/openbmc/qemu/target-s390x/cc_helper.c
/openbmc/qemu/target-s390x/cpu.h
/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/translate.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/trace-events
rcu.c
afb30dde27-Jan-2015 Markus Armbruster <armbru@redhat.com>

util/uri: URI member path can be null, compare more carfully

uri_resolve_relative() calls strcmp(bas->path, ref->path). However,
either argument could be null! Evidence: the code checks for null
a

util/uri: URI member path can be null, compare more carfully

uri_resolve_relative() calls strcmp(bas->path, ref->path). However,
either argument could be null! Evidence: the code checks for null
after the comparison. Spotted by Coverity.

I suspect this was screwed up when we stole the code from libxml2.
There the conditional reads

xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)

with

int
xmlStrEqual(const xmlChar *str1, const xmlChar *str2) {
if (str1 == str2) return(1);
if (str1 == NULL) return(0);
if (str2 == NULL) return(0);
do {
if (*str1++ != *str2) return(0);
} while (*str2++);
return(1);
}

Fix by replicating libxml2's logic faithfully.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

afd5ea3627-Jan-2015 Markus Armbruster <armbru@redhat.com>

util/uri: realloc2n() can't fail, drop dead error handling

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

c89c6e8027-Jan-2015 Markus Armbruster <armbru@redhat.com>

util/uri: uri_new() can't fail, drop dead error handling

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

c0462f6d28-Jan-2015 Markus Armbruster <armbru@redhat.com>

qemu-option: Pair g_malloc() with g_free(), not free()

Spotted by Coverity with preview checker ALLOC_FREE_MISMATCH enabled
and my "coverity: Model g_free() isn't necessarily free()" model patch
app

qemu-option: Pair g_malloc() with g_free(), not free()

Spotted by Coverity with preview checker ALLOC_FREE_MISMATCH enabled
and my "coverity: Model g_free() isn't necessarily free()" model patch
applied.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

96c044af28-Jan-2015 Markus Armbruster <armbru@redhat.com>

qemu-option: Replace pointless use of g_malloc0() by g_malloc()

get_opt_value() takes a write-only buffer, so zeroing it is pointless.
We don't do it elsewhere, either.

Signed-off-by: Markus Armbru

qemu-option: Replace pointless use of g_malloc0() by g_malloc()

get_opt_value() takes a write-only buffer, so zeroing it is pointless.
We don't do it elsewhere, either.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

55a1099630-Jan-2015 Kevin Wolf <kwolf@redhat.com>

qemu-sockets: Fix buffer overflow in inet_parse()

The size of the stack allocated host[] array didn't account for the
terminating '\0' byte that sscanf() writes. Fix the array size.

Signed-off-by:

qemu-sockets: Fix buffer overflow in inet_parse()

The size of the stack allocated host[] array didn't account for the
terminating '\0' byte that sscanf() writes. Fix the array size.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

a50c7c8626-Jan-2015 Paolo Bonzini <pbonzini@redhat.com>

aes: remove a dead return statement

bits is checked to be 128, 192 or 256 at the beginning of the function.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tl

aes: remove a dead return statement

bits is checked to be 128, 192 or 256 at the beginning of the function.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

b658c53d26-Jan-2015 Paolo Bonzini <pbonzini@redhat.com>

qemu-sockets: improve error reporting in unix_listen_opts

Coverity complains about not checking the returned value of mkstemp. While
at it, also improve error checking for snprintf, and refine erro

qemu-sockets: improve error reporting in unix_listen_opts

Coverity complains about not checking the returned value of mkstemp. While
at it, also improve error checking for snprintf, and refine error messages
in general.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/balloon.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cache.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/raw-posix.c
/openbmc/qemu/block/write-threshold.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/arm-a64.cc
/openbmc/qemu/disas/libvixl/README
/openbmc/qemu/disas/libvixl/a64/assembler-a64.h
/openbmc/qemu/disas/libvixl/a64/constants-a64.h
/openbmc/qemu/disas/libvixl/a64/decoder-a64.h
/openbmc/qemu/disas/libvixl/a64/disasm-a64.cc
/openbmc/qemu/disas/libvixl/a64/disasm-a64.h
/openbmc/qemu/disas/libvixl/a64/instructions-a64.cc
/openbmc/qemu/disas/libvixl/a64/instructions-a64.h
/openbmc/qemu/disas/libvixl/globals.h
/openbmc/qemu/disas/libvixl/utils.cc
/openbmc/qemu/disas/libvixl/utils.h
/openbmc/qemu/disas/s390.c
/openbmc/qemu/fpu/softfloat-macros.h
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/fw-path-provider.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/ide/atapi.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/internal.h
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/net/pcnet-pci.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/write-threshold.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/arm/arm.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/qemu-file.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/qmp/qerror.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qjson.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/ui/qemu-spice.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/net.c
/openbmc/qemu/pc-bios/s390-ccw.img
/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/virtio.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-log.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qjson.c
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/coverity-model.c
/openbmc/qemu/scripts/tracetool/backend/stderr.py
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/helper-a64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-arm/translate.h
/openbmc/qemu/target-mips/msa_helper.c
/openbmc/qemu/target-mips/translate.c
/openbmc/qemu/target-s390x/cc_helper.c
/openbmc/qemu/target-s390x/cpu.h
/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/translate.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/qemu-iotests/067.out
/openbmc/qemu/tests/qemu-iotests/083
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/100
/openbmc/qemu/tests/qemu-iotests/104
/openbmc/qemu/tests/qemu-iotests/116
/openbmc/qemu/tests/qemu-iotests/116.out
/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/test-vmstate.c
/openbmc/qemu/tests/test-write-threshold.c
/openbmc/qemu/trace-events
qemu-sockets.c
/openbmc/qemu/vl.c
26387f8613-May-2013 Paolo Bonzini <pbonzini@redhat.com>

rcu: add call_rcu

Asynchronous callbacks provided by call_rcu are particularly important
for QEMU, because the BQL makes it hard to use synchronize_rcu.

In addition, the current RCU implementation

rcu: add call_rcu

Asynchronous callbacks provided by call_rcu are particularly important
for QEMU, because the BQL makes it hard to use synchronize_rcu.

In addition, the current RCU implementation is not particularly friendly
to multiple concurrent synchronize_rcu callers, making call_rcu even
more important.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

7911747b13-May-2013 Paolo Bonzini <pbonzini@redhat.com>

rcu: add rcu library

This includes a (mangled) copy of the liburcu code. The main changes
are: 1) removing dependencies on many other header files in liburcu; 2)
removing for simplicity the tentati

rcu: add rcu library

This includes a (mangled) copy of the liburcu code. The main changes
are: 1) removing dependencies on many other header files in liburcu; 2)
removing for simplicity the tentative busy waiting in synchronize_rcu,
which has limited performance effects; 3) replacing futexes in
synchronize_rcu with QemuEvents for Win32 portability. The API is
the same as liburcu, so it should be possible in the future to require
liburcu on POSIX systems for example and use our copy only on Windows.

Among the various versions available I chose urcu-mb, which is the
least invasive implementation even though it does not have the
fastest rcu_read_{lock,unlock} implementation. The urcu flavor can
be changed later, after benchmarking.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

158ef8cb02-Feb-2015 Paolo Bonzini <pbonzini@redhat.com>

qemu-thread: fix qemu_event without futexes

This had a possible deadlock that was visible with rcutorture.

qemu_event_set qemu_event_wait
--------------------------------

qemu-thread: fix qemu_event without futexes

This had a possible deadlock that was visible with rcutorture.

qemu_event_set qemu_event_wait
----------------------------------------------------------------
cmpxchg reads FREE, writes BUSY
futex_wait: pthread_mutex_lock
futex_wait: value == BUSY
xchg reads BUSY, writes SET
futex_wake: pthread_cond_broadcast
futex_wait: pthread_cond_wait
<deadlock>

The fix is simply to avoid condvar tricks and do the obvious locking
around pthread_cond_broadcast:

qemu_event_set qemu_event_wait
----------------------------------------------------------------
cmpxchg reads FREE, writes BUSY
futex_wait: pthread_mutex_lock
futex_wait: value == BUSY
xchg reads BUSY, writes SET
futex_wake: pthread_mutex_lock
(blocks)
futex_wait: pthread_cond_wait
(mutex unlocked)
futex_wake: pthread_cond_broadcast
futex_wake: pthread_mutex_unlock
futex_wait: pthread_mutex_unlock

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/arch_init.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/elfload.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/disas/sparc.c
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/specs/edu.txt
/openbmc/qemu/docs/xbzrle.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/9pfs/virtio-9p-coth.c
/openbmc/qemu/hw/9pfs/virtio-9p-coth.h
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/bios-linker-loader.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/blizzard.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/dma/pl330.c
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-dsdt-cpu-hotplug.dsl
/openbmc/qemu/hw/i386/acpi-dsdt.hex.generated
/openbmc/qemu/hw/i386/multiboot.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/q35-acpi-dsdt.hex.generated
/openbmc/qemu/hw/i386/smbios.c
/openbmc/qemu/hw/ide/atapi.c
/openbmc/qemu/hw/ide/internal.h
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie_host.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/timer/a9gtimer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/virtio/dataplane/vring.c
/openbmc/qemu/hw/watchdog/wdt_i6300esb.c
/openbmc/qemu/hw/watchdog/wdt_ib700.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/coroutine.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/cpu_ldst_template.h
/openbmc/qemu/include/exec/cpu_ldst_useronly_template.h
/openbmc/qemu/include/hw/acpi/bios-linker-loader.h
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/hotplug.h
/openbmc/qemu/include/hw/mem/pc-dimm.h
/openbmc/qemu/include/hw/pci/pcie_host.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/xen/xen_common.h
/openbmc/qemu/include/migration/page_cache.h
/openbmc/qemu/include/migration/qemu-file.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/bswap.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/qemu-pixman.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/linux-user/alpha/syscall_nr.h
/openbmc/qemu/linux-user/arm/nwfpe/fpopcode.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mips64/target_signal.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/vm86.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/qemu-file-buf.c
/openbmc/qemu/migration/qemu-file-unix.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/monitor.c
/openbmc/qemu/page_cache.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-coroutine.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/kvm/kvm_stat
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/target-alpha/cpu.h
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/crypto_helper.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/machine.c
/openbmc/qemu/target-cris/cpu.h
/openbmc/qemu/target-i386/cpu.c
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-i386/machine.c
/openbmc/qemu/target-i386/seg_helper.c
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/target-lm32/cpu.h
/openbmc/qemu/target-m68k/cpu.h
/openbmc/qemu/target-microblaze/cpu.h
/openbmc/qemu/target-mips/cpu.h
/openbmc/qemu/target-mips/op_helper.c
/openbmc/qemu/target-moxie/cpu.h
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/cpu.h
/openbmc/qemu/target-s390x/cpu.h
/openbmc/qemu/target-sh4/cpu.h
/openbmc/qemu/target-sparc/cpu.h
/openbmc/qemu/target-sparc/ldst_helper.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tricore/cpu.c
/openbmc/qemu/target-tricore/cpu.h
/openbmc/qemu/target-tricore/csfr.def
/openbmc/qemu/target-tricore/helper.h
/openbmc/qemu/target-tricore/op_helper.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-tricore/tricore-opcodes.h
/openbmc/qemu/target-xtensa/cpu.h
/openbmc/qemu/tests/acpi-test-data/pc/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/SSDT
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/multiboot/Makefile
/openbmc/qemu/tests/multiboot/libc.c
/openbmc/qemu/tests/multiboot/libc.h
/openbmc/qemu/tests/multiboot/mmap.out
/openbmc/qemu/tests/multiboot/module.txt
/openbmc/qemu/tests/multiboot/modules.c
/openbmc/qemu/tests/multiboot/modules.out
/openbmc/qemu/tests/multiboot/run_test.sh
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/064
/openbmc/qemu/tests/qemu-iotests/064.out
/openbmc/qemu/tests/test-coroutine.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/trace-events
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2-2d.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/ui/vnc.h
qemu-thread-posix.c
/openbmc/qemu/vl.c
/openbmc/qemu/xen-hvm.c
/openbmc/qemu/xen-mapcache.c
ef57137f02-Dec-2014 Paolo Bonzini <pbonzini@redhat.com>

qemu-thread: add per-thread atexit functions

Destructors are the main additional feature of pthread TLS compared
to __thread. If we were using C++ (hint, hint!) we could have used
thread-local obje

qemu-thread: add per-thread atexit functions

Destructors are the main additional feature of pthread TLS compared
to __thread. If we were using C++ (hint, hint!) we could have used
thread-local objects with a destructor. Since we are not, instead,
we add a simple Notifier-based API.

Note that the notifier must be per-thread as well. We can add a
global list as well later, perhaps.

The Win32 implementation has some complications because a) detached
threads used not to have a QemuThreadData; b) the main thread does
not go through win32_start_routine, so we have to use atexit too.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1417518350-6167-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/LICENSE
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/arch_init.c
/openbmc/qemu/async.c
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/raw-aio.h
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/configure
/openbmc/qemu/coroutine-ucontext.c
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/device_tree.c
/openbmc/qemu/disas/mips.c
/openbmc/qemu/docs/specs/pci-ids.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/qxl-render.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/vga_int.h
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/apic.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/i386/kvm/i8254.c
/openbmc/qemu/hw/i386/multiboot.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/input/milkymist-softusb.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/openpic_kvm.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/lm32/lm32_hwsetup.h
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/net/milkymist-minimac2.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000.c
/openbmc/qemu/hw/net/opencores_eth.c
/openbmc/qemu/hw/net/pcnet-pci.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/pcnet.h
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/stellaris_enet.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/net/xilinx_ethlite.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500.h
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/mpc8544ds.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/css.h
/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-pci-inst.h
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/sdhci.h
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/exec/cpu-all.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/ram_addr.h
/openbmc/qemu/include/hw/arm/arm.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/hw.h
/openbmc/qemu/include/hw/i386/apic_internal.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/nvram/fw_cfg.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/s390x/sclp.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/vfio/vfio.h
/openbmc/qemu/include/hw/virtio/virtio-serial.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/qemu-file-buf.c
/openbmc/qemu/migration/qemu-file-internal.h
/openbmc/qemu/migration/qemu-file-stdio.c
/openbmc/qemu/migration/qemu-file-unix.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/tcp.c
/openbmc/qemu/migration/unix.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/migration/xbzrle.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/l2tpv3.c
/openbmc/qemu/net/queue.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/efi-e1000.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/linuxboot.bin
/openbmc/qemu/pc-bios/optionrom/linuxboot.S
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-log.c
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/ipxe
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu-qom.h
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/kvm.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/helper.c
/openbmc/qemu/target-cris/translate.c
/openbmc/qemu/target-i386/arch_dump.c
/openbmc/qemu/target-i386/cpu.c
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-i386/fpu_helper.c
/openbmc/qemu/target-i386/helper.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-i386/machine.c
/openbmc/qemu/target-i386/ops_sse.h
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-m68k/translate.c
/openbmc/qemu/target-microblaze/helper.c
/openbmc/qemu/target-microblaze/translate.c
/openbmc/qemu/target-mips/cpu.h
/openbmc/qemu/target-mips/gdbstub.c
/openbmc/qemu/target-mips/helper.c
/openbmc/qemu/target-mips/helper.h
/openbmc/qemu/target-mips/kvm.c
/openbmc/qemu/target-mips/msa_helper.c
/openbmc/qemu/target-mips/op_helper.c
/openbmc/qemu/target-mips/translate.c
/openbmc/qemu/target-mips/translate_init.c
/openbmc/qemu/target-moxie/translate.c
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/cpu.h
/openbmc/qemu/target-ppc/fpu_helper.c
/openbmc/qemu/target-ppc/helper.h
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/target-ppc/mem_helper.c
/openbmc/qemu/target-ppc/mmu-hash32.c
/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/cpu.h
/openbmc/qemu/target-s390x/helper.c
/openbmc/qemu/target-s390x/ioinst.c
/openbmc/qemu/target-s390x/ioinst.h
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/mmu_helper.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tricore/helper.h
/openbmc/qemu/target-tricore/op_helper.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-tricore/tricore-opcodes.h
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/cpu.h
/openbmc/qemu/target-xtensa/helper.h
/openbmc/qemu/target-xtensa/op_helper.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/libqos/malloc-pc.c
/openbmc/qemu/tests/libqos/malloc-pc.h
/openbmc/qemu/tests/libqos/malloc.c
/openbmc/qemu/tests/libqos/malloc.h
/openbmc/qemu/tests/qemu-iotests-quick.sh
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/055.out
/openbmc/qemu/tests/qemu-iotests/058
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/071
/openbmc/qemu/tests/qemu-iotests/071.out
/openbmc/qemu/tests/qemu-iotests/081
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/099
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/110.out
/openbmc/qemu/tests/qemu-iotests/check
/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/tcg/xtensa/test_mmu.S
/openbmc/qemu/trace-events
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2-2d.c
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
qemu-thread-posix.c
qemu-thread-win32.c
/openbmc/qemu/vl.c
43c5d8f809-Dec-2014 Fam Zheng <famz@redhat.com>

block: Don't add trailing space in "Formating..." message

Change the message printing code to output a separator for each option
string before it instead of after, then we don't one more extra ' ' i

block: Don't add trailing space in "Formating..." message

Change the message printing code to output a separator for each option
string before it instead of after, then we don't one more extra ' ' in
the end.

To update qemu-iotests output files, most of the times one would just
copy the *.out.bad to *.out. With this change we will not have the
space disliked by checkpatch.pl.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1418110684-19528-3-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/aio-posix.c
/openbmc/qemu/aio-win32.c
/openbmc/qemu/async.c
/openbmc/qemu/block-migration.c
/openbmc/qemu/block.c
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/block-backend.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/raw-posix.c
/openbmc/qemu/block/raw-win32.c
/openbmc/qemu/block/raw_bsd.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vhdx.h
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/ahci.h
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/linux-user/aarch64/target_cpu.h
/openbmc/qemu/linux-user/arm/target_cpu.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qobject/qjson.c
/openbmc/qemu/scripts/get_maintainer.pl
/openbmc/qemu/target-arm/arm-semi.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/kvm.c
/openbmc/qemu/target-arm/kvm32.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/kvm_arm.h
/openbmc/qemu/target-arm/machine.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-arm/translate.h
/openbmc/qemu/target-tricore/cpu.c
/openbmc/qemu/target-tricore/csfr.def
/openbmc/qemu/target-tricore/helper.h
/openbmc/qemu/target-tricore/op_helper.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-tricore/tricore-opcodes.h
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/fdc-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/i440fx-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/nvme-test.c
/openbmc/qemu/tests/qemu-iotests/001.out
/openbmc/qemu/tests/qemu-iotests/002.out
/openbmc/qemu/tests/qemu-iotests/003.out
/openbmc/qemu/tests/qemu-iotests/004.out
/openbmc/qemu/tests/qemu-iotests/005.out
/openbmc/qemu/tests/qemu-iotests/006.out
/openbmc/qemu/tests/qemu-iotests/007.out
/openbmc/qemu/tests/qemu-iotests/008.out
/openbmc/qemu/tests/qemu-iotests/009.out
/openbmc/qemu/tests/qemu-iotests/010.out
/openbmc/qemu/tests/qemu-iotests/011.out
/openbmc/qemu/tests/qemu-iotests/012.out
/openbmc/qemu/tests/qemu-iotests/013.out
/openbmc/qemu/tests/qemu-iotests/014.out
/openbmc/qemu/tests/qemu-iotests/015.out
/openbmc/qemu/tests/qemu-iotests/016
/openbmc/qemu/tests/qemu-iotests/016.out
/openbmc/qemu/tests/qemu-iotests/017.out
/openbmc/qemu/tests/qemu-iotests/018.out
/openbmc/qemu/tests/qemu-iotests/019.out
/openbmc/qemu/tests/qemu-iotests/020.out
/openbmc/qemu/tests/qemu-iotests/021.out
/openbmc/qemu/tests/qemu-iotests/022.out
/openbmc/qemu/tests/qemu-iotests/023.out
/openbmc/qemu/tests/qemu-iotests/024.out
/openbmc/qemu/tests/qemu-iotests/025.out
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/027.out
/openbmc/qemu/tests/qemu-iotests/028.out
/openbmc/qemu/tests/qemu-iotests/029.out
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/031.out
/openbmc/qemu/tests/qemu-iotests/032.out
/openbmc/qemu/tests/qemu-iotests/033.out
/openbmc/qemu/tests/qemu-iotests/034.out
/openbmc/qemu/tests/qemu-iotests/035.out
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/037.out
/openbmc/qemu/tests/qemu-iotests/038.out
/openbmc/qemu/tests/qemu-iotests/039
/openbmc/qemu/tests/qemu-iotests/039.out
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/042.out
/openbmc/qemu/tests/qemu-iotests/043.out
/openbmc/qemu/tests/qemu-iotests/046.out
/openbmc/qemu/tests/qemu-iotests/047.out
/openbmc/qemu/tests/qemu-iotests/048
/openbmc/qemu/tests/qemu-iotests/048.out
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/050.out
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/052.out
/openbmc/qemu/tests/qemu-iotests/053.out
/openbmc/qemu/tests/qemu-iotests/054.out
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/058
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/062.out
/openbmc/qemu/tests/qemu-iotests/066.out
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/067.out
/openbmc/qemu/tests/qemu-iotests/068.out
/openbmc/qemu/tests/qemu-iotests/069.out
/openbmc/qemu/tests/qemu-iotests/071
/openbmc/qemu/tests/qemu-iotests/071.out
/openbmc/qemu/tests/qemu-iotests/072.out
/openbmc/qemu/tests/qemu-iotests/073.out
/openbmc/qemu/tests/qemu-iotests/077
/openbmc/qemu/tests/qemu-iotests/077.out
/openbmc/qemu/tests/qemu-iotests/080
/openbmc/qemu/tests/qemu-iotests/080.out
/openbmc/qemu/tests/qemu-iotests/081
/openbmc/qemu/tests/qemu-iotests/081.out
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/084.out
/openbmc/qemu/tests/qemu-iotests/086.out
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/088.out
/openbmc/qemu/tests/qemu-iotests/089
/openbmc/qemu/tests/qemu-iotests/089.out
/openbmc/qemu/tests/qemu-iotests/090.out
/openbmc/qemu/tests/qemu-iotests/091.out
/openbmc/qemu/tests/qemu-iotests/092.out
/openbmc/qemu/tests/qemu-iotests/095.out
/openbmc/qemu/tests/qemu-iotests/097.out
/openbmc/qemu/tests/qemu-iotests/098.out
/openbmc/qemu/tests/qemu-iotests/099
/openbmc/qemu/tests/qemu-iotests/099.out
/openbmc/qemu/tests/qemu-iotests/100.out
/openbmc/qemu/tests/qemu-iotests/103.out
/openbmc/qemu/tests/qemu-iotests/104.out
/openbmc/qemu/tests/qemu-iotests/107.out
/openbmc/qemu/tests/qemu-iotests/108.out
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/113
/openbmc/qemu/tests/qemu-iotests/113.out
/openbmc/qemu/tests/qemu-iotests/114
/openbmc/qemu/tests/qemu-iotests/114.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/qemu-iotests/qcow2.py
/openbmc/qemu/tests/qemu-iotests/sample_images/grub_mbr.raw.bz2
/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/keymaps.c
/openbmc/qemu/ui/vnc-enc-tight.c
qemu-option.c
/openbmc/qemu/vl.c
e1cf558204-Dec-2014 Markus Armbruster <armbru@redhat.com>

util: Use g_new() & friends where that makes obvious sense

g_new(T, n) is neater than g_malloc(sizeof(T) * n). It's also safer,
for two reasons. One, it catches multiplication overflowing size_t.

util: Use g_new() & friends where that makes obvious sense

g_new(T, n) is neater than g_malloc(sizeof(T) * n). It's also safer,
for two reasons. One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

9be71be504-Dec-2014 Markus Armbruster <armbru@redhat.com>

util: Fuse g_malloc(); memset() into g_new0()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by:

util: Fuse g_malloc(); memset() into g_new0()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

44c2286b04-Dec-2014 Markus Armbruster <armbru@redhat.com>

util: Drop superfluous conditionals around g_free()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-o

util: Drop superfluous conditionals around g_free()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

2458810004-Dec-2014 Markus Armbruster <armbru@redhat.com>

Drop superfluous conditionals around g_strdup()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-b

Drop superfluous conditionals around g_strdup()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/backends/rng-random.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-dsdt-mem-hotplug.dsl
/openbmc/qemu/hw/i386/acpi-dsdt.dsl
/openbmc/qemu/hw/i386/acpi-dsdt.hex.generated
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/q35-acpi-dsdt.dsl
/openbmc/qemu/hw/i386/q35-acpi-dsdt.hex.generated
/openbmc/qemu/hw/i386/ssdt-mem.hex.generated
/openbmc/qemu/hw/i386/ssdt-misc.dsl
/openbmc/qemu/hw/i386/ssdt-misc.hex.generated
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/tpm/tpm_passthrough.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-bus.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/common.json
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/target-i386/cpu.c
/openbmc/qemu/target-s390x/helper.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/tests/acpi-test-data/pc/DSDT
/openbmc/qemu/tests/acpi-test-data/pc/SSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/SSDT
/openbmc/qemu/ui/input.c
uri.c
/openbmc/qemu/vl.c
a2b257d631-Oct-2014 Igor Mammedov <imammedo@redhat.com>

memory: expose alignment used for allocating RAM as MemoryRegion API

introduce memory_region_get_alignment() that returns
underlying memory block alignment or 0 if it's not
relevant/implemented for

memory: expose alignment used for allocating RAM as MemoryRegion API

introduce memory_region_get_alignment() that returns
underlying memory block alignment or 0 if it's not
relevant/implemented for backend.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/arch_init.c
/openbmc/qemu/block.c
/openbmc/qemu/block/raw-posix.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/ahci.h
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/internal.h
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/usb/hcd-musb.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/mem/pc-dimm.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/kvm-stub.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/linux-headers/linux/vfio.h
/openbmc/qemu/memory.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/qemu-char.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-cris/translate.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-ppc/translate_init.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/ui/gtk.c
oslib-posix.c
oslib-win32.c

1...<<61626364656667686970>>...78