History log of /openbmc/qemu/hw/core/ (Results 851 – 875 of 1522)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9d7bd08219-Nov-2019 Michael Roth <mdroth@linux.vnet.ibm.com>

virtio-pci: disable vring processing when bus-mastering is disabled

Currently the SLOF firmware for pseries guests will disable/re-enable
a PCI device multiple times via IO/MEM/MASTER bits of PCI_CO

virtio-pci: disable vring processing when bus-mastering is disabled

Currently the SLOF firmware for pseries guests will disable/re-enable
a PCI device multiple times via IO/MEM/MASTER bits of PCI_COMMAND
register after the initial probe/feature negotiation, as it tends to
work with a single device at a time at various stages like probing
and running block/network bootloaders without doing a full reset
in-between.

In QEMU, when PCI_COMMAND_MASTER is disabled we disable the
corresponding IOMMU memory region, so DMA accesses (including to vring
fields like idx/flags) will no longer undergo the necessary
translation. Normally we wouldn't expect this to happen since it would
be misbehavior on the driver side to continue driving DMA requests.

However, in the case of pseries, with iommu_platform=on, we trigger the
following sequence when tearing down the virtio-blk dataplane ioeventfd
in response to the guest unsetting PCI_COMMAND_MASTER:

#2 0x0000555555922651 in virtqueue_map_desc (vdev=vdev@entry=0x555556dbcfb0, p_num_sg=p_num_sg@entry=0x7fffe657e1a8, addr=addr@entry=0x7fffe657e240, iov=iov@entry=0x7fffe6580240, max_num_sg=max_num_sg@entry=1024, is_write=is_write@entry=false, pa=0, sz=0)
at /home/mdroth/w/qemu.git/hw/virtio/virtio.c:757
#3 0x0000555555922a89 in virtqueue_pop (vq=vq@entry=0x555556dc8660, sz=sz@entry=184)
at /home/mdroth/w/qemu.git/hw/virtio/virtio.c:950
#4 0x00005555558d3eca in virtio_blk_get_request (vq=0x555556dc8660, s=0x555556dbcfb0)
at /home/mdroth/w/qemu.git/hw/block/virtio-blk.c:255
#5 0x00005555558d3eca in virtio_blk_handle_vq (s=0x555556dbcfb0, vq=0x555556dc8660)
at /home/mdroth/w/qemu.git/hw/block/virtio-blk.c:776
#6 0x000055555591dd66 in virtio_queue_notify_aio_vq (vq=vq@entry=0x555556dc8660)
at /home/mdroth/w/qemu.git/hw/virtio/virtio.c:1550
#7 0x000055555591ecef in virtio_queue_notify_aio_vq (vq=0x555556dc8660)
at /home/mdroth/w/qemu.git/hw/virtio/virtio.c:1546
#8 0x000055555591ecef in virtio_queue_host_notifier_aio_poll (opaque=0x555556dc86c8)
at /home/mdroth/w/qemu.git/hw/virtio/virtio.c:2527
#9 0x0000555555d02164 in run_poll_handlers_once (ctx=ctx@entry=0x55555688bfc0, timeout=timeout@entry=0x7fffe65844a8)
at /home/mdroth/w/qemu.git/util/aio-posix.c:520
#10 0x0000555555d02d1b in try_poll_mode (timeout=0x7fffe65844a8, ctx=0x55555688bfc0)
at /home/mdroth/w/qemu.git/util/aio-posix.c:607
#11 0x0000555555d02d1b in aio_poll (ctx=ctx@entry=0x55555688bfc0, blocking=blocking@entry=true)
at /home/mdroth/w/qemu.git/util/aio-posix.c:639
#12 0x0000555555d0004d in aio_wait_bh_oneshot (ctx=0x55555688bfc0, cb=cb@entry=0x5555558d5130 <virtio_blk_data_plane_stop_bh>, opaque=opaque@entry=0x555556de86f0)
at /home/mdroth/w/qemu.git/util/aio-wait.c:71
#13 0x00005555558d59bf in virtio_blk_data_plane_stop (vdev=<optimized out>)
at /home/mdroth/w/qemu.git/hw/block/dataplane/virtio-blk.c:288
#14 0x0000555555b906a1 in virtio_bus_stop_ioeventfd (bus=bus@entry=0x555556dbcf38)
at /home/mdroth/w/qemu.git/hw/virtio/virtio-bus.c:245
#15 0x0000555555b90dbb in virtio_bus_stop_ioeventfd (bus=bus@entry=0x555556dbcf38)
at /home/mdroth/w/qemu.git/hw/virtio/virtio-bus.c:237
#16 0x0000555555b92a8e in virtio_pci_stop_ioeventfd (proxy=0x555556db4e40)
at /home/mdroth/w/qemu.git/hw/virtio/virtio-pci.c:292
#17 0x0000555555b92a8e in virtio_write_config (pci_dev=0x555556db4e40, address=<optimized out>, val=1048832, len=<optimized out>)
at /home/mdroth/w/qemu.git/hw/virtio/virtio-pci.c:613

I.e. the calling code is only scheduling a one-shot BH for
virtio_blk_data_plane_stop_bh, but somehow we end up trying to process
an additional virtqueue entry before we get there. This is likely due
to the following check in virtio_queue_host_notifier_aio_poll:

