Open-source emulator to play original Xbox games on Windows, macOS, and Linux
Go to file
Marcel Apfelbaum 306077640a hw/pci: fix error flow in pci multifunction init
Scenario:
  - There is a non multifunction pci device A on 00:0X.0.
  - Hot-plug another multifunction pci device B at 00:0X.1.
  - The operation will fail of course.
  - Try to hot-plug the B device 2-3 more times, qemu will crash.

Reason: The error flow leaves the B's address space into global address spaces
list, but the device object is freed. Fixed that.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-01-26 13:11:45 +02:00
audio audio: adjust pulse to 100Hz wakeup rate 2013-12-09 09:19:26 +01:00
backends rng: initialize file descriptor to -1 2014-01-06 13:45:46 -05:00
block Merge remote-tracking branch 'bonzini/scsi-next' into staging 2014-01-24 15:50:14 -08:00
bsd-user
default-configs default-configs: Add config for aarch64-linux-user 2014-01-08 19:07:21 +00:00
disas
docs acpi: ich9: add CPU hotplug handling to Q35 machine 2014-01-26 13:11:44 +02:00
dtc@bc895d6d09
fpu softfloat: Add support for ties-away rounding 2014-01-08 19:07:22 +00:00
fsdev
gdb-xml target-arm: Support fp registers in gdb stub 2013-12-17 19:42:32 +00:00
hw hw/pci: fix error flow in pci multifunction init 2014-01-26 13:11:45 +02:00
include pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
libcacard vscclient: do not add a socket watch if there is not data to send 2013-12-16 10:12:19 +01:00
linux-headers linux-headers: Update from v3.13-rc3 2013-12-06 11:16:09 -07:00
linux-user linux-user: Remove regs parameter of load_elf_binary and load_flt_binary 2014-01-10 08:51:37 +02:00
net misc: Use macro ARRAY_SIZE where possible 2013-12-23 16:02:19 +04:00
pc-bios roms: update vgabios binaries 2013-12-06 08:55:42 +01:00
pixman@97336fad32
po
qapi
qga
qobject qapi: extend qdict_flatten() for QLists 2014-01-22 12:07:17 +01:00
qom Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
roms roms: enable seabios cross builds 2013-12-06 08:55:42 +01:00
scripts configure: add CONFIG_IASL to config-host.h 2014-01-26 13:06:49 +02:00
slirp
stubs
sysconfigs/target
target-alpha misc: Replace 'struct QEMUTimer' by 'QEMUTimer' 2013-12-02 21:03:39 +04:00
target-arm Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
target-cris target-cris: Use new qemu_ld/st opcodes 2013-12-08 09:36:02 +01:00
target-i386 Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2014-01-24 15:52:44 -08:00
target-lm32
target-m68k
target-microblaze Microblaze: Convert Microblaze-pic handling to GPIOs 2014-01-14 11:08:36 +10:00
target-mips target-mips: Use new qemu_ld/st opcodes 2013-12-21 16:42:11 +01:00
target-moxie
target-openrisc openrisc: Fix spelling in comment (transaltion -> translation) 2013-12-23 16:02:19 +04:00
target-ppc PPC: Fix compilation with TCG debug 2013-12-22 19:15:55 +01:00
target-s390x s390x/ioinst: CHSC has to set a condition code 2013-12-18 14:24:11 +01:00
target-sh4 target-sh4: Use new qemu_ld/st opcodes 2013-12-21 16:42:15 +01:00
target-sparc SPARC: Fix LEON3 power down instruction 2014-01-15 15:37:33 +10:00
target-unicore32
target-xtensa
tcg tcg/i386: fix a comment 2013-12-21 16:41:56 +01:00
tests acpi-test: update expected AML since recent changes 2014-01-26 13:11:45 +02:00
trace
ui gtk: Support keyboard translation for hosts running Windows 2014-01-20 19:30:28 +01:00
util qemu_memalign: Allow small alignments 2014-01-24 17:40:01 +01:00
.exrc
.gitignore .gitignore: Ignore config.status 2013-12-02 21:02:57 +04:00
.gitmodules
.mailmap
.travis.yml .travis.yml: Add aarch64-* targets 2014-01-08 19:07:20 +00:00
CODING_STYLE
COPYING
COPYING.LIB
Changelog
HACKING
LICENSE
MAINTAINERS MAINTAINERS: add myself as cocoa UI co-maintainer 2014-01-12 22:27:10 +00:00
Makefile
Makefile.objs readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
Makefile.target
README
VERSION
aio-posix.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
aio-win32.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
arch_init.c migration: synchronize memory bitmap 64bits at a time 2014-01-13 14:04:55 +01:00
async.c
balloon.c
block-migration.c block: per caller dirty bitmap 2013-11-29 13:40:33 +01:00
block.c block: Switch bdrv_io_limits_intercept() to byte granularity 2014-01-24 17:40:28 +01:00
blockdev-nbd.c
blockdev.c qmp: Allow to take external snapshots on bs graphs node. 2014-01-24 16:07:08 +01:00
blockjob.c
bt-host.c
bt-vhci.c
configure configure: added acpi unit-test files 2014-01-26 13:06:49 +02:00
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c QOM CPUState refactorings / X86CPU 2014-01-10 11:04:31 -08:00
cpus.c target-i386: Move apic_state field from CPUX86State to X86CPU 2013-12-23 16:30:40 +01:00
cputlb.c memory: split cpu_physical_memory_* functions to its own include 2014-01-13 14:04:54 +01:00
device-hotplug.c
device_tree.c device_tree: qemu_fdt_setprop: Rename val_array arg 2013-12-20 01:58:12 +01:00
disas.c
dma-helpers.c
dump.c
exec.c Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2014-01-24 15:52:44 -08:00
gdbstub.c
hmp-commands.hx block: update block commit documentation regarding image truncation 2014-01-24 16:12:49 +01:00
hmp.c qmp: Allow to take external snapshots on bs graphs node. 2014-01-24 16:07:08 +01:00
hmp.h monitor: add object-add (QMP) and object_add (HMP) command 2014-01-06 13:45:47 -05:00
iohandler.c
ioport.c
kvm-all.c Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2014-01-24 15:52:44 -08:00
kvm-stub.c
main-loop.c
memory.c memory: split cpu_physical_memory_* functions to its own include 2014-01-13 14:04:54 +01:00
memory_mapping.c
migration-exec.c
migration-fd.c
migration-rdma.c
migration-tcp.c
migration-unix.c
migration.c Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
monitor.c readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
nbd.c nbd: don't change socket block during negotiate 2013-12-16 10:12:20 +01:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json blkdebug: Make required alignment configurable 2014-01-24 17:40:03 +01:00
qdev-monitor.c Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c misc: Use macro ARRAY_SIZE where possible 2013-12-23 16:02:19 +04:00
qemu-coroutine-io.c
qemu-coroutine-lock.c coroutine: remove qemu_co_queue_wait_insert_head 2013-12-02 17:11:49 +01:00
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi docs: qcow2 compat=1.1 is now the default 2014-01-22 12:07:16 +01:00
qemu-file.c qemu-file: Move QEMUFile code to qemu-file.c 2014-01-13 12:39:49 +01:00
qemu-img-cmds.hx qemu-img: add -l for snapshot in convert 2013-12-04 15:19:00 +01:00
qemu-img.c qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
qemu-img.texi block: update block commit documentation regarding image truncation 2014-01-24 16:12:49 +01:00
qemu-io-cmds.c qemu-io: New command 'sleep' 2014-01-24 17:40:03 +01:00
qemu-io.c qemu-io: Make filename optional 2014-01-22 12:07:18 +01:00
qemu-log.c
qemu-nbd.c qemu-nbd: add doc for option -f 2013-12-04 15:19:00 +01:00
qemu-nbd.texi qemu-nbd: add doc for option -f 2013-12-04 15:19:00 +01:00
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx doc: Mention chardev:id in available devices for -serial 2014-01-01 18:03:55 +04:00
qemu-seccomp.c seccomp: add some basic shared memory syscalls to the whitelist 2014-01-20 11:19:34 -02:00
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx block: update block commit documentation regarding image truncation 2014-01-24 16:12:49 +01:00
qmp.c monitor: add object-add (QMP) and object_add (HMP) command 2014-01-06 13:45:47 -05:00
qtest.c qtest: split configuration of qtest accelerator and chardev 2013-12-10 12:29:56 +02:00
rules.mak
savevm.c savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c 2014-01-13 12:39:49 +01:00
spice-qemu-char.c spice-char: implement chardev port event 2013-12-16 10:12:20 +01:00
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
translate-all.c cputlb: Tidy memset() of arrays 2013-12-23 15:32:36 +01:00
translate-all.h split definitions for exec.c and translate-all.c radix trees 2013-12-10 12:29:56 +02:00
user-exec.c
version.rc
vl.c Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
vmstate.c vmstate: Move VMState code to vmstate.c 2014-01-13 12:39:49 +01:00
xbzrle.c
xen-all.c xen: fix two errors when debug is enabled 2013-12-01 18:25:48 +00:00
xen-mapcache.c
xen-stub.c

README

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team