qemu/hw
John Snow 87ac25fd1f ide: fix halted IO segfault at reset
If one attempts to perform a system_reset after a failed IO request
that causes the VM to enter a paused state, QEMU will segfault trying
to free up the pending IO requests.

These requests have already been completed and freed, though, so all
we need to do is NULL them before we enter the paused state.

Existing AHCI tests verify that halted requests are still resumed
successfully after a STOP event.

Analyzed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1469635201-11918-2-git-send-email-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2016-07-28 17:34:19 -04:00
..
9pfs 9pfs: Wrap in vmstate 2016-07-21 20:44:20 +03:00
acpi
alpha hw/alpha: fix PCI bus initialization 2016-07-20 19:30:26 +03:00
arm qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
audio Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
block pc, pci, virtio: new features, cleanups, fixes 2016-07-21 20:12:37 +01:00
bt hw/bt: Don't use cpu_to_*w() and *_to_cpup() 2016-07-12 15:08:53 +01:00
char virtio-serial: Wrap in vmstate 2016-07-21 20:44:20 +03:00
core qdev: ignore GlobalProperty.errp for hotplugged devices 2016-07-27 11:25:06 -03:00
cpu
cris cris: Fix broken header guard in hw/cris/boot.h 2016-07-12 16:20:46 +02:00
display pc, pci, virtio: new features, cleanups, fixes 2016-07-21 20:12:37 +01:00
dma
gpio
i2c
i386 Revert "pc: Enforce adding CPUs contiguously and removing them in opposite order" 2016-07-26 15:32:13 -03:00
ide ide: fix halted IO segfault at reset 2016-07-28 17:34:19 -04:00
input virtio-input: Wrap in vmstate 2016-07-21 20:44:20 +03:00
intc pc, pci, virtio: new features, cleanups, fixes 2016-07-21 20:12:37 +01:00
ipack
ipmi
isa
lm32 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
m68k
mem nvdimm: fix memory leak in error code path 2016-07-20 19:30:26 +03:00
microblaze Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mips hw/mips: fix PCI bus initialization 2016-07-20 19:30:26 +03:00
misc kvm-irqchip: do explicit commit when update irq 2016-07-21 20:44:19 +03:00
moxie
net pc, pci, virtio: new features, cleanups, fixes 2016-07-21 20:12:37 +01:00
nvram spapr: fix spapr-nvram migration 2016-07-25 10:19:30 +10:00
openrisc
pci kvm-irqchip: x86: add msi route notify fn 2016-07-21 20:44:19 +03:00
pci-bridge Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
pci-host hw/versatile: realize the PCI root bus as part of the versatile init 2016-07-20 19:30:27 +03:00
pcmcia
ppc spapr: disintricate core-id from DT semantics 2016-07-25 15:43:41 +10:00
s390x s390x/css: provide a dev_path for css devices 2016-07-20 15:47:25 +02:00
scsi pc, pci, virtio: new features, cleanups, fixes 2016-07-21 20:12:37 +01:00
sd
sh4 Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
smbios
sparc
sparc64
ssi ast2400: pretend DMAs are done for U-boot 2016-07-14 16:51:38 +01:00
timer
tpm Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tricore
unicore32
usb usb: xhci assert fix, add usbredir streams property 2016-07-20 20:31:31 +01:00
vfio kvm-irqchip: do explicit commit when update irq 2016-07-21 20:44:19 +03:00
virtio virtio: error out if guest exceeds virtqueue size 2016-07-27 14:04:40 +01:00
watchdog
xen Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xenpv Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xtensa target-xtensa: xtfpga: fix FLASH interface width 2016-07-14 13:59:44 +03:00
Makefile.objs