static bool virtio_queue_host_notifier_aio_poll(void *opaque)
{
EventNotifier *n = opaque;
VirtQueue *vq = container_of(n, VirtQueue, host_notifier);
bool progress;

if (!vq->vring.desc || virtio_queue_empty(vq)) {
return false;
}

progress = virtio_queue_notify_aio_vq(vq);

namely the call to virtio_queue_empty(). In this case, since no new
requests have actually been issued, shadow_avail_idx == last_avail_idx,
so we actually try to access the vring via vring_avail_idx() to get
the latest non-shadowed idx:

int virtio_queue_empty(VirtQueue *vq)
{
bool empty;
...

if (vq->shadow_avail_idx != vq->last_avail_idx) {
return 0;
}

rcu_read_lock();
empty = vring_avail_idx(vq) == vq->last_avail_idx;
rcu_read_unlock();
return empty;

but since the IOMMU region has been disabled we get a bogus value (0
usually), which causes virtio_queue_empty() to falsely report that
there are entries to be processed, which causes errors such as:

"virtio: zero sized buffers are not allowed"

or

"virtio-blk missing headers"

and puts the device in an error state.

This patch works around the issue by introducing virtio_set_disabled(),
which sets a 'disabled' flag to bypass checks like virtio_queue_empty()
when bus-mastering is disabled. Since we'd check this flag at all the
same sites as vdev->broken, we replace those checks with an inline
function which checks for either vdev->broken or vdev->disabled.

The 'disabled' flag is only migrated when set, which should be fairly
rare, but to maintain migration compatibility we disable it's use for
older machine types. Users requiring the use of the flag in conjunction
with older machine types can set it explicitly as a virtio-device
option.

NOTES:

- This leaves some other oddities in play, like the fact that
DRIVER_OK also gets unset in response to bus-mastering being
disabled, but not restored (however the device seems to continue
working)
- Similarly, we disable the host notifier via
virtio_bus_stop_ioeventfd(), which seems to move the handling out
of virtio-blk dataplane and back into the main IO thread, and it
ends up staying there till a reset (but otherwise continues working
normally)

Cc: David Gibson <david@gibson.dropbear.id.au>,
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Message-Id: <20191120005003.27035-1-mdroth@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/block.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-gpu/50-qemu-gpu.json.in
/openbmc/qemu/docs/arm-cpu-features.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/virtio-net-failover.rst
/openbmc/qemu/docs/virtio-pmem.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
machine.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/net/can/can_sja1000.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/exec/log.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/net/can/can_socketcan.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/jump2ipl.c
/openbmc/qemu/pc-bios/s390-netboot.img
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.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/block-core.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/config.seabios-128k
/openbmc/qemu/roms/seabios
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/lm32/translate.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/tilegx/translate.c
/openbmc/qemu/target/unicore32/translate.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/boot-sector.c
/openbmc/qemu/tests/docker/common.rc
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/qemu-iotests/005
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/049
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/079
/openbmc/qemu/tests/qemu-iotests/206
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/211
/openbmc/qemu/tests/qemu-iotests/212
/openbmc/qemu/tests/qemu-iotests/213
/openbmc/qemu/tests/qemu-iotests/220
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/266
/openbmc/qemu/tests/qemu-iotests/266.out
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/273
/openbmc/qemu/tests/qemu-iotests/273.out
/openbmc/qemu/tests/qemu-iotests/279
/openbmc/qemu/tests/qemu-iotests/279.out
/openbmc/qemu/tests/qemu-iotests/280
/openbmc/qemu/tests/qemu-iotests/280.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/tcg/Makefile.prereqs
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-logging.c
/openbmc/qemu/tests/test-util-filemonitor.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/trace/control.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/log.c
4800819820-Dec-2019 Peter Maydell <peter.maydell@linaro.org>

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

* More uses of RCU_READ_LOCK_GUARD (Dave, myself)
* QOM doc improvments (Greg)
* Cleanups from the Meson conversion (Mar

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

* More uses of RCU_READ_LOCK_GUARD (Dave, myself)
* QOM doc improvments (Greg)
* Cleanups from the Meson conversion (Marc-André)
* Support for multiple -accel options (myself)
* Many x86 machine cleanup (Philippe, myself)
* tests/migration-test cleanup (Juan)
* PC machine removal and next round of deprecation (Thomas)
* kernel-doc integration (Peter, myself)

# gpg: Signature made Wed 18 Dec 2019 01:35:02 GMT
# gpg: using RSA key BFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (87 commits)
vga: cleanup mapping of VRAM for non-PCI VGA
hw/display: Remove "rombar" hack from vga-pci and vmware_vga
hw/pci: Remove the "command_serr_enable" property
hw/audio: Remove the "use_broken_id" hack from the AC97 device
hw/i386: Remove the deprecated machines 0.12 up to 0.15
hw/pci-host: Add Kconfig entry to select the IGD Passthrough Host Bridge
hw/pci-host/i440fx: Extract the IGD passthrough host bridge device
hw/pci-host/i440fx: Use definitions instead of magic values
hw/pci-host/i440fx: Use size_t to iterate over ARRAY_SIZE()
hw/pci-host/i440fx: Extract PCII440FXState to "hw/pci-host/i440fx.h"
hw/pci-host/i440fx: Correct the header description
Fix some comment spelling errors.
target/i386: remove unused pci-assign codes
WHPX: refactor load library
migration: check length directly to make sure the range is aligned
memory: include MemoryListener documentation and some missing function parameters
docs: add memory API reference
memory.h: Silence kernel-doc complaints
docs: Create bitops.rst as example of kernel-docs
bitops.h: Silence kernel-doc complaints
...

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

show more ...


/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/backends/cryptodev.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/disas/libvixl/Makefile.objs
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/bitops.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/memory.rst
/openbmc/qemu/docs/sphinx/kerneldoc.py
/openbmc/qemu/docs/sphinx/kernellog.py
/openbmc/qemu/exec.c
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/acpi-x86-stub.c
/openbmc/qemu/hw/alpha/alpha_sys.h
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/audio/ac97.c
machine.c
/openbmc/qemu/hw/display/vga-isa-mm.c
/openbmc/qemu/hw/display/vga-isa.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/vga_int.h
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/hppa/hppa_sys.h
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/hyperv/hyperv.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/fw_cfg.c
/openbmc/qemu/hw/i386/fw_cfg.h
/openbmc/qemu/hw/i386/kvm/Makefile.objs
/openbmc/qemu/hw/i386/kvm/i8259.c
/openbmc/qemu/hw/i386/kvm/ioapic.c
/openbmc/qemu/hw/i386/microvm.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/port92.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/x86-iommu-stub.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/i8259.c
/openbmc/qemu/hw/intc/i8259_common.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/isa/isa-bus.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/xen_igd_pt.c
/openbmc/qemu/hw/pci/pci-stub.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/tpm/tpm_emulator.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/intc/i8259.h
/openbmc/qemu/include/hw/isa/i8259_internal.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/pci-host/i440fx.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/accel.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/qemu-bridge-helper.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/kernel-doc
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/kvm_i386.h
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/whp-dispatch.h
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/arm-cpu-features.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/cdrom-test.c
/openbmc/qemu/tests/cpu-plug-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/pflash-cfi02-test.c
/openbmc/qemu/tests/pnv-xscom-test.c
/openbmc/qemu/tests/prom-env-test.c
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/qsp.c
/openbmc/qemu/vl.c
fcd3f2cc12-Dec-2019 Igor Mammedov <imammedo@redhat.com>

numa: properly check if numa is supported

Commit aa57020774b, by mistake used MachineClass::numa_mem_supported
to check if NUMA is supported by machine and also as unrelated change
set it to true fo

numa: properly check if numa is supported

Commit aa57020774b, by mistake used MachineClass::numa_mem_supported
to check if NUMA is supported by machine and also as unrelated change
set it to true for sbsa-ref board.

Luckily change didn't break machines that support NUMA, as the field
is set to true for them.

But the field is not intended for checking if NUMA is supported and
will be flipped to false within this release for new machine types.

Fix it:
- by using previously used condition
!mc->cpu_index_to_instance_props || !mc->get_default_cpu_node_id
the first time and then use MachineState::numa_state down the road
to check if NUMA is supported
- dropping stray sbsa-ref chunk

Fixes: aa57020774b690a22be72453b8e91c9b5a68c516
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1576154936-178362-3-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

show more ...

5275db5912-Dec-2019 Igor Mammedov <imammedo@redhat.com>

numa: remove not needed check

Currently parse_numa_node() is always called from already numa
enabled context.
Drop unnecessary check if numa is supported.

Signed-off-by: Igor Mammedov <imammedo@red

numa: remove not needed check

Currently parse_numa_node() is always called from already numa
enabled context.
Drop unnecessary check if numa is supported.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1576154936-178362-2-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
/openbmc/qemu/configure
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/bt/Kconfig
numa.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/exynos4210_gic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_homer.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_pnor.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_homer.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_pnor.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xive.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive_regs.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/virtio_ring.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/python/qemu/__init__.py
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/target/arm/arm-powerctl.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/op_helper.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/timebase_helper.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/sigp.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/acceptance/empty_cpu_model.py
/openbmc/qemu/tests/acceptance/linux_initrd.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_m68k_nextcube.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/modules-test.c
/openbmc/qemu/tests/test-bitmap.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/vl.c
40f03bd505-Dec-2019 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

hw/core/qdev: cleanup Error ** variables

Rename Error ** parameter in check_only_migratable to common errp.

In device_set_realized:

- Move "if (local_err != NULL)" closer to error setters.

- Dr

hw/core/qdev: cleanup Error ** variables

Rename Error ** parameter in check_only_migratable to common errp.

In device_set_realized:

- Move "if (local_err != NULL)" closer to error setters.

- Drop 'Error **local_errp': it doesn't save any LoCs, but it's very
unusual.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191205174635.18758-10-vsementsov@virtuozzo.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

187c614705-Dec-2019 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

hmp: drop Error pointer indirection in hmp_handle_error

We don't need Error **, as all callers pass local Error object, which
isn't used after the call. Use Error * instead.

Signed-off-by: Vladimir

hmp: drop Error pointer indirection in hmp_handle_error

We don't need Error **, as all callers pass local Error object, which
isn't used after the call. Use Error * instead.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191205174635.18758-5-vsementsov@virtuozzo.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

bc0e339b04-Dec-2019 Markus Armbruster <armbru@redhat.com>

hw/core: Fix fit_load_fdt() error API violations

fit_load_fdt() passes @errp to fit_image_addr(), then recovers from
ENOENT failures. Passing @errp is wrong, because it works only as
long as @errp

hw/core: Fix fit_load_fdt() error API violations

fit_load_fdt() passes @errp to fit_image_addr(), then recovers from
ENOENT failures. Passing @errp is wrong, because it works only as
long as @errp is neither @error_fatal nor @error_abort. Error
recovery dereferences @errp. That's also wrong; see the big comment
in error.h. Error recovery can leave *errp pointing to a freed
Error object. Wrong, it must be null on success. Messed up in
commit 3eb99edb48 "loader-fit: Wean off error_printf()".

No caller actually passes such values, or uses *errp on success.

Fix anyway: splice in a local Error *err, and error_propagate().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191204093625.14836-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
/openbmc/qemu/configure
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/bt/Kconfig
loader-fit.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/exynos4210_gic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_homer.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_pnor.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/crypto/tlssession.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_homer.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_pnor.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xive.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive_regs.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/error-report.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/virtio_ring.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/python/qemu/__init__.py
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/target/arm/arm-powerctl.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/op_helper.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/timebase_helper.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/sigp.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/acceptance/empty_cpu_model.py
/openbmc/qemu/tests/acceptance/linux_initrd.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_m68k_nextcube.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/modules-test.c
/openbmc/qemu/tests/test-bitmap.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-string-output-visitor.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/qemu-error.c
/openbmc/qemu/vl.c
11bc4a1313-Nov-2019 Paolo Bonzini <pbonzini@redhat.com>

kvm: convert "-machine kernel_irqchip" to an accelerator property

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

23b0898e13-Nov-2019 Paolo Bonzini <pbonzini@redhat.com>

kvm: convert "-machine kvm_shadow_mem" to an accelerator property

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

46472d8213-Nov-2019 Paolo Bonzini <pbonzini@redhat.com>

xen: convert "-machine igd-passthru" to an accelerator property

The first machine property to fall is Xen's Intel integrated graphics
passthrough. The "-machine igd-passthru" option does not set an

xen: convert "-machine igd-passthru" to an accelerator property

The first machine property to fall is Xen's Intel integrated graphics
passthrough. The "-machine igd-passthru" option does not set anymore
a property on the machine object, but desugars to a GlobalProperty on
accelerator objects.

The setter is very simple, since the value ends up in a
global variable, so this patch also provides an example before the more
complicated cases that follow it.

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

show more ...

6f6e169813-Nov-2019 Paolo Bonzini <pbonzini@redhat.com>

vl: configure accelerators from -accel options

Drop the "accel" property from MachineState, and instead desugar
"-machine accel=" to a list of "-accel" options.

This has a semantic change due to re

vl: configure accelerators from -accel options

Drop the "accel" property from MachineState, and instead desugar
"-machine accel=" to a list of "-accel" options.

This has a semantic change due to removing merge_lists from -accel.
For example:

- "-accel kvm -accel tcg" all but ignored "-accel kvm". This is a bugfix.

- "-accel kvm -accel thread=single" ignored "thread=single", since it
applied the option to KVM. Now it fails due to not specifying the
accelerator on "-accel thread=single".

- "-accel tcg -accel thread=single" chose single-threaded TCG, while now
it will fail due to not specifying the accelerator on "-accel
thread=single".

Also, "-machine accel" and "-accel" become incompatible.

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

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/bt/Kconfig
machine.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/exynos4210_gic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_homer.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_pnor.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_homer.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_pnor.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xive.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive_regs.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/virtio_ring.h
/openbmc/qemu/include/sysemu/accel.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/python/qemu/__init__.py
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/target/arm/arm-powerctl.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/op_helper.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/timebase_helper.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/sigp.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/acceptance/empty_cpu_model.py
/openbmc/qemu/tests/acceptance/linux_initrd.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_m68k_nextcube.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/arm-cpu-features.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/cdrom-test.c
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/modules-test.c
/openbmc/qemu/tests/pflash-cfi02-test.c
/openbmc/qemu/tests/pnv-xscom-test.c
/openbmc/qemu/tests/prom-env-test.c
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/test-bitmap.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/vl.c
5f25857705-Nov-2019 Evgeny Yakovlev <wrfsh@yandex-team.ru>

virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_WCE is advertised

Virtio spec 1.1 (and earlier), 5.2.5.2 Driver Requirements: Device
Initialization:

"Devices SHOULD always offer VIRTIO_BLK_F_FLUS

virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_WCE is advertised

Virtio spec 1.1 (and earlier), 5.2.5.2 Driver Requirements: Device
Initialization:

"Devices SHOULD always offer VIRTIO_BLK_F_FLUSH, and MUST offer it if
they offer VIRTIO_BLK_F_CONFIG_WCE"

Currently F_CONFIG_WCE and F_WCE are not connected to each other.
Qemu will advertise F_CONFIG_WCE if config-wce argument is
set for virtio-blk device. And F_WCE is advertised only if
underlying block backend actually has it's caching enabled.

Fix this by advertising F_WCE if F_CONFIG_WCE is also advertised.

To preserve backwards compatibility with newer machine types make this
behaviour governed by "x-enable-wce-if-config-wce" virtio-blk-device
property and introduce hw_compat_4_2 with new property being off by
default for all machine types <= 4.2 (but don't introduce 4.3
machine type itself yet).

Signed-off-by: Evgeny Yakovlev <wrfsh@yandex-team.ru>
Message-Id: <1572978137-189218-1-git-send-email-wrfsh@yandex-team.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-server/ivshmem-server.c
/openbmc/qemu/contrib/ivshmem-server/main.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/vhost-user-input/main.c
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/tcg-plugins.rst
/openbmc/qemu/docs/microvm.rst
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/virtio-blk.c
machine.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/microvm.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/x86.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/mips/trace-events
/openbmc/qemu/hw/misc/mos6522.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/opensbi-riscv32-virt-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-virt-fw_jump.bin
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/sclp.c
/openbmc/qemu/pc-bios/s390-netboot.img
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.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/plugins/loader.c
/openbmc/qemu/plugins/plugin.h
/openbmc/qemu/po/zh_CN.po
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/opensbi
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/get_maintainer.pl
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/vmx.h
/openbmc/qemu/target/i386/hvf/x86_decode.c
/openbmc/qemu/target/i386/hvf/x86_decode.h
/openbmc/qemu/target/i386/hvf/x86_emu.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/cpu-plug-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/plugin/bb.c
/openbmc/qemu/tests/plugin/empty.c
/openbmc/qemu/tests/plugin/hotblocks.c
/openbmc/qemu/tests/plugin/hotpages.c
/openbmc/qemu/tests/plugin/howvec.c
/openbmc/qemu/tests/plugin/insn.c
/openbmc/qemu/tests/plugin/mem.c
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/094.out
/openbmc/qemu/tests/qemu-iotests/095.out
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/117.out
/openbmc/qemu/tests/qemu-iotests/127.out
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/144.out
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/156.out
/openbmc/qemu/tests/qemu-iotests/161.out
/openbmc/qemu/tests/qemu-iotests/169
/openbmc/qemu/tests/qemu-iotests/169.out
/openbmc/qemu/tests/qemu-iotests/173
/openbmc/qemu/tests/qemu-iotests/173.out
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/183.out
/openbmc/qemu/tests/qemu-iotests/185.out
/openbmc/qemu/tests/qemu-iotests/191.out
/openbmc/qemu/tests/qemu-iotests/200.out
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/229.out
/openbmc/qemu/tests/qemu-iotests/249.out
/openbmc/qemu/tests/qemu-iotests/273
/openbmc/qemu/tests/qemu-iotests/273.out
/openbmc/qemu/tests/qemu-iotests/277
/openbmc/qemu/tests/qemu-iotests/277.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/nbd-fault-injector.py
/openbmc/qemu/tests/tcg/multiarch/float_helpers.c
/openbmc/qemu/tests/tcg/multiarch/linux-test.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
88ed5db106-Nov-2019 Greg Kurz <groug@kaod.org>

numa: Add missing \n to error message

If memory allocation fails when using -mem-path, QEMU is supposed to print
out a message to indicate that fallback to anonymous RAM is deprecated. This
is done

numa: Add missing \n to error message

If memory allocation fails when using -mem-path, QEMU is supposed to print
out a message to indicate that fallback to anonymous RAM is deprecated. This
is done with error_printf() which does output buffering. As a consequence,
the message is only printed at the next flush, eg. when quiting QEMU, and
it also lacks a trailing newline:

qemu-system-ppc64: unable to map backing store for guest RAM: Cannot allocate memory
qemu-system-ppc64: warning: falling back to regular RAM allocation
QEMU 4.1.50 monitor - type 'help' for more information
(qemu) q
This is deprecated. Make sure that -mem-path specified path has sufficient resources to allocate -m specified RAM amountgreg@boss02:~/Work/qemu/qemu-spapr$

Add the missing \n to fix both issues.

Fixes: cb79224b7e4b "deprecate -mem-path fallback to anonymous RAM"
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <157304440026.351774.14607704217028190097.stgit@bahia.lan>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

af2a580f11-Nov-2019 Peter Maydell <peter.maydell@linaro.org>

ptimer: Remove old ptimer_init_with_bh() API

Now all the users of ptimers have converted to the transaction-based
API, we can remove ptimer_init_with_bh() and all the code paths
that are used only b

ptimer: Remove old ptimer_init_with_bh() API

Now all the users of ptimers have converted to the transaction-based
API, we can remove ptimer_init_with_bh() and all the code paths
that are used only by bottom-half based ptimers, and tidy up the
documentation comments to consider the transaction-based API the
only possibility.

The code changes result from:
* s->bh no longer exists
* s->callback is now always non-NULL

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191025142411.17085-1-peter.maydell@linaro.org

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/configure
/openbmc/qemu/docs/interop/pr-helper.rst
/openbmc/qemu/docs/specs/ppc-spapr-hotplug.txt
/openbmc/qemu/docs/specs/ppc-xive.rst
/openbmc/qemu/docs/specs/tpm.txt
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
ptimer.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/isa/Makefile.objs
/openbmc/qemu/hw/isa/piix3.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/misc/grlib_ahb_apb_pnp.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/virtio/virtio-bus.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/pci-host/i440fx.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/southbridge/piix.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/hw/xen/interface/io/blkif.h
/openbmc/qemu/linux-user/aarch64/target_cpu.h
/openbmc/qemu/linux-user/alpha/target_cpu.h
/openbmc/qemu/linux-user/arm/target_cpu.h
/openbmc/qemu/linux-user/cris/target_cpu.h
/openbmc/qemu/linux-user/hppa/target_cpu.h
/openbmc/qemu/linux-user/i386/target_cpu.h
/openbmc/qemu/linux-user/m68k/target_cpu.h
/openbmc/qemu/linux-user/microblaze/target_cpu.h
/openbmc/qemu/linux-user/mips/target_cpu.h
/openbmc/qemu/linux-user/nios2/target_cpu.h
/openbmc/qemu/linux-user/openrisc/target_cpu.h
/openbmc/qemu/linux-user/ppc/target_cpu.h
/openbmc/qemu/linux-user/riscv/target_cpu.h
/openbmc/qemu/linux-user/s390x/target_cpu.h
/openbmc/qemu/linux-user/sh4/target_cpu.h
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/sparc/target_cpu.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/tilegx/target_cpu.h
/openbmc/qemu/linux-user/xtensa/target_cpu.h
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/qemu-binfmt-conf.sh
/openbmc/qemu/stubs/pci-host-piix.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/tests/image-fuzzer/qcow2/__init__.py
/openbmc/qemu/tests/image-fuzzer/qcow2/fuzz.py
/openbmc/qemu/tests/image-fuzzer/qcow2/layout.py
/openbmc/qemu/tests/image-fuzzer/runner.py
/openbmc/qemu/tests/qemu-iotests/272
/openbmc/qemu/tests/qemu-iotests/272.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/multiarch/linux-test.c
fc531e7c07-Jan-2018 Philippe Mathieu-Daudé <f4bug@amsat.org>

Revert "irq: introduce qemu_irq_proxy()"

This function isn't used anymore.

This reverts commit 22ec3283efba9ba0792790da786d6776d83f2a92.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Li

Revert "irq: introduce qemu_irq_proxy()"

This function isn't used anymore.

This reverts commit 22ec3283efba9ba0792790da786d6776d83f2a92.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Esteban Bosse <estebanbosse@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

68d8ef4e30-Oct-2019 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/stsquad/tags/pull-tcg-plugins-281019-4' into staging

TCG Plugins initial implementation

- use --enable-plugins @ configure
- low impact introspection (-plu

Merge remote-tracking branch 'remotes/stsquad/tags/pull-tcg-plugins-281019-4' into staging

TCG Plugins initial implementation

- use --enable-plugins @ configure
- low impact introspection (-plugin empty.so to measure overhead)
- plugins cannot alter guest state
- example plugins included in source tree (tests/plugins)
- -d plugin to enable plugin output in logs
- check-tcg runs extra tests when plugins enabled
- documentation in docs/devel/plugins.rst

# gpg: Signature made Mon 28 Oct 2019 15:13:23 GMT
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-tcg-plugins-281019-4: (57 commits)
travis.yml: enable linux-gcc-debug-tcg cache
MAINTAINERS: add me for the TCG plugins code
scripts/checkpatch.pl: don't complain about (foo, /* empty */)
.travis.yml: add --enable-plugins tests
include/exec: wrap cpu_ldst.h in CONFIG_TCG
accel/stubs: reduce headers from tcg-stub
tests/plugin: add hotpages to analyse memory access patterns
tests/plugin: add instruction execution breakdown
tests/plugin: add a hotblocks plugin
tests/tcg: enable plugin testing
tests/tcg: drop test-i386-fprem from TESTS when not SLOW
tests/tcg: move "virtual" tests to EXTRA_TESTS
tests/tcg: set QEMU_OPTS for all cris runs
tests/tcg/Makefile.target: fix path to config-host.mak
tests/plugin: add sample plugins
linux-user: support -plugin option
vl: support -plugin option
plugin: add qemu_plugin_outs helper
plugin: add qemu_plugin_insn_disas helper
plugin: expand the plugin_init function to include an info block
...

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

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/Makefile.objs
/openbmc/qemu/accel/tcg/atomic_common.inc.c
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/plugin-helpers.h
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/domain-map
/openbmc/qemu/contrib/gitdm/group-map-individuals
/openbmc/qemu/cpus-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas.c
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/plugins.rst
/openbmc/qemu/docs/virtio-net-failover.rst
/openbmc/qemu/exec.c
cpu.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/disas/disas.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/cpu_ldst_template.h
/openbmc/qemu/include/exec/cpu_ldst_useronly_template.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/helper-gen.h
/openbmc/qemu/include/exec/helper-proto.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/exec/plugin-gen.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qemu/plugin-memory.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/user/syscall-trace.h
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/plugins/.gitignore
/openbmc/qemu/plugins/Makefile.objs
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/plugins/plugin.h
/openbmc/qemu/plugins/qemu-plugins.symbols
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/arm_ldst.h
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/plugin/Makefile
/openbmc/qemu/tests/plugin/bb.c
/openbmc/qemu/tests/plugin/empty.c
/openbmc/qemu/tests/plugin/hotblocks.c
/openbmc/qemu/tests/plugin/hotpages.c
/openbmc/qemu/tests/plugin/howvec.c
/openbmc/qemu/tests/plugin/insn.c
/openbmc/qemu/tests/plugin/mem.c
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/arm/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/cris/Makefile.target
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/trace-events
/openbmc/qemu/trace/mem-internal.h
/openbmc/qemu/trace/mem.h
/openbmc/qemu/util/log.c
/openbmc/qemu/vl.c
a1190ab629-Oct-2019 Jens Freimann <jfreimann@redhat.com>

migration: allow unplug during migration for failover devices

In "b06424de62 migration: Disable hotplug/unplug during migration" we
added a check to disable unplug for all devices until we have figu

migration: allow unplug during migration for failover devices

In "b06424de62 migration: Disable hotplug/unplug during migration" we
added a check to disable unplug for all devices until we have figured
out what works. For failover primary devices qdev_unplug() is called
from the migration handler, i.e. during migration.

This patch adds a flag to DeviceState which is set to false for all
devices and makes an exception for PCI devices that are also
primary devices in a failover pair.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <20191029114905.6856-8-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f3a8505629-Oct-2019 Jens Freimann <jfreimann@redhat.com>

qdev/qbus: add hidden device support

This adds support for hiding a device to the qbus and qdev APIs. The
first user of this will be the virtio-net failover feature but the API
introduced with this

qdev/qbus: add hidden device support

This adds support for hiding a device to the qbus and qdev APIs. The
first user of this will be the virtio-net failover feature but the API
introduced with this patch could be used to implement other features as
well, for example hiding pci devices when a pci bus is powered off.

qdev_device_add() is modified to check for a failover_pair_id
argument in the option string. A DeviceListener callback
should_be_hidden() is added. It can be used by a standby device to
inform qdev that this device should not be added now. The standby device
handler can store the device options to plug the device in at a later
point in time.

One reason for hiding the device is that we don't want to expose both
devices to the guest kernel until the respective virtio feature bit
VIRTIO_NET_F_STANDBY was negotiated and we know that the devices will be
handled correctly by the guest.

More information on the kernel feature this is using:
https://www.kernel.org/doc/html/latest/networking/net_failover.html

An example where the primary device is a vfio-pci device and the standby
device is a virtio-net device:

A device is hidden when it has an "failover_pair_id" option, e.g.

-device virtio-net-pci,...,failover=on,...
-device vfio-pci,...,failover_pair_id=net1,...

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <20191029114905.6856-2-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.gitmodules
/openbmc/qemu/.mailmap
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/arch_init.c
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-cache.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-gpu/vugbm.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/cipher-gcrypt.c
/openbmc/qemu/crypto/cipher-nettle.c
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/m68k-softmmu.mak
/openbmc/qemu/default-configs/xtensa-softmmu.mak
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/microvm.rst
/openbmc/qemu/docs/specs/acpi_hw_reduced_hotplug.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/exec-vary.c
/openbmc/qemu/exec.c
/openbmc/qemu/gdb-xml/riscv-32bit-virtual.xml
/openbmc/qemu/gdb-xml/riscv-64bit-virtual.xml
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/musca.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/raspi.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/strongarm.h
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/block/Kconfig
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/swim.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
qdev.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/Kconfig
/openbmc/qemu/hw/m68k/Makefile.objs
/openbmc/qemu/hw/m68k/bootinfo.h
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mem/Makefile.objs
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_thermal.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.h
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/tulip.h
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nubus/Kconfig
/openbmc/qemu/hw/nubus/Makefile.objs
/openbmc/qemu/hw/nubus/mac-nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bus.c
/openbmc/qemu/hw/nubus/nubus-device.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/ds1338.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/rtc/m41t80.c
/openbmc/qemu/hw/rtc/m48t59-internal.h
/openbmc/qemu/hw/rtc/m48t59-isa.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/rtc/sun4v-rtc.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/rtc/xlnx-zynqmp-rtc.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/bcm2835_systmr.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xtensa/Kconfig
/openbmc/qemu/hw/xtensa/Makefile.objs
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/virt.c
/openbmc/qemu/hw/xtensa/xtensa_sim.h
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu_ldst_template.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/memory_hotplug.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/bcm2836.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/block/swim.h
/openbmc/qemu/include/hw/display/macfb.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/misc/bcm2835_thermal.h
/openbmc/qemu/include/hw/misc/mac_via.h
/openbmc/qemu/include/hw/nubus/mac-nubus-bridge.h
/openbmc/qemu/include/hw/nubus/nubus.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive_regs.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/riscv/spike.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/rtc/aspeed_rtc.h
/openbmc/qemu/include/hw/rtc/m48t59.h
/openbmc/qemu/include/hw/rtc/mc146818rtc.h
/openbmc/qemu/include/hw/rtc/mc146818rtc_regs.h
/openbmc/qemu/include/hw/rtc/pl031.h
/openbmc/qemu/include/hw/rtc/sun4v-rtc.h
/openbmc/qemu/include/hw/rtc/xlnx-zynqmp-rtc.h
/openbmc/qemu/include/hw/scsi/esp.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/hw/timer/bcm2835_systmr.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/virtio-mmio.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/co-shared-resource.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/po/bg.po
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/qtest.py
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/openbios
/openbmc/qemu/roms/qboot
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/error.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/gen.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/parser.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/qapi/source.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/m_helper.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/cris/translate_v10.inc.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec_int_helper.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/core-isa.h
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.opc.h
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/benchmark-crypto-cipher.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/data/acpi/virt/APIC.memhp
/openbmc/qemu/tests/data/acpi/virt/APIC.numamem
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/virt/FACP.memhp
/openbmc/qemu/tests/data/acpi/virt/FACP.numamem
/openbmc/qemu/tests/data/acpi/virt/GTDT.memhp
/openbmc/qemu/tests/data/acpi/virt/GTDT.numamem
/openbmc/qemu/tests/data/acpi/virt/MCFG.memhp
/openbmc/qemu/tests/data/acpi/virt/MCFG.numamem
/openbmc/qemu/tests/data/acpi/virt/SLIT.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.numamem
/openbmc/qemu/tests/data/acpi/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/virt/SRAT.numamem
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/libqos/pci.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqos/virtio-9p.c
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-mmio.h
/openbmc/qemu/tests/libqos/virtio-net.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.h
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio-pci.h
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/migration/stress.c
/openbmc/qemu/tests/qapi-schema/allow-preconfig-test.err
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-bool-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-num-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-int.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.out
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.err
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.json
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.out
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-arg.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-return.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-since.err
/openbmc/qemu/tests/qapi-schema/doc-empty-arg.err
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-empty-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/doc-interleaved-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end2.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-return.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-start.err
/openbmc/qemu/tests/qapi-schema/doc-missing-colon.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing-space.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.err
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.json
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.out
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.err
/openbmc/qemu/tests/qapi-schema/enum-bad-member.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member-unknown.err
/openbmc/qemu/tests/qapi-schema/enum-if-invalid.err
/openbmc/qemu/tests/qapi-schema/enum-int-member.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/escape-outside-string.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/event-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/features-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-duplicate-name.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.err
/openbmc/qemu/tests/qapi-schema/features-missing-name.err
/openbmc/qemu/tests/qapi-schema/features-name-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-no-list.err
/openbmc/qemu/tests/qapi-schema/features-unknown-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/funny-char.err
/openbmc/qemu/tests/qapi-schema/funny-word.err
/openbmc/qemu/tests/qapi-schema/ident-with-escape.err
/openbmc/qemu/tests/qapi-schema/include-before-err.err
/openbmc/qemu/tests/qapi-schema/include-cycle.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-nested-err.err
/openbmc/qemu/tests/qapi-schema/include-no-file.err
/openbmc/qemu/tests/qapi-schema/include-non-file.err
/openbmc/qemu/tests/qapi-schema/include-self-cycle.err
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/leading-comma-list.err
/openbmc/qemu/tests/qapi-schema/leading-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-colon.err
/openbmc/qemu/tests/qapi-schema/missing-comma-list.err
/openbmc/qemu/tests/qapi-schema/missing-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/non-objects.err
/openbmc/qemu/tests/qapi-schema/oob-test.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.err
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/quoted-structural-chars.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.err
/openbmc/qemu/tests/qapi-schema/string-code-point-31.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/trailing-comma-object.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/unclosed-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-object.err
/openbmc/qemu/tests/qapi-schema/unclosed-string.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qemu-iotests/083
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/118
/openbmc/qemu/tests/qemu-iotests/136
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/165.out
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/192
/openbmc/qemu/tests/qemu-iotests/192.out
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/201
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/208
/openbmc/qemu/tests/qemu-iotests/209
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/240
/openbmc/qemu/tests/qemu-iotests/241
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/260.out
/openbmc/qemu/tests/qemu-iotests/261
/openbmc/qemu/tests/qemu-iotests/261.out
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/264.out
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/267.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.nbd
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/async.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/mmap-alloc.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/qemu-co-shared-resource.c
/openbmc/qemu/util/qemu-coroutine-io.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/util/vfio-helpers.c
/openbmc/qemu/vl.c
30865f3121-Oct-2018 Emilio G. Cota <cota@braap.org>

cpu: hook plugin vcpu events

Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.gitmodules
/openbmc/qemu/.mailmap
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/Makefile.objs
/openbmc/qemu/accel/tcg/atomic_common.inc.c
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/plugin-helpers.h
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-cache.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-gpu/vugbm.c
/openbmc/qemu/cpus-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/xtensa-softmmu.mak
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/plugins.rst
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/microvm.rst
/openbmc/qemu/docs/specs/acpi_hw_reduced_hotplug.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/musca.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/raspi.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/strongarm.h
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
cpu.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/mem/Makefile.objs
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_thermal.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.h
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/ds1338.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/rtc/m41t80.c
/openbmc/qemu/hw/rtc/m48t59-internal.h
/openbmc/qemu/hw/rtc/m48t59-isa.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/rtc/sun4v-rtc.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/rtc/xlnx-zynqmp-rtc.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/bcm2835_systmr.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xtensa/Kconfig
/openbmc/qemu/hw/xtensa/Makefile.objs
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/virt.c
/openbmc/qemu/hw/xtensa/xtensa_sim.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/cpu_ldst_template.h
/openbmc/qemu/include/exec/cpu_ldst_useronly_template.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/helper-gen.h
/openbmc/qemu/include/exec/helper-proto.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/exec/plugin-gen.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/memory_hotplug.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/bcm2836.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/misc/bcm2835_thermal.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive_regs.h
/openbmc/qemu/include/hw/rtc/aspeed_rtc.h
/openbmc/qemu/include/hw/rtc/m48t59.h
/openbmc/qemu/include/hw/rtc/mc146818rtc.h
/openbmc/qemu/include/hw/rtc/mc146818rtc_regs.h
/openbmc/qemu/include/hw/rtc/pl031.h
/openbmc/qemu/include/hw/rtc/sun4v-rtc.h
/openbmc/qemu/include/hw/rtc/xlnx-zynqmp-rtc.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/hw/timer/bcm2835_systmr.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/virtio-mmio.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/plugin-memory.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/user/syscall-trace.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/plugins/Makefile.objs
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/plugins/plugin.h
/openbmc/qemu/po/bg.po
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/qboot
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/error.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/gen.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/parser.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/qapi/source.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/m_helper.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/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec_int_helper.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/core-isa.h
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.opc.h
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/data/acpi/virt/APIC.memhp
/openbmc/qemu/tests/data/acpi/virt/APIC.numamem
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/virt/FACP.memhp
/openbmc/qemu/tests/data/acpi/virt/FACP.numamem
/openbmc/qemu/tests/data/acpi/virt/GTDT.memhp
/openbmc/qemu/tests/data/acpi/virt/GTDT.numamem
/openbmc/qemu/tests/data/acpi/virt/MCFG.memhp
/openbmc/qemu/tests/data/acpi/virt/MCFG.numamem
/openbmc/qemu/tests/data/acpi/virt/SLIT.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.numamem
/openbmc/qemu/tests/data/acpi/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/virt/SRAT.numamem
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/libqos/pci.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqos/virtio-9p.c
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-mmio.h
/openbmc/qemu/tests/libqos/virtio-net.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.h
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio-pci.h
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/migration/stress.c
/openbmc/qemu/tests/qapi-schema/allow-preconfig-test.err
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-bool-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-num-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-int.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-arg.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-return.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-since.err
/openbmc/qemu/tests/qapi-schema/doc-empty-arg.err
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-empty-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/doc-interleaved-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end2.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-return.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-start.err
/openbmc/qemu/tests/qapi-schema/doc-missing-colon.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing-space.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.err
/openbmc/qemu/tests/qapi-schema/enum-bad-member.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member-unknown.err
/openbmc/qemu/tests/qapi-schema/enum-if-invalid.err
/openbmc/qemu/tests/qapi-schema/enum-int-member.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/escape-outside-string.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/event-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/features-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-duplicate-name.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.err
/openbmc/qemu/tests/qapi-schema/features-missing-name.err
/openbmc/qemu/tests/qapi-schema/features-name-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-no-list.err
/openbmc/qemu/tests/qapi-schema/features-unknown-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/funny-char.err
/openbmc/qemu/tests/qapi-schema/funny-word.err
/openbmc/qemu/tests/qapi-schema/ident-with-escape.err
/openbmc/qemu/tests/qapi-schema/include-before-err.err
/openbmc/qemu/tests/qapi-schema/include-cycle.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-nested-err.err
/openbmc/qemu/tests/qapi-schema/include-no-file.err
/openbmc/qemu/tests/qapi-schema/include-non-file.err
/openbmc/qemu/tests/qapi-schema/include-self-cycle.err
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/leading-comma-list.err
/openbmc/qemu/tests/qapi-schema/leading-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-colon.err
/openbmc/qemu/tests/qapi-schema/missing-comma-list.err
/openbmc/qemu/tests/qapi-schema/missing-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/non-objects.err
/openbmc/qemu/tests/qapi-schema/oob-test.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.err
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/quoted-structural-chars.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.err
/openbmc/qemu/tests/qapi-schema/string-code-point-31.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/trailing-comma-object.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/unclosed-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-object.err
/openbmc/qemu/tests/qapi-schema/unclosed-string.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qemu-iotests/118
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/165.out
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/260.out
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/264.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/trace-events
/openbmc/qemu/trace/mem-internal.h
/openbmc/qemu/trace/mem.h
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/mmap-alloc.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/qemu-coroutine-io.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/util/vfio-helpers.c
/openbmc/qemu/vl.c
0533ef5f05-Sep-2019 Tao Xu <tao3.xu@intel.com>

numa: Introduce MachineClass::auto_enable_numa for implicit NUMA node

Add MachineClass::auto_enable_numa field. When it is true, a NUMA node
is expected to be created implicitly.

Acked-by: David Gi

numa: Introduce MachineClass::auto_enable_numa for implicit NUMA node

Add MachineClass::auto_enable_numa field. When it is true, a NUMA node
is expected to be created implicitly.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <20190905083238.1799-1-tao3.xu@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

show more ...


/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/char/bcm2835_aux.c
numa.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/cmsdk-apb-dualtimer.c
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/digic-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/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/hw/misc/aspeed_sdmc.h
/openbmc/qemu/include/hw/net/ftgmac100.h
/openbmc/qemu/include/hw/sd/aspeed_sdhci.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/hw/timer/mss-timer.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/target/arm/arm-semi.c
/openbmc/qemu/tests/cpu-plug-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/ptimer-test.c
78b6eaa608-Oct-2019 Peter Maydell <peter.maydell@linaro.org>

ptimer: Provide new transaction-based API

Provide the new transaction-based API. If a ptimer is created
using ptimer_init() rather than ptimer_init_with_bh(), then
instead of providing a QEMUBH, it

ptimer: Provide new transaction-based API

Provide the new transaction-based API. If a ptimer is created
using ptimer_init() rather than ptimer_init_with_bh(), then
instead of providing a QEMUBH, it provides a pointer to the
callback function directly, and has opted into the transaction
API. All calls to functions which modify ptimer state:
- ptimer_set_period()
- ptimer_set_freq()
- ptimer_set_limit()
- ptimer_set_count()
- ptimer_run()
- ptimer_stop()
must be between matched calls to ptimer_transaction_begin()
and ptimer_transaction_commit(). When ptimer_transaction_commit()
is called it will evaluate the state of the timer after all the
changes in the transaction, and call the callback if necessary.

In the old API the individual update functions generally would
call ptimer_trigger() immediately, which would schedule the QEMUBH.
In the new API the update functions will instead defer the
"set s->next_event and call ptimer_reload()" work to
ptimer_transaction_commit().

Because ptimer_trigger() can now immediately call into the
device code which may then call other ptimer functions that
update ptimer_state fields, we must be more careful in
ptimer_reload() not to cache fields from ptimer_state across
the ptimer_trigger() call. (This was harmless with the QEMUBH
mechanism as the BH would not be invoked until much later.)

We use assertions to check that:
* the functions modifying ptimer state are not called outside
a transaction block
* ptimer_transaction_begin() and _commit() calls are paired
* the transaction API is not used with a QEMUBH ptimer

There is some slight repetition of code:
* most of the set functions have similar looking "if s->bh
call ptimer_reload, otherwise set s->need_reload" code
* ptimer_init() and ptimer_init_with_bh() have similar code
We deliberately don't try to avoid this repetition, because
it will all be deleted when the QEMUBH version of the API
is removed.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-3-peter.maydell@linaro.org

show more ...

b014226208-Oct-2019 Peter Maydell <peter.maydell@linaro.org>

ptimer: Rename ptimer_init() to ptimer_init_with_bh()

Currently the ptimer design uses a QEMU bottom-half as its
mechanism for calling back into the device model using the
ptimer when the timer has

ptimer: Rename ptimer_init() to ptimer_init_with_bh()

Currently the ptimer design uses a QEMU bottom-half as its
mechanism for calling back into the device model using the
ptimer when the timer has expired. Unfortunately this design
is fatally flawed, because it means that there is a lag
between the ptimer updating its own state and the device
callback function updating device state, and guest accesses
to device registers between the two can return inconsistent
device state.

We want to replace the bottom-half design with one where
the guest device's callback is called either immediately
(when the ptimer triggers by timeout) or when the device
model code closes a transaction-begin/end section (when the
ptimer triggers because the device model changed the
ptimer's count value or other state). As the first step,
rename ptimer_init() to ptimer_init_with_bh(), to free up
the ptimer_init() name for the new API. We can then convert
all the ptimer users away from ptimer_init_with_bh() before
removing it entirely.

(Commit created with
git grep -l ptimer_init | xargs sed -i -e 's/ptimer_init/ptimer_init_with_bh/'
and three overlong lines folded by hand.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-2-peter.maydell@linaro.org

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/aio_task.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/backup-top.h
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/docs/devel/rcu.txt
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/docs/replay.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/9p-marshal.h
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.h
/openbmc/qemu/fsdev/qemu-fsdev.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-proxy.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/spapr_vty.c
ptimer.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/isa/Makefile.objs
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_homer.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/spapr_tpm_proxy.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/cmsdk-apb-dualtimer.c
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/digic-timer.c
/openbmc/qemu/hw/timer/etraxfs_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/grlib_gptimer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/aio_task.h
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_homer.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/standard-headers/asm-x86/bootparam.h
/openbmc/qemu/include/standard-headers/asm-x86/kvm_para.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_fs.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/standard-headers/linux/virtio_iommu.h
/openbmc/qemu/include/standard-headers/linux/virtio_pmem.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/mman.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/mman.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/mman.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/asm-s390/kvm.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/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/psp-sev.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/replay/replay-events.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/Makefile.edk2
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/edk2-build.sh
/openbmc/qemu/roms/edk2-funcs.sh
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/make-release
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/replay-user.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/kvm_mips.h
/openbmc/qemu/target/mips/mips-defs.h
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/dfp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate/fp-impl.inc.c
/openbmc/qemu/target/ppc/translate/fp-ops.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cc_helper.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/crypto_helper.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/int_helper.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/interrupt.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/tcg-stub.c
/openbmc/qemu/target/s390x/tcg_s390x.h
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tests/cdrom-test.c
/openbmc/qemu/tests/docker/test-clang
/openbmc/qemu/tests/docker/test-debug
/openbmc/qemu/tests/iothread.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/ptimer-test.c
/openbmc/qemu/tests/qapi-schema/allow-preconfig-test.err
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-bool-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-num-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-case.json
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-int.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-return.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-since.err
/openbmc/qemu/tests/qapi-schema/doc-empty-arg.err
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-empty-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end2.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-start.err
/openbmc/qemu/tests/qapi-schema/doc-missing-colon.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing-space.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.err
/openbmc/qemu/tests/qapi-schema/enum-bad-member.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member-unknown.err
/openbmc/qemu/tests/qapi-schema/enum-if-invalid.err
/openbmc/qemu/tests/qapi-schema/enum-int-member.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/escape-outside-string.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/features-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-duplicate-name.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.err
/openbmc/qemu/tests/qapi-schema/features-missing-name.err
/openbmc/qemu/tests/qapi-schema/features-name-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-no-list.err
/openbmc/qemu/tests/qapi-schema/features-unknown-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.json
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/funny-char.err
/openbmc/qemu/tests/qapi-schema/funny-word.err
/openbmc/qemu/tests/qapi-schema/ident-with-escape.err
/openbmc/qemu/tests/qapi-schema/include-before-err.err
/openbmc/qemu/tests/qapi-schema/include-cycle.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-nested-err.err
/openbmc/qemu/tests/qapi-schema/include-no-file.err
/openbmc/qemu/tests/qapi-schema/include-non-file.err
/openbmc/qemu/tests/qapi-schema/include-self-cycle.err
/openbmc/qemu/tests/qapi-schema/leading-comma-list.err
/openbmc/qemu/tests/qapi-schema/leading-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-colon.err
/openbmc/qemu/tests/qapi-schema/missing-comma-list.err
/openbmc/qemu/tests/qapi-schema/missing-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/non-objects.err
/openbmc/qemu/tests/qapi-schema/oob-test.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.err
/openbmc/qemu/tests/qapi-schema/quoted-structural-chars.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.err
/openbmc/qemu/tests/qapi-schema/string-code-point-31.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/trailing-comma-object.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/unclosed-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-object.err
/openbmc/qemu/tests/qapi-schema/unclosed-string.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.json
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/union-unknown.json
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/026.out.nocache
/openbmc/qemu/tests/qemu-iotests/028
/openbmc/qemu/tests/qemu-iotests/028.out
/openbmc/qemu/tests/qemu-iotests/044
/openbmc/qemu/tests/qemu-iotests/056
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/149.out
/openbmc/qemu/tests/qemu-iotests/162
/openbmc/qemu/tests/qemu-iotests/162.out
/openbmc/qemu/tests/qemu-iotests/163
/openbmc/qemu/tests/qemu-iotests/227.out
/openbmc/qemu/tests/qemu-iotests/257
/openbmc/qemu/tests/qemu-iotests/257.out
/openbmc/qemu/tests/qemu-iotests/262
/openbmc/qemu/tests/qemu-iotests/262.out
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/267.out
/openbmc/qemu/tests/qemu-iotests/268
/openbmc/qemu/tests/qemu-iotests/268.out
/openbmc/qemu/tests/qemu-iotests/270
/openbmc/qemu/tests/qemu-iotests/270.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/uefi-test-tools/Makefile
/openbmc/qemu/tests/uefi-test-tools/build.sh
/openbmc/qemu/util/async.c
/openbmc/qemu/util/iov.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/vl.c
e423455c25-Sep-2019 Thomas Huth <thuth@redhat.com>

hw/core/loader: Fix possible crash in rom_copy()

Both, "rom->addr" and "addr" are derived from the binary image
that can be loaded with the "-kernel" paramer. The code in
rom_copy() then calculates:

hw/core/loader: Fix possible crash in rom_copy()

Both, "rom->addr" and "addr" are derived from the binary image
that can be loaded with the "-kernel" paramer. The code in
rom_copy() then calculates:

d = dest + (rom->addr - addr);

and uses "d" as destination in a memcpy() some lines later. Now with
bad kernel images, it is possible that rom->addr is smaller than addr,
thus "rom->addr - addr" gets negative and the memcpy() then tries to
copy contents from the image to a bad memory location. This could
maybe be used to inject code from a kernel image into the QEMU binary,
so we better fix it with an additional sanity check here.

Cc: qemu-stable@nongnu.org
Reported-by: Guangming Liu
Buglink: https://bugs.launchpad.net/qemu/+bug/1844635
Message-Id: <20190925130331.27825-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translate-all.h
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hw/arm/boot.c
loader.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/sysemu/kvm_int.h
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/arm/target_syscall.h
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/qjson.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/scripts/git.orderfile
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/target/alpha/fpu_helper.c
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/centos7.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-xtensa-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9-mxe.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/docker/test-clang
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.exit
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.json
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.out
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.json
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.json
/openbmc/qemu/tests/qapi-schema/bad-type-int.err
/openbmc/qemu/tests/qapi-schema/bad-type-int.json
/openbmc/qemu/tests/qapi-schema/doc-missing-colon.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.json
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.json
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member-unknown.err
/openbmc/qemu/tests/qapi-schema/enum-int-member.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/escape-outside-string.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.exit
/openbmc/qemu/tests/qapi-schema/features-if-invalid.json
/openbmc/qemu/tests/qapi-schema/features-if-invalid.out
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.exit
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.json
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.out
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.json
/openbmc/qemu/tests/qapi-schema/funny-char.err
/openbmc/qemu/tests/qapi-schema/funny-word.err
/openbmc/qemu/tests/qapi-schema/funny-word.exit
/openbmc/qemu/tests/qapi-schema/funny-word.json
/openbmc/qemu/tests/qapi-schema/funny-word.out
/openbmc/qemu/tests/qapi-schema/ident-with-escape.err
/openbmc/qemu/tests/qapi-schema/ident-with-escape.exit
/openbmc/qemu/tests/qapi-schema/ident-with-escape.json
/openbmc/qemu/tests/qapi-schema/ident-with-escape.out
/openbmc/qemu/tests/qapi-schema/include-before-err.err
/openbmc/qemu/tests/qapi-schema/include-nested-err.err
/openbmc/qemu/tests/qapi-schema/leading-comma-list.err
/openbmc/qemu/tests/qapi-schema/leading-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-colon.err
/openbmc/qemu/tests/qapi-schema/missing-comma-list.err
/openbmc/qemu/tests/qapi-schema/missing-comma-object.err
/openbmc/qemu/tests/qapi-schema/non-objects.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.exit
/openbmc/qemu/tests/qapi-schema/pragma-unknown.json
/openbmc/qemu/tests/qapi-schema/pragma-unknown.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/quoted-structural-chars.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.exit
/openbmc/qemu/tests/qapi-schema/string-code-point-127.json
/openbmc/qemu/tests/qapi-schema/string-code-point-127.out
/openbmc/qemu/tests/qapi-schema/string-code-point-31.err
/openbmc/qemu/tests/qapi-schema/string-code-point-31.exit
/openbmc/qemu/tests/qapi-schema/string-code-point-31.json
/openbmc/qemu/tests/qapi-schema/string-code-point-31.out
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.exit
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.json
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.out
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-object.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.exit
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.json
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.out
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-empty.json
/openbmc/qemu/tests/qapi-schema/unknown-escape.json
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/float_convs.ref
/openbmc/qemu/tests/tcg/aarch64/float_madds.ref
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/arm/float_convs.ref
/openbmc/qemu/tests/tcg/arm/float_madds.ref
/openbmc/qemu/tests/tcg/arm/semihosting.c
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/float_convs.c
/openbmc/qemu/tests/tcg/multiarch/float_helpers.c
/openbmc/qemu/tests/tcg/multiarch/float_helpers.h
/openbmc/qemu/tests/tcg/multiarch/float_madds.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/tests/usb-hcd-ehci-test.c
/openbmc/qemu/util/qemu-sockets.c
b56668bb21-Sep-2019 Richard Henderson <richard.henderson@linaro.org>

cputlb: Remove cpu->mem_io_vaddr

With the merge of notdirty handling into store_helper,
the last user of cpu->mem_io_vaddr was removed.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by

cputlb: Remove cpu->mem_io_vaddr

With the merge of notdirty handling into store_helper,
the last user of cpu->mem_io_vaddr was removed.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/audio/Makefile.objs
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/configure
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/docs/barrier.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/ipmi-stub.c
/openbmc/qemu/hw/acpi/ipmi.c
/openbmc/qemu/hw/block/xen-block.c
cpu.c
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/vga-access.h
/openbmc/qemu/hw/display/vga-helpers.h
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/ipmi/Kconfig
/openbmc/qemu/hw/ipmi/Makefile.objs
/openbmc/qemu/hw/ipmi/ipmi.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/ipmi/ipmi_bt.c
/openbmc/qemu/hw/ipmi/ipmi_kcs.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/ipmi/isa_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/pci_ipmi_bt.c
/openbmc/qemu/hw/ipmi/pci_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/smbus_ipmi.c
/openbmc/qemu/hw/smbios/smbios_type_38.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/ipmi.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/ipmi/ipmi_bt.h
/openbmc/qemu/include/hw/ipmi/ipmi_kcs.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/xen/xen-bus.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/notify.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/memory.c
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-netboot.img
/openbmc/qemu/python/qemu/qtest.py
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_m68k_nextcube.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/ipmi-bt-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/migration/guestperf/engine.py
/openbmc/qemu/tests/qemu-iotests/172
/openbmc/qemu/tests/requirements.txt
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/mvc.c
/openbmc/qemu/tests/tcg/s390x/mvo.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/egl-headless.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/ui/input-barrier.h
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc-enc-zlib.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc-enc-zrle.inc.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/notify.c
590c0ac919-Sep-2019 Peter Maydell <peter.maydell@linaro.org>

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

Pull request

# gpg: Signature made Wed 18 Sep 2019 14:17:59 BST
# gpg: using RSA key 8695A8BFD3

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

Pull request

# gpg: Signature made Wed 18 Sep 2019 14:17:59 BST
# gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/tracing-pull-request:
trace: Forbid event format ending with newline character
trace: Remove trailing newline in events
loader: Trace loaded images

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

show more ...


/openbmc/qemu/Makefile.objs
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/hmp-commands-info.hx
loader.c
trace-events
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/Makefile.objs
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/riscv_hart.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_e_prci.c
/openbmc/qemu/hw/riscv/sifive_plic.c
/openbmc/qemu/hw/riscv/sifive_test.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/sifive_u_otp.c
/openbmc/qemu/hw/riscv/sifive_u_prci.c
/openbmc/qemu/hw/riscv/sifive_uart.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/riscv/riscv_hart.h
/openbmc/qemu/include/hw/riscv/sifive_cpu.h
/openbmc/qemu/include/hw/riscv/sifive_e.h
/openbmc/qemu/include/hw/riscv/sifive_e_prci.h
/openbmc/qemu/include/hw/riscv/sifive_plic.h
/openbmc/qemu/include/hw/riscv/sifive_test.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/riscv/sifive_u_otp.h
/openbmc/qemu/include/hw/riscv/sifive_u_prci.h
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/trace-events
/openbmc/qemu/pc-bios/opensbi-riscv32-virt-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-virt-fw_jump.bin
/openbmc/qemu/roms/Makefile
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/target/riscv/Makefile.objs
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/monitor.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/trace-events

1...<<31323334353637383940>>...61