History log of /openbmc/qemu/util/ (Results 1526 – 1550 of 1947)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
da34e65c14-Mar-2016 Markus Armbruster <armbru@redhat.com>

include/qemu/osdep.h: Don't include qapi/error.h

Commit 57cb38b included qapi/error.h into qemu/osdep.h to get the
Error typedef. Since then, we've moved to include qemu/osdep.h
everywhere. Its fi

include/qemu/osdep.h: Don't include qapi/error.h

Commit 57cb38b included qapi/error.h into qemu/osdep.h to get the
Error typedef. Since then, we've moved to include qemu/osdep.h
everywhere. Its file comment explains: "To avoid getting into
possible circular include dependencies, this file should not include
any other QEMU headers, with the exceptions of config-host.h,
compiler.h, os-posix.h and os-win32.h, all of which are doing a
similar job to this file and are under similar constraints."
qapi/error.h doesn't do a similar job, and it doesn't adhere to
similar constraints: it includes qapi-types.h. That's in excess of
100KiB of crap most .c files don't actually need.

Add the typedef to qemu/typedefs.h, and include that instead of
qapi/error.h. Include qapi/error.h in .c files that need it and don't
get it now. Include qapi-types.h in qom/object.h for uint16List.

Update scripts/clean-includes accordingly. Update it further to match
reality: replace config.h by config-target.h, add sysemu/os-posix.h,
sysemu/os-win32.h. Update the list of includes in the qemu/osdep.h
comment quoted above similarly.

