qemu-e2k/include/hw
Paolo Bonzini 217e9fdcad vfio: cleanup vfio_get_device error path, remove vfio_populate_device callback
Now that vfio_put_base_device is called unconditionally at instance_finalize
time, it can be called twice if vfio_populate_device fails.  This works
but it is slightly harder to follow.

Change vfio_get_device to not touch the vbasedev struct until it will
definitely succeed, moving the vfio_populate_device call back to vfio-pci.
This way, vfio_put_base_device will only be called once.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-02-10 10:25:44 -07:00
..
acpi bios-linker-loader: move header to common location 2015-01-27 14:46:17 +02:00
arm target_arm: Parameterise the irq lines for armv7m_init 2015-02-05 13:37:21 +00:00
audio
block
char
cpu
cris
i2c
i386 - Migration and linuxboot fixes for 2.2 regressions 2014-12-15 16:43:42 +00:00
input
intc
ipack
isa
kvm
lm32
m68k
mem pc-dimm: Add Error argument to pc_existing_dimms_capacity 2015-01-27 14:46:18 +02:00
mips
misc vfio: move hw/misc/vfio.c to hw/vfio/pci.c Move vfio.h into include/hw/vfio 2014-12-19 15:24:06 -07:00
net
nvram fw_cfg_mem: expose the "data_width" property with fw_cfg_init_mem_wide() 2014-12-22 23:39:18 +00:00
pci pci: Split pcie_host_mmcfg_map() 2015-01-26 20:25:52 +02:00
pci-host
ppc spapr: Fix stale HTAB during live migration (KVM) 2015-01-07 16:16:26 +01:00
s390x s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
scsi
sh4
sparc
timer
tricore
unicore32
usb
vfio vfio: cleanup vfio_get_device error path, remove vfio_populate_device callback 2015-02-10 10:25:44 -07:00
virtio virtio-blk: Pass req to virtio_blk_handle_scsi_req 2015-01-23 18:17:05 +01:00
xen fix QEMU build on Xen/ARM 2015-01-26 11:56:33 +00:00
boards.h hw/machine: added machine_usb wrapper 2015-01-08 17:32:27 +00:00
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h misc: Fix new typos in comments 2015-01-15 10:44:13 +03:00
hw.h bootdevice: move code about bootorder from vl.c to bootdevice.c 2014-12-22 14:39:20 +08:00
ide.h
irq.h
loader.h pc: resizeable ROM blocks 2015-01-10 21:02:23 +00:00
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h Add device listener interface 2015-01-20 14:24:07 +00:00
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h