This reduces the number of objects depending on qapi/error.h from "all
of them" to less than a third. Unfortunately, the number depending on
qapi-types.h shrinks only a little. More work is needed for that one.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
[Fix compilation without the spice devel packages. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/Makefile.objs
/openbmc/qemu/async.c
/openbmc/qemu/backends/baum.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/backends/rng-random.c
/openbmc/qemu/backends/rng.c
/openbmc/qemu/backends/tpm.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qed.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/sheepdog.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/ssh.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/bootdevice.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-server/main.c
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/afsplit.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/block-luks.h
/openbmc/qemu/crypto/block-qcow.c
/openbmc/qemu/crypto/block-qcow.h
/openbmc/qemu/crypto/block.c
/openbmc/qemu/crypto/blockpriv.h
/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/hash.c
/openbmc/qemu/crypto/init.c
/openbmc/qemu/crypto/ivgen-essiv.c
/openbmc/qemu/crypto/ivgen-essiv.h
/openbmc/qemu/crypto/ivgen-plain.c
/openbmc/qemu/crypto/ivgen-plain.h
/openbmc/qemu/crypto/ivgen-plain64.c
/openbmc/qemu/crypto/ivgen-plain64.h
/openbmc/qemu/crypto/ivgen.c
/openbmc/qemu/crypto/ivgenpriv.h
/openbmc/qemu/crypto/pbkdf-gcrypt.c
/openbmc/qemu/crypto/pbkdf-nettle.c
/openbmc/qemu/crypto/pbkdf-stub.c
/openbmc/qemu/crypto/pbkdf.c
/openbmc/qemu/crypto/random-gcrypt.c
/openbmc/qemu/crypto/random-gnutls.c
/openbmc/qemu/crypto/random-stub.c
/openbmc/qemu/crypto/secret.c
/openbmc/qemu/crypto/tlscreds.c
/openbmc/qemu/crypto/tlscredsanon.c
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/crypto/tlssession.c
/openbmc/qemu/crypto/xts.c
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/exec.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/ast2400.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.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/netduino2.c
/openbmc/qemu/hw/arm/nseries.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/palmetto-bmc.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/raspi.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/sysbus-fdt.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-ep108.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/fdc.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/block/xen_disk.c
/openbmc/qemu/hw/bt/hci.c
/openbmc/qemu/hw/char/debugcon.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/serial-isa.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/spapr_vty.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/nmi.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cpu/a15mpcore.c
/openbmc/qemu/hw/cpu/a9mpcore.c
/openbmc/qemu/hw/cpu/arm11mpcore.c
/openbmc/qemu/hw/cpu/realview_mpcore.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/cirrus_vga.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/vmware_vga.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/dma/pl330.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/i8254.c
/openbmc/qemu/hw/i386/kvm/pci-assign.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/pci-assign-load-rom.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/i386/xen/xen_pvdevice.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/input/milkymist-softusb.c
/openbmc/qemu/hw/input/virtio-input-host.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/arm_gicv2m.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/ioapic_common.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/openpic_kvm.c
/openbmc/qemu/hw/intc/realview_gic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/ipack/ipack.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/ipmi/isa_ipmi_kcs.c
/openbmc/qemu/hw/isa/isa-bus.c
/openbmc/qemu/hw/isa/pc87312.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/tmp105.c
/openbmc/qemu/hw/moxie/moxiesim.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/milkymist-minimac2.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/e500.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/spapr_pci_vfio.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/s390-virtio.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.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/vhost-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/a9gtimer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/m48t59.c
/openbmc/qemu/hw/tpm/tpm_tis.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-storage.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/host-libusb.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-host-pci-device.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/hw/xen/xen_pt_config_init.c
/openbmc/qemu/hw/xen/xen_pt_graphics.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/crypto/afsplit.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/crypto/ivgen.h
/openbmc/qemu/include/crypto/pbkdf.h
/openbmc/qemu/include/crypto/random.h
/openbmc/qemu/include/crypto/xts.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/ui/qemu-spice.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-websock.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/io/task.c
/openbmc/qemu/iohandler.c
/openbmc/qemu/main-loop.c
/openbmc/qemu/memory.c
/openbmc/qemu/memory_mapping.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-buffer.c
/openbmc/qemu/net/filter.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap-aix.c
/openbmc/qemu/net/tap-bsd.c
/openbmc/qemu/net/tap-haiku.c
/openbmc/qemu/net/tap-linux.c
/openbmc/qemu/net/tap-solaris.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/crypto.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/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-input-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qga/channel-posix.c
/openbmc/qemu/qobject/json-parser.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/qom/qom-qobject.c
/openbmc/qemu/qtest.c
/openbmc/qemu/replay/replay-input.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/scripts/clean-includes
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/stubs/get-fd.c
/openbmc/qemu/target-alpha/cpu.c
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-cris/cpu.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-lm32/cpu.c
/openbmc/qemu/target-m68k/cpu.c
/openbmc/qemu/target-microblaze/cpu.c
/openbmc/qemu/target-mips/cpu.c
/openbmc/qemu/target-moxie/cpu.c
/openbmc/qemu/target-openrisc/cpu.c
/openbmc/qemu/target-ppc/mmu-hash64.c
/openbmc/qemu/target-ppc/mmu_helper.c
/openbmc/qemu/target-s390x/cpu.c
/openbmc/qemu/target-s390x/helper.c
/openbmc/qemu/target-sh4/cpu.c
/openbmc/qemu/target-sparc/cpu.c
/openbmc/qemu/target-tilegx/cpu.c
/openbmc/qemu/target-tricore/cpu.c
/openbmc/qemu/target-unicore32/cpu.c
/openbmc/qemu/target-xtensa/cpu.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/io-channel-helpers.c
/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/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/test-aio.c
/openbmc/qemu/tests/test-base64.c
/openbmc/qemu/tests/test-blockjob-txn.c
/openbmc/qemu/tests/test-crypto-afsplit.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-crypto-cipher.c
/openbmc/qemu/tests/test-crypto-ivgen.c
/openbmc/qemu/tests/test-crypto-pbkdf.c
/openbmc/qemu/tests/test-crypto-secret.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-crypto-xts.c
/openbmc/qemu/tests/test-io-channel-command.c
/openbmc/qemu/tests/test-io-channel-file.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-io-task.c
/openbmc/qemu/tests/test-opts-visitor.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qmp-input-strict.c
/openbmc/qemu/tests/test-qmp-input-visitor.c
/openbmc/qemu/tests/test-qmp-output-visitor.c
/openbmc/qemu/tests/test-string-input-visitor.c
/openbmc/qemu/tests/test-string-output-visitor.c
/openbmc/qemu/tests/test-thread-pool.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/tests/test-visitor-serialization.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/vnc-auth-sasl.c
/openbmc/qemu/ui/vnc-auth-vencrypt.c
/openbmc/qemu/ui/vnc-ws.c
base64.c
error.c
oslib-posix.c
oslib-win32.c
qemu-option.c
qemu-sockets.c
throttle.c
8ff98f1e14-Mar-2016 Stefan Weil <sw@weilnetz.de>

Remove unneeded include statements for setjmp.h

As soon as setjmp.h is included from qemu/osdep.h, those old include
statements are no longer needed.

Add also setjmp.h to the list in scripts/clean-

Remove unneeded include statements for setjmp.h

As soon as setjmp.h is included from qemu/osdep.h, those old include
statements are no longer needed.

Add also setjmp.h to the list in scripts/clean-includes.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

show more ...


/openbmc/qemu/Makefile.objs
/openbmc/qemu/configure
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/afsplit.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/block-luks.h
/openbmc/qemu/crypto/block-qcow.c
/openbmc/qemu/crypto/block-qcow.h
/openbmc/qemu/crypto/block.c
/openbmc/qemu/crypto/blockpriv.h
/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/ivgen-essiv.c
/openbmc/qemu/crypto/ivgen-essiv.h
/openbmc/qemu/crypto/ivgen-plain.c
/openbmc/qemu/crypto/ivgen-plain.h
/openbmc/qemu/crypto/ivgen-plain64.c
/openbmc/qemu/crypto/ivgen-plain64.h
/openbmc/qemu/crypto/ivgen.c
/openbmc/qemu/crypto/ivgenpriv.h
/openbmc/qemu/crypto/pbkdf-gcrypt.c
/openbmc/qemu/crypto/pbkdf-nettle.c
/openbmc/qemu/crypto/pbkdf-stub.c
/openbmc/qemu/crypto/pbkdf.c
/openbmc/qemu/crypto/random-gcrypt.c
/openbmc/qemu/crypto/random-gnutls.c
/openbmc/qemu/crypto/random-stub.c
/openbmc/qemu/crypto/xts.c
/openbmc/qemu/disas/i386.c
/openbmc/qemu/disas/m68k.c
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/include/crypto/afsplit.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/crypto/ivgen.h
/openbmc/qemu/include/crypto/pbkdf.h
/openbmc/qemu/include/crypto/random.h
/openbmc/qemu/include/crypto/xts.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qga/main.c
/openbmc/qemu/scripts/clean-includes
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile
/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/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/test-crypto-afsplit.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-crypto-cipher.c
/openbmc/qemu/tests/test-crypto-ivgen.c
/openbmc/qemu/tests/test-crypto-pbkdf.c
/openbmc/qemu/tests/test-crypto-xts.c
coroutine-sigaltstack.c
coroutine-ucontext.c
oslib-posix.c
330b583615-Mar-2016 Markus Armbruster <armbru@redhat.com>

event_notifier: Make event_notifier_init_fd() #ifdef CONFIG_EVENTFD

Event notifiers are designed for eventfd(2). They can fall back to
pipes, but according to Paolo, event_notifier_init_fd() really

event_notifier: Make event_notifier_init_fd() #ifdef CONFIG_EVENTFD

Event notifiers are designed for eventfd(2). They can fall back to
pipes, but according to Paolo, event_notifier_init_fd() really
requires the real thing, and should therefore be under #ifdef
CONFIG_EVENTFD. Do that.

Its only user is ivshmem, which is currently CONFIG_POSIX. Narrow it
to CONFIG_EVENTFD.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1458066895-20632-6-git-send-email-armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/aio-posix.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/contrib/ivshmem-server/ivshmem-server.c
/openbmc/qemu/contrib/ivshmem-server/ivshmem-server.h
/openbmc/qemu/contrib/ivshmem-server/main.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/hw/acpi/core.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/ast2400.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.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/gumstix.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palmetto-bmc.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/dma/Makefile.objs
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/aspeed_vic.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/imx25_ccm.c
/openbmc/qemu/hw/misc/imx31_ccm.c
/openbmc/qemu/hw/misc/imx6_ccm.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/arm/ast2400.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/bcm2835_aux.h
/openbmc/qemu/include/hw/display/bcm2835_fb.h
/openbmc/qemu/include/hw/dma/bcm2835_dma.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/aspeed_vic.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/bcm2835_property.h
/openbmc/qemu/include/hw/misc/imx6_ccm.h
/openbmc/qemu/include/hw/misc/imx_ccm.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/qapi/qmp/qerror.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/monitor.c
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/bdrv-next-monitor-owned.c
/openbmc/qemu/stubs/blk-commit-all.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helper.h
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/148.out
/openbmc/qemu/trace-events
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/vnc.c
event_notifier-posix.c
/openbmc/qemu/vl.c
32bafa8f17-Mar-2016 Eric Blake <eblake@redhat.com>

qapi: Don't special-case simple union wrappers

Simple unions were carrying a special case that hid their 'data'
QMP member from the resulting C struct, via the hack method
QAPISchemaObjectTypeVarian

qapi: Don't special-case simple union wrappers

Simple unions were carrying a special case that hid their 'data'
QMP member from the resulting C struct, via the hack method
QAPISchemaObjectTypeVariant.simple_union_type(). But by using
the work we started by unboxing flat union and alternate
branches, coupled with the ability to visit the members of an
implicit type, we can now expose the simple union's implicit
type in qapi-types.h:

| struct q_obj_ImageInfoSpecificQCow2_wrapper {
| ImageInfoSpecificQCow2 *data;
| };
|
| struct q_obj_ImageInfoSpecificVmdk_wrapper {
| ImageInfoSpecificVmdk *data;
| };
...
| struct ImageInfoSpecific {
| ImageInfoSpecificKind type;
| union { /* union tag is @type */
| void *data;
|- ImageInfoSpecificQCow2 *qcow2;
|- ImageInfoSpecificVmdk *vmdk;
|+ q_obj_ImageInfoSpecificQCow2_wrapper qcow2;
|+ q_obj_ImageInfoSpecificVmdk_wrapper vmdk;
| } u;
| };

Doing this removes asymmetry between QAPI's QMP side and its
C side (both sides now expose 'data'), and means that the
treatment of a simple union as sugar for a flat union is now
equivalent in both languages (previously the two approaches used
a different layer of dereferencing, where the simple union could
be converted to a flat union with equivalent C layout but
different {} on the wire, or to an equivalent QMP wire form
but with different C representation). Using the implicit type
also lets us get rid of the simple_union_type() hack.

Of course, now all clients of simple unions have to adjust from
using su->u.member to using su->u.member.data; while this touches
a number of files in the tree, some earlier cleanup patches
helped minimize the change to the initialization of a temporary
variable rather than every single member access. The generated
qapi-visit.c code is also affected by the layout change:

|@@ -7393,10 +7393,10 @@ void visit_type_ImageInfoSpecific_member
| }
| switch (obj->type) {
| case IMAGE_INFO_SPECIFIC_KIND_QCOW2:
|- visit_type_ImageInfoSpecificQCow2(v, "data", &obj->u.qcow2, &err);
|+ visit_type_q_obj_ImageInfoSpecificQCow2_wrapper_members(v, &obj->u.qcow2, &err);
| break;
| case IMAGE_INFO_SPECIFIC_KIND_VMDK:
|- visit_type_ImageInfoSpecificVmdk(v, "data", &obj->u.vmdk, &err);
|+ visit_type_q_obj_ImageInfoSpecificVmdk_wrapper_members(v, &obj->u.vmdk, &err);
| break;
| default:
| abort();

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1458254921-17042-13-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/aio-posix.c
/openbmc/qemu/backends/baum.c
/openbmc/qemu/backends/msmouse.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/acpi/core.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/ast2400.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.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/gumstix.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palmetto-bmc.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/dma/Makefile.objs
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/aspeed_vic.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/imx25_ccm.c
/openbmc/qemu/hw/misc/imx31_ccm.c
/openbmc/qemu/hw/misc/imx6_ccm.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/arm/ast2400.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/bcm2835_aux.h
/openbmc/qemu/include/hw/display/bcm2835_fb.h
/openbmc/qemu/include/hw/dma/bcm2835_dma.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/aspeed_vic.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/bcm2835_property.h
/openbmc/qemu/include/hw/misc/imx6_ccm.h
/openbmc/qemu/include/hw/misc/imx_ccm.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/qapi/qmp/qerror.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/monitor.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/l2tpv3.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/netmap.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap-win32.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/net/vde.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/numa.c
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/replay/replay-input.c
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/bdrv-next-monitor-owned.c
/openbmc/qemu/stubs/blk-commit-all.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helper.h
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/tests/qapi-schema/comments.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/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/087.out
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/148.out
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-qmp-commands.c
/openbmc/qemu/tests/test-qmp-input-visitor.c
/openbmc/qemu/tests/test-qmp-output-visitor.c
/openbmc/qemu/tpm.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/input-keymap.c
/openbmc/qemu/ui/input-legacy.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/vnc-auth-sasl.c
/openbmc/qemu/ui/vnc.c
qemu-sockets.c
/openbmc/qemu/vl.c
0ebc03bc23-Feb-2016 Peter Maydell <peter.maydell@linaro.org>

util/base64.c: Clean includes

Remove unnecessary include of config-host.h.
(This was missed by the clean-includes script because of the
incorrect use of <> for a QEMU header.)

Signed-off-by: Peter

util/base64.c: Clean includes

Remove unnecessary include of config-host.h.
(This was missed by the clean-includes script because of the
incorrect use of <> for a QEMU header.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1456237112-32662-5-git-send-email-peter.maydell@linaro.org

show more ...

20e2dec109-Mar-2016 Daniel P. Berrange <berrange@redhat.com>

error: ensure errno detail is printed with error_abort

When &error_abort is passed in, the error reporting code
will print the current error message and then abort() the
process. Unfortunately at th

error: ensure errno detail is printed with error_abort

When &error_abort is passed in, the error reporting code
will print the current error message and then abort() the
process. Unfortunately at the time it aborts, we've not
yet appended the errno detail. This makes debugging certain
problems significantly harder as the log is incomplete.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1457544504-8548-22-git-send-email-berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/docs/migration.txt
/openbmc/qemu/docs/pci_expander_bridge.txt
/openbmc/qemu/docs/qmp-events.txt
/openbmc/qemu/docs/specs/pci-ids.txt
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/kvm/apic.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_apic.c
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/arm_gicv2m.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/openpic_kvm.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci/msi.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/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/vfio/common.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/block/fdc.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/ich9.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/pci/msi.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/standard-headers/linux/virtio_balloon.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/slirp/Makefile.objs
/openbmc/qemu/slirp/cksum.c
/openbmc/qemu/slirp/if.c
/openbmc/qemu/slirp/if.h
/openbmc/qemu/slirp/ip6.h
/openbmc/qemu/slirp/ip6_icmp.c
/openbmc/qemu/slirp/ip6_icmp.h
/openbmc/qemu/slirp/ip6_input.c
/openbmc/qemu/slirp/ip6_output.c
/openbmc/qemu/slirp/ip_icmp.c
/openbmc/qemu/slirp/ip_icmp.h
/openbmc/qemu/slirp/ip_input.c
/openbmc/qemu/slirp/libslirp.h
/openbmc/qemu/slirp/mbuf.c
/openbmc/qemu/slirp/ndp_table.c
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/slirp.h
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/slirp/socket.h
/openbmc/qemu/slirp/tcp.h
/openbmc/qemu/slirp/tcp_input.c
/openbmc/qemu/slirp/tcp_output.c
/openbmc/qemu/slirp/tcp_subr.c
/openbmc/qemu/slirp/tcp_timer.c
/openbmc/qemu/slirp/tcpip.h
/openbmc/qemu/slirp/tftp.c
/openbmc/qemu/slirp/tftp.h
/openbmc/qemu/slirp/udp.c
/openbmc/qemu/slirp/udp.h
/openbmc/qemu/slirp/udp6.c
/openbmc/qemu/target-i386/cpu.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/target-s390x/cpu-qom.h
/openbmc/qemu/target-s390x/cpu.c
/openbmc/qemu/target-s390x/cpu.h
/openbmc/qemu/target-s390x/helper.c
/openbmc/qemu/tests/acpi-test-data/pc/DSDT
/openbmc/qemu/tests/acpi-test-data/pc/DSDT.bridge
/openbmc/qemu/tests/acpi-test-data/q35/DSDT
/openbmc/qemu/tests/acpi-test-data/q35/DSDT.bridge
/openbmc/qemu/tests/qemu-iotests/081.out
/openbmc/qemu/tests/qemu-iotests/146
/openbmc/qemu/tests/qemu-iotests/146.out
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/148.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/sample_images/d2v-zerofilled.vhd.bz2
/openbmc/qemu/tests/qemu-iotests/sample_images/hyperv2012r2-dynamic.vhd.bz2
/openbmc/qemu/tests/qemu-iotests/sample_images/virtualpc-dynamic.vhd.bz2
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/trace-events
error.c
b16a44e107-Mar-2016 Daniel P. Berrange <berrange@redhat.com>

osdep: remove use of socket_error() from all code

Now that QEMU wraps the Win32 sockets methods to automatically
set errno upon failure, there is no reason for callers to use
the socket_error() meth

osdep: remove use of socket_error() from all code

Now that QEMU wraps the Win32 sockets methods to automatically
set errno upon failure, there is no reason for callers to use
the socket_error() method. They can rely on accessing errno
even on Win32. Remove all use of socket_error() from general
code, leaving it as a static method in oslib-win32.c only.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

show more ...

a2d96af407-Mar-2016 Daniel P. Berrange <berrange@redhat.com>

osdep: add wrappers for socket functions

The windows socket functions look identical to the normal POSIX
sockets functions, but instead of setting errno, the caller needs
to call WSAGetLastError().

osdep: add wrappers for socket functions

The windows socket functions look identical to the normal POSIX
sockets functions, but instead of setting errno, the caller needs
to call WSAGetLastError(). QEMU has tried to deal with this
incompatibility by defining a socket_error() method that callers
must use that abstracts the difference between WSAGetLastError()
and errno.

This approach is somewhat error prone though - many callers of
the sockets functions are just using errno directly because it
is easy to forget the need use a QEMU specific wrapper. It is
not always immediately obvious that a particular function will
in fact call into Windows sockets functions, so the dev may not
even realize they need to use socket_error().

This introduces an alternative approach to portability inspired
by the way GNULIB fixes portability problems. We use a macro to
redefine the original socket function names to refer to a QEMU
wrapper function. The wrapper function calls the original Win32
sockets method and then sets errno from the WSAGetLastError()
value.

Thus all code can simply call the normal POSIX sockets APIs are
have standard errno reporting on error, even on Windows. This
makes the socket_error() method obsolete.

We also bring closesocket & ioctlsocket into this approach. Even
though they are non-standard Win32 names, we can't wrap the normal
close/ioctl methods since there's no reliable way to distinguish
between a file descriptor and HANDLE in Win32.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

show more ...

c619644007-Mar-2016 Daniel P. Berrange <berrange@redhat.com>

osdep: fix socket_error() to work with Mingw64

Historically QEMU has had a socket_error() macro that was
defined to map to WSASocketError(). The os-win32.h header
file would define errno constants t

osdep: fix socket_error() to work with Mingw64

Historically QEMU has had a socket_error() macro that was
defined to map to WSASocketError(). The os-win32.h header
file would define errno constants that mapped to the
WSA error constants. This worked fine with Mingw32 since
its header files never defined any errno values, nor did
it even provide an errno.h. So callers of socket_error()
could match on traditional Exxxx constants and it would
all "just work".

With Mingw64 though, things work rather differently. First
there is an errno.h file which defines all the traditional
errno constants you'd expect from a UNIX platform. There
is then a winerror.h which defined the WSA error constants.
Crucially the WSAExxxx errno values in winerror.h do not
match the Exxxx errno values in error.h.

If QEMU had only imported winerror.h it would still work,
but the qemu/osdep.h file unconditionally imports errno.h.
So callers of socket_error() will get now WSAExxxx values
back and compare them to the Exxx constants. This will
always fail silently at runtime.

To solve this QEMU needs to stop assuming the WSAExxxx
constant values match the Exxx constant values. Thus the
socket_error() macro is turned into a small function that
re-maps WSAExxxx values into Exxx.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

show more ...

28b90d9c07-Mar-2016 Liang Li <liang.z.li@intel.com>

cutils: add avx2 instruction optimization

buffer_find_nonzero_offset() is a hot function during live migration.
Now it use SSE2 instructions for optimization. For platform supports
AVX2 instructions

cutils: add avx2 instruction optimization

buffer_find_nonzero_offset() is a hot function during live migration.
Now it use SSE2 instructions for optimization. For platform supports
AVX2 instructions, use AVX2 instructions for optimization can help
to improve the performance of buffer_find_nonzero_offset() about 30%
comparing to SSE2.

Live migration can be faster with this optimization, the test result
shows that for an 8GiB RAM idle guest just boots, this patch can help
to shorten the total live migration time about 6%.

This patch use the ifunc mechanism to select the proper function when
running, for platform supports AVX2, execute the AVX2 instructions,
else, execute the original instructions.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1457416397-26671-3-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>

show more ...

c586eac329-Feb-2016 Paolo Bonzini <pbonzini@redhat.com>

log: do not log if QEMU is daemonized but without -D

Commit 96c33a4 ("log: Redirect stderr to logfile if deamonized",
2016-02-22) wanted to move stderr of a daemonized QEMU to the file
specified wit

log: do not log if QEMU is daemonized but without -D

Commit 96c33a4 ("log: Redirect stderr to logfile if deamonized",
2016-02-22) wanted to move stderr of a daemonized QEMU to the file
specified with -D.

However, if -D was not passed, the patch had the side effect of not
redirecting stderr to /dev/null. This happened because qemu_logfile
was set to stderr rather than the expected value of NULL. The fix
is simply in the "if" condition of do_qemu_set_log; the "if" for
closing the file is also changed to match.

Reported-by: Jan Tomko <jtomko@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

0399293e03-Mar-2016 Eric Blake <eblake@redhat.com>

util: Shorten references into SocketAddress

An upcoming patch will alter how simple unions, like SocketAddress,
are laid out, which will impact all lines of the form 'addr->u.XXX'
(expanding it to t

util: Shorten references into SocketAddress

An upcoming patch will alter how simple unions, like SocketAddress,
are laid out, which will impact all lines of the form 'addr->u.XXX'
(expanding it to the longer 'addr->u.XXX.data'). For better
legibility in that patch, and less need for line wrapping, it's better
to use a temporary variable to reduce the effect of a layout change to
just the variable initializations, rather than every reference within
a SocketAddress. Also, take advantage of some C99 initialization where
it makes sense (simplifying g_new0() to g_new()).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1457021813-10704-7-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/backends/rng-random.c
/openbmc/qemu/backends/rng.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/bsd-user/i386/target_syscall.h
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/sparc/target_syscall.h
/openbmc/qemu/bsd-user/sparc64/target_syscall.h
/openbmc/qemu/bsd-user/x86_64/target_syscall.h
/openbmc/qemu/disas/mips.c
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/docs/qmp-spec.txt
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/hw/acpi/core.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/cpu/a15mpcore.c
/openbmc/qemu/hw/cris/boot.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/i386/multiboot.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/dummy_m68k.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/boot.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/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/macio/mac_dbdma.c
/openbmc/qemu/hw/moxie/moxiesim.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/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/css.h
/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/s390-virtio.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.h
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.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/usb/redirect.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/watchdog/wdt_diag288.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/hw/arm/arm.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/rng.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/linux-headers/asm-arm/unistd.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/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/vfio.h
/openbmc/qemu/linux-user/arm/nwfpe/fpa11.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/net.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/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/qemu-char.c
/openbmc/qemu/qemu-nbd.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/guest-agent-core.h
/openbmc/qemu/qga/installer/qemu-ga.wxs
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32.c
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qga/vss-win32/provider.cpp
/openbmc/qemu/qga/vss-win32/requester.cpp
/openbmc/qemu/qga/vss-win32/requester.h
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/roms/openbios
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/format/events_h.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/scripts/tracetool/format/tcg_helper_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_wrapper_h.py
/openbmc/qemu/scripts/tracetool/format/ust_events_c.py
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/scripts/tracetool/vcpu.py
/openbmc/qemu/stubs/target-get-monitor-def.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/arm_ldst.h
/openbmc/qemu/target-arm/cpu-qom.h
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/gdbstub.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helper.h
/openbmc/qemu/target-arm/kvm32.c
/openbmc/qemu/target-arm/kvm64.c
/openbmc/qemu/target-arm/machine.c
/openbmc/qemu/target-arm/op_helper.c
/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-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.c
/openbmc/qemu/target-mips/cpu.h
/openbmc/qemu/target-mips/helper.h
/openbmc/qemu/target-mips/kvm.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/translate.c
/openbmc/qemu/target-s390x/cpu.h
/openbmc/qemu/target-s390x/interrupt.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/target-s390x/mmu_helper.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tilegx/translate.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/124.out
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-opts-visitor.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/control.h
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/input-legacy.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.c
qemu-sockets.c
/openbmc/qemu/vl.c
586fc27e25-Feb-2016 Peter Maydell <peter.maydell@linaro.org>

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

* Asynchronous dump-guest-memory from Peter
* improved logging with -D -daemonize from Dimitris
* more address_space_* o

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

* Asynchronous dump-guest-memory from Peter
* improved logging with -D -daemonize from Dimitris
* more address_space_* optimization from Gonglei
* TCG xsave/xrstor thinko fix
* chardev bugfix and documentation patch

# gpg: Signature made Thu 25 Feb 2016 15:12:27 GMT using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>"

* remotes/bonzini/tags/for-upstream:
target-i386: fix confusion in xcr0 bit position vs. mask
chardev: Properly initialize ChardevCommon components
memory: Remove unreachable return statement
memory: optimize qemu_get_ram_ptr and qemu_ram_ptr_length
exec: store RAMBlock pointer into memory region
log: Redirect stderr to logfile if deamonized
dump-guest-memory: add qmp event DUMP_COMPLETED
Dump: add hmp command "info dump"
Dump: add qmp command "query-dump"
DumpState: adding total_size and written_size fields
dump-guest-memory: add "detach" support
dump-guest-memory: disable dump when in INMIGRATE state
dump-guest-memory: introduce dump_process() helper function.
dump-guest-memory: add dump_in_progress() helper function
dump-guest-memory: using static DumpState, add DumpStatus
dump-guest-memory: add "detach" flag for QMP/HMP interfaces.
dump-guest-memory: cleanup: removing dump_{error|cleanup}().
scripts/kvm/kvm_stat: Fix missing right parantheses and ".format(...)"
qemu-options.hx: Improve documentation of chardev multiplexing mode

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

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/audio.h
/openbmc/qemu/block/qapi.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-client/ivshmem-client.h
/openbmc/qemu/contrib/ivshmem-server/ivshmem-server.h
/openbmc/qemu/disas/arm-a64.cc
/openbmc/qemu/docs/qmp-events.txt
/openbmc/qemu/docs/throttle.txt
/openbmc/qemu/dump.c
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/9pfs/9p-synth.h
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/bios-linker-loader.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/audio/gusemu.h
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.h
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/display/vga_int.h
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/net/fsl_etsec/registers.h
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/core.c
/openbmc/qemu/hw/usb/desc.h
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/tusb6010.c
/openbmc/qemu/hw/vfio/amd-xgbe.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/block/write-threshold.h
/openbmc/qemu/include/config.h
/openbmc/qemu/include/crypto/cipher.h
/openbmc/qemu/include/crypto/hash.h
/openbmc/qemu/include/crypto/init.h
/openbmc/qemu/include/crypto/secret.h
/openbmc/qemu/include/crypto/tlscreds.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/helper-head.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/user/thunk.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/acpi/acpi.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/bios-linker-loader.h
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/ich9.h
/openbmc/qemu/include/hw/i386/topology.h
/openbmc/qemu/include/hw/isa/apm.h
/openbmc/qemu/include/hw/nvram/fw_cfg.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/virtio/vhost-backend.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/hw/xen/xen.h
/openbmc/qemu/include/hw/xen/xen_common.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/libdecnumber/dconfig.h
/openbmc/qemu/include/libdecnumber/decContext.h
/openbmc/qemu/include/libdecnumber/decNumberLocal.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/qemu-file.h
/openbmc/qemu/include/net/checksum.h
/openbmc/qemu/include/net/eth.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qapi/qmp-event.h
/openbmc/qemu/include/qapi/qmp/dispatch.h
/openbmc/qemu/include/qapi/qmp/json-lexer.h
/openbmc/qemu/include/qapi/qmp/json-parser.h
/openbmc/qemu/include/qapi/qmp/json-streamer.h
/openbmc/qemu/include/qapi/qmp/qbool.h
/openbmc/qemu/include/qapi/qmp/qdict.h
/openbmc/qemu/include/qapi/qmp/qfloat.h
/openbmc/qemu/include/qapi/qmp/qint.h
/openbmc/qemu/include/qapi/qmp/qjson.h
/openbmc/qemu/include/qapi/qmp/qobject.h
/openbmc/qemu/include/qapi/qmp/qstring.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/bitmap.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/bswap.h
/openbmc/qemu/include/qemu/compatfd.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/config-file.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/error-report.h
/openbmc/qemu/include/qemu/fprintf-fn.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/qemu/int128.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qemu/memfd.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/range.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/qemu/throttle.h
/openbmc/qemu/include/qemu/timed-average.h
/openbmc/qemu/include/qemu/xattr.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/sysemu/char.h
/openbmc/qemu/include/sysemu/dma.h
/openbmc/qemu/include/sysemu/dump.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/memory_mapping.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/include/sysemu/rng.h
/openbmc/qemu/include/sysemu/seccomp.h
/openbmc/qemu/include/sysemu/tpm_backend.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/qemu-spice.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/io/channel-util.c
/openbmc/qemu/linux-user/aarch64/syscall_nr.h
/openbmc/qemu/linux-user/aarch64/target_syscall.h
/openbmc/qemu/linux-user/alpha/syscall_nr.h
/openbmc/qemu/linux-user/alpha/target_syscall.h
/openbmc/qemu/linux-user/arm/nwfpe/fpa11.h
/openbmc/qemu/linux-user/arm/target_syscall.h
/openbmc/qemu/linux-user/cris/syscall_nr.h
/openbmc/qemu/linux-user/cris/target_syscall.h
/openbmc/qemu/linux-user/i386/syscall_nr.h
/openbmc/qemu/linux-user/i386/target_syscall.h
/openbmc/qemu/linux-user/m68k/syscall_nr.h
/openbmc/qemu/linux-user/m68k/target_syscall.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/microblaze/syscall_nr.h
/openbmc/qemu/linux-user/microblaze/target_syscall.h
/openbmc/qemu/linux-user/mips/target_syscall.h
/openbmc/qemu/linux-user/mips64/syscall_nr.h
/openbmc/qemu/linux-user/mips64/target_syscall.h
/openbmc/qemu/linux-user/openrisc/syscall_nr.h
/openbmc/qemu/linux-user/openrisc/target_syscall.h
/openbmc/qemu/linux-user/ppc/syscall_nr.h
/openbmc/qemu/linux-user/ppc/target_syscall.h
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/s390x/syscall_nr.h
/openbmc/qemu/linux-user/s390x/target_syscall.h
/openbmc/qemu/linux-user/sh4/syscall_nr.h
/openbmc/qemu/linux-user/sh4/target_syscall.h
/openbmc/qemu/linux-user/sparc/syscall_nr.h
/openbmc/qemu/linux-user/sparc/target_syscall.h
/openbmc/qemu/linux-user/sparc64/syscall_nr.h
/openbmc/qemu/linux-user/sparc64/target_syscall.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/tilegx/syscall_nr.h
/openbmc/qemu/linux-user/tilegx/target_syscall.h
/openbmc/qemu/linux-user/unicore32/target_syscall.h
/openbmc/qemu/linux-user/x86_64/syscall_nr.h
/openbmc/qemu/linux-user/x86_64/target_syscall.h
/openbmc/qemu/memory.c
/openbmc/qemu/memory_mapping.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/net/tap-linux.h
/openbmc/qemu/net/util.h
/openbmc/qemu/os-posix.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-tech.texi
/openbmc/qemu/qga/vss-win32.h
/openbmc/qemu/qga/vss-win32/requester.h
/openbmc/qemu/qga/vss-win32/vss-common.h
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/clean-includes
/openbmc/qemu/scripts/kvm/kvm_stat
/openbmc/qemu/scripts/tracetool/format/ust_events_c.py
/openbmc/qemu/slirp/slirp.h
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/stubs/qmp_pc_dimm_device_list.c
/openbmc/qemu/target-alpha/cpu.h
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/kvm-consts.h
/openbmc/qemu/target-cris/cpu.h
/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-i386/mpx_helper.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-moxie/cpu.h
/openbmc/qemu/target-openrisc/cpu.h
/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-sh4/cpu.h
/openbmc/qemu/target-sparc/cpu.h
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tilegx/cpu.h
/openbmc/qemu/target-tricore/cpu.h
/openbmc/qemu/target-tricore/helper.c
/openbmc/qemu/target-tricore/helper.h
/openbmc/qemu/target-tricore/op_helper.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/cpu.h
/openbmc/qemu/target-xtensa/cpu.h
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/ia64/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/s390/tcg-target.inc.c
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci/README
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tcg/tci/tcg-target.inc.c
/openbmc/qemu/tests/boot-sector.c
/openbmc/qemu/tests/libqos/ahci.h
/openbmc/qemu/tests/libqos/fw_cfg.h
/openbmc/qemu/tests/libqos/i2c.h
/openbmc/qemu/tests/libqos/malloc.h
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/067.out
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/093.out
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/control-internal.h
/openbmc/qemu/trace/ftrace.h
/openbmc/qemu/trace/simple.h
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/vnc-palette.h
/openbmc/qemu/ui/vnc.h
log.c
96c33a4518-Feb-2016 Dimitris Aragiorgis <dimara@arrikto.com>

log: Redirect stderr to logfile if deamonized

In case of daemonize, use the logfile passed with the -D option in
order to redirect stderr to it instead of /dev/null.

Also remove some unused code in

log: Redirect stderr to logfile if deamonized

In case of daemonize, use the logfile passed with the -D option in
order to redirect stderr to it instead of /dev/null.

Also remove some unused code in log.h.

Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
Message-Id: <1455795518-19205-1-git-send-email-dimara@arrikto.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/docs/qmp-events.txt
/openbmc/qemu/dump.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-ep108.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/input/adb.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/pci-host/uninorth.c
/openbmc/qemu/hw/ppc/mac.h
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/scsi/mptconfig.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/timer/arm_timer.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/timer/pl031.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/hw/input/adb.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/sd/sd.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/io/channel-buffer.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel-util.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/sysemu/dump.h
/openbmc/qemu/include/sysemu/memory_mapping.h
/openbmc/qemu/io/Makefile.objs
/openbmc/qemu/io/channel-buffer.c
/openbmc/qemu/io/channel-util.c
/openbmc/qemu/memory_mapping.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-nbd.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/kvm/kvm_stat
/openbmc/qemu/target-arm/cpu-qom.h
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/internals.h
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-ppc/kvm_ppc.h
/openbmc/qemu/target-ppc/mmu-hash64.h
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/test-io-channel-file.c
/openbmc/qemu/tests/test-io-channel-socket.c
log.c
/openbmc/qemu/vl.c
100f8f2618-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Add support for burst periods

This patch adds support for burst periods to the throttling code.
With this feature the user can keep performing bursts as defined by
the LeakyBucket.max rate

throttle: Add support for burst periods

This patch adds support for burst periods to the throttling code.
With this feature the user can keep performing bursts as defined by
the LeakyBucket.max rate for a configurable period of time.

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

show more ...

1588ab5d18-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Use throttle_config_init() to initialize ThrottleConfig

We can currently initialize ThrottleConfig by zeroing all its fields,
but this will change with the new fields to define the length

throttle: Use throttle_config_init() to initialize ThrottleConfig

We can currently initialize ThrottleConfig by zeroing all its fields,
but this will change with the new fields to define the length of the
burst periods.

This patch introduces a new throttle_config_init() function and uses it
to replace all memset() calls that initialize ThrottleConfig directly.

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

show more ...

d585108918-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Merge all functions that check the configuration into one

There's no need to keep throttle_conflicting(), throttle_is_valid()
and throttle_max_is_missing_limit() as separate functions, so

throttle: Merge all functions that check the configuration into one

There's no need to keep throttle_conflicting(), throttle_is_valid()
and throttle_max_is_missing_limit() as separate functions, so this
patch merges all three into one.

As a consequence, check_throttle_config() becomes redundant and can be
replaced with throttle_is_valid().

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

show more ...

03ba36c818-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Make throttle_is_valid() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by:

throttle: Make throttle_is_valid() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

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

show more ...

45b2d41818-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Make throttle_max_is_missing_limit() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

Signed-off-by: Alberto Garcia <berto@igalia.com>

throttle: Make throttle_max_is_missing_limit() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

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

show more ...

6921b18018-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Make throttle_conflicting() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-

throttle: Make throttle_conflicting() set errp

The caller does not need to set it, and this will allow us to refactor
this function later.

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

show more ...

3c9242f518-Feb-2016 Alberto Garcia <berto@igalia.com>

throttle: Make throttle_compute_timer() static

This function is only used internally in throttle.c

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

throttle: Make throttle_compute_timer() static

This function is only used internally in throttle.c

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

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/block.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/cpus.c
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/docs/specs/qcow2.txt
/openbmc/qemu/fpu/softfloat-macros.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-ep108.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/dma/etraxfs_dma.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/input/adb.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/pci-bridge/dec.c
/openbmc/qemu/hw/pci-bridge/i82801b11.c
/openbmc/qemu/hw/pci-bridge/ioh3420.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/xio3130_downstream.c
/openbmc/qemu/hw/pci-bridge/xio3130_upstream.c
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci-host/uninorth.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/ppc/mac.h
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/scsi/mptconfig.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/timer/arm_timer.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/timer/pl031.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/vfio/amd-xgbe.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/input/adb.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/pci/pcie_aer.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/sd/sd.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/hw/vfio/vfio-amd-xgbe.h
/openbmc/qemu/include/hw/virtio/virtio-access.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/io/channel-buffer.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel-util.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/throttle.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/io/Makefile.objs
/openbmc/qemu/io/channel-buffer.c
/openbmc/qemu/io/channel-util.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/qapi-dealloc-visitor.c
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qmp-input-visitor.c
/openbmc/qemu/qapi/qmp-output-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-nbd.texi
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/target-arm/cpu-qom.h
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/internals.h
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-mips/cpu.h
/openbmc/qemu/target-ppc/kvm_ppc.h
/openbmc/qemu/target-ppc/mmu-hash64.h
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/boot-sector.c
/openbmc/qemu/tests/boot-sector.h
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-any.exit
/openbmc/qemu/tests/qapi-schema/alternate-any.json
/openbmc/qemu/tests/qapi-schema/alternate-any.out
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.exit
/openbmc/qemu/tests/qapi-schema/alternate-empty.json
/openbmc/qemu/tests/qapi-schema/alternate-empty.out
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.exit
/openbmc/qemu/tests/qapi-schema/flat-union-empty.json
/openbmc/qemu/tests/qapi-schema/flat-union-empty.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-empty.exit
/openbmc/qemu/tests/qapi-schema/union-empty.json
/openbmc/qemu/tests/qapi-schema/union-empty.out
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/145.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-io-channel-file.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-qmp-input-visitor.c
/openbmc/qemu/tests/test-qmp-output-visitor.c
/openbmc/qemu/tests/vhost-user-bridge.c
throttle.c
/openbmc/qemu/vl.c
d5db2ec108-Feb-2016 Peter Maydell <peter.maydell@linaro.org>

oslib-posix.c: Move workaround for OSX daemon() deprecation to osdep.h

The right place for "work around issues with system headers" code
is osdep.h. Move the workaround for OSX's stdlib.h emitting a

oslib-posix.c: Move workaround for OSX daemon() deprecation to osdep.h

The right place for "work around issues with system headers" code
is osdep.h. Move the workaround for OSX's stdlib.h emitting a
deprecation warning for daemon() to that header.

This also fixes a problem where running clean-includes on
oslib-posix.c would erroneously remove the #include <stdlib.h>
from it, breaking the workaround.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/configure
/openbmc/qemu/docs/qmp-spec.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nand.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/i386/xen/xen_apic.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/internal.h
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/intc/bcm2835_ic.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-virtio.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/usb/ccid-card-emulated.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/include/hw/misc/bcm2835_property.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/qemu/compiler.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/libdecnumber/decContext.c
/openbmc/qemu/libdecnumber/decNumber.c
/openbmc/qemu/libdecnumber/dpd/decimal128.c
/openbmc/qemu/libdecnumber/dpd/decimal32.c
/openbmc/qemu/libdecnumber/dpd/decimal64.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/scripts/feature_to_c.sh
/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/tracetool/backend/simple.py
/openbmc/qemu/scripts/tracetool/format/events_c.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/stubs/blockdev-close-all-bdrv-states.c
/openbmc/qemu/target-arm/cpu.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/cpu64.c
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helper.h
/openbmc/qemu/target-arm/internals.h
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/mmu.c
/openbmc/qemu/target-i386/Makefile.objs
/openbmc/qemu/target-i386/cc_helper.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/helper.h
/openbmc/qemu/target-i386/int_helper.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-i386/mem_helper.c
/openbmc/qemu/target-i386/misc_helper.c
/openbmc/qemu/target-i386/mpx_helper.c
/openbmc/qemu/target-i386/smm_helper.c
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/tests/ac97-test.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/boot-order-test.c
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/check-qfloat.c
/openbmc/qemu/tests/check-qint.c
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/check-qlist.c
/openbmc/qemu/tests/check-qom-interface.c
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/check-qstring.c
/openbmc/qemu/tests/crypto-tls-x509-helpers.c
/openbmc/qemu/tests/device-introspect-test.c
/openbmc/qemu/tests/display-vga-test.c
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/ds1338-test.c
/openbmc/qemu/tests/e1000-test.c
/openbmc/qemu/tests/eepro100-test.c
/openbmc/qemu/tests/endianness-test.c
/openbmc/qemu/tests/es1370-test.c
/openbmc/qemu/tests/fdc-test.c
/openbmc/qemu/tests/fw_cfg-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/i440fx-test.c
/openbmc/qemu/tests/i82801b11-test.c
/openbmc/qemu/tests/intel-hda-test.c
/openbmc/qemu/tests/io-channel-helpers.c
/openbmc/qemu/tests/ioh3420-test.c
/openbmc/qemu/tests/ipmi-bt-test.c
/openbmc/qemu/tests/ipmi-kcs-test.c
/openbmc/qemu/tests/ipoctal232-test.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqos/fw_cfg.c
/openbmc/qemu/tests/libqos/i2c-imx.c
/openbmc/qemu/tests/libqos/i2c-omap.c
/openbmc/qemu/tests/libqos/i2c.c
/openbmc/qemu/tests/libqos/libqos-pc.c
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/libqos/malloc-generic.c
/openbmc/qemu/tests/libqos/malloc-pc.c
/openbmc/qemu/tests/libqos/malloc.c
/openbmc/qemu/tests/libqos/pci-pc.c
/openbmc/qemu/tests/libqos/pci.c
/openbmc/qemu/tests/libqos/usb.c
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/m48t59-test.c
/openbmc/qemu/tests/ne2000-test.c
/openbmc/qemu/tests/nvme-test.c
/openbmc/qemu/tests/pc-cpu-test.c
/openbmc/qemu/tests/pcnet-test.c
/openbmc/qemu/tests/pkix_asn1_tab.c
/openbmc/qemu/tests/pvpanic-test.c
/openbmc/qemu/tests/q35-test.c
/openbmc/qemu/tests/qemu-iotests/socket_scm_helper.c
/openbmc/qemu/tests/qom-test.c
/openbmc/qemu/tests/rcutorture.c
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/rtl8139-test.c
/openbmc/qemu/tests/spapr-phb-test.c
/openbmc/qemu/tests/tco-test.c
/openbmc/qemu/tests/test-aio.c
/openbmc/qemu/tests/test-base64.c
/openbmc/qemu/tests/test-bitops.c
/openbmc/qemu/tests/test-blockjob-txn.c
/openbmc/qemu/tests/test-coroutine.c
/openbmc/qemu/tests/test-crypto-cipher.c
/openbmc/qemu/tests/test-crypto-hash.c
/openbmc/qemu/tests/test-crypto-secret.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-cutils.c
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-int128.c
/openbmc/qemu/tests/test-io-channel-buffer.c
/openbmc/qemu/tests/test-io-channel-command.c
/openbmc/qemu/tests/test-io-channel-file.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-io-task.c
/openbmc/qemu/tests/test-iov.c
/openbmc/qemu/tests/test-mul64.c
/openbmc/qemu/tests/test-netfilter.c
/openbmc/qemu/tests/test-opts-visitor.c
/openbmc/qemu/tests/test-qdev-global-props.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-qmp-input-strict.c
/openbmc/qemu/tests/test-qmp-input-visitor.c
/openbmc/qemu/tests/test-qmp-output-visitor.c
/openbmc/qemu/tests/test-rcu-list.c
/openbmc/qemu/tests/test-rfifolock.c
/openbmc/qemu/tests/test-string-input-visitor.c
/openbmc/qemu/tests/test-string-output-visitor.c
/openbmc/qemu/tests/test-thread-pool.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/tests/test-timed-average.c
/openbmc/qemu/tests/test-visitor-serialization.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/test-write-threshold.c
/openbmc/qemu/tests/test-x86-cpuid.c
/openbmc/qemu/tests/test-xbzrle.c
/openbmc/qemu/tests/tmp105-test.c
/openbmc/qemu/tests/tpci200-test.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-balloon-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-console-test.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/tests/virtio-rng-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/tests/virtio-serial-test.c
/openbmc/qemu/tests/vmxnet3-test.c
/openbmc/qemu/tests/wdt_ib700-test.c
oslib-posix.c
/openbmc/qemu/xen-common.c
/openbmc/qemu/xen-hvm.c
58c652c022-Jan-2016 Paolo Bonzini <pbonzini@redhat.com>

qemu-sockets: simplify error handling

Just go always through the err label. (Noticed because Coverity
complains that peer is always non-NULL in the error cleanup code,
but removing the "if" is argu

qemu-sockets: simplify error handling

Just go always through the err label. (Noticed because Coverity
complains that peer is always non-NULL in the error cleanup code,
but removing the "if" is arguably more prone to introducing the
opposite bug in the future).

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

show more ...

f075c89f09-Feb-2016 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

# gpg: Signature made Tue 09 Feb 2016 15:11:25 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan H

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

# gpg: Signature made Tue 09 Feb 2016 15:11:25 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"

* remotes/stefanha/tags/block-pull-request:
block: add missing call to bdrv_drain_recurse
blockjob: Fix hang in block_job_finish_sync
iov: avoid memcpy for "simple" iov_from_buf/iov_to_buf

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

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/HACKING
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block/io.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/cpus.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/xlnx-ep108.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/i386/pc.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/tmp105.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/qapi/error.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/iov.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/memory.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-buffer.c
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/qapi-dealloc-visitor.c
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qmp-input-visitor.c
/openbmc/qemu/qapi/qmp-output-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/translate-a64.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/translate.c
/openbmc/qemu/target-cris/translate_v10.c
/openbmc/qemu/target-i386/cpu.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/translate.c
/openbmc/qemu/target-openrisc/translate.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-ppc/translate_init.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-tilegx/translate.c
/openbmc/qemu/target-tricore/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/target-xtensa/translate.c
/openbmc/qemu/tcg/ia64/tcg-target.c
/openbmc/qemu/tcg/tcg-be-ldst.h
/openbmc/qemu/tcg/tcg-be-null.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/test-qdev-global-props.c
/openbmc/qemu/tests/test-qmp-output-visitor.c
iov.c
/openbmc/qemu/vl.c
ad523bca22-Dec-2015 Paolo Bonzini <pbonzini@redhat.com>

iov: avoid memcpy for "simple" iov_from_buf/iov_to_buf

memcpy can take a large amount of time for small reads and writes.
For virtio it is a common case that the first iovec can satisfy the
whole re

iov: avoid memcpy for "simple" iov_from_buf/iov_to_buf

memcpy can take a large amount of time for small reads and writes.
For virtio it is a common case that the first iovec can satisfy the
whole read or write. In that case, and if bytes is a constant to
avoid excessive growth of code, inline the first iteration
into the caller.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1450782213-14227-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...

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