qemu/hw
Stefan Hajnoczi 58a83c6149 virtio: decrement vq->inuse in virtqueue_discard()
virtqueue_discard() moves vq->last_avail_idx back so the element can be
popped again.  It's necessary to decrement vq->inuse to avoid "leaking"
the element count.

Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-08-23 19:20:24 +03:00
..
9pfs 9pfs: Wrap in vmstate 2016-07-21 20:44:20 +03:00
acpi opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
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 Block layer patches for 2.7.0-rc2 2016-08-05 13:05:29 +01:00
bt hw/bt: Don't use cpu_to_*w() and *_to_cpup() 2016-07-12 15:08:53 +01:00
char virtio-console: set frontend open permanently for console devs 2016-08-11 16:38:58 +05:30
core block/qdev: Let 'drive' property fall back to node name 2016-08-08 13:05:43 +02:00
cpu cpu: Abstract CPU core type 2016-06-17 16:33:48 +10:00
cris cris: Fix broken header guard in hw/cris/boot.h 2016-07-12 16:20:46 +02:00
display hw/virtio-pci: fix virtio behaviour 2016-07-29 00:07:10 +03:00
dma dma: Add Xilinx Zynq devcfg device model 2016-07-04 13:15:22 +01:00
gpio hw/gpio: QOM'ify zaurus.c 2016-06-14 15:59:13 +01:00
i2c i2c: fix migration regression introduced by broadcast support 2016-08-03 18:44:56 +02:00
i386 error: Fix error_printf() calls lacking newlines 2016-08-08 09:01:27 +02:00
ide atapi: fix halted DMA reset 2016-08-09 11:47:23 -04:00
input virtio-input: free config list 2016-08-08 00:00:28 +04:00
intc x86: ioapic: add support for explicit EOI 2016-08-03 18:44:57 +02:00
ipack
ipmi
isa ich9: implement SCI_IRQ_SEL register 2016-06-29 14:03:48 +02:00
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 error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
misc kvm-irqchip: do explicit commit when update irq 2016-07-21 20:44:19 +03:00
moxie
net virtio/vhost: fixes 2016-08-10 17:14:35 +01:00
nvram error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
openrisc
pci pcie: fix link active status bit migration 2016-07-29 00:07:08 +03:00
pci-bridge hw/pci-bridge: Convert pxb initialization functions to Error 2016-07-29 00:07:09 +03:00
pci-host apb: convert init to realize 2016-07-29 00:07:09 +03:00
pcmcia
ppc hw/ppc/spapr: Look up CPU alias names instead of hard-coding the aliases 2016-08-10 13:12:20 +10:00
s390x s390x/pci: fix null pointer bug 2016-08-08 12:47:02 +02:00
scsi mptsas: really fix migration compatibility 2016-08-03 18:44:56 +02:00
sd ssi: change ssi_slave_init to be a realize ops 2016-07-04 13:15:22 +01:00
sh4 Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
smbios ipmi: Add SMBIOS table entry 2016-06-24 05:13:57 +03:00
sparc hw/sparc/leon3: Don't call get_image_size() on a NULL pointer 2016-08-08 13:58:42 +01:00
sparc64
ssi ast2400: pretend DMAs are done for U-boot 2016-07-14 16:51:38 +01:00
timer MIPS patches 2016-07-12 2016-07-12 12:34:41 +01:00
tpm Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tricore
unicore32
usb usb: free leaking path 2016-08-08 00:00:36 +04:00
vfio vfio: Use error_report() instead of error_printf() for errors 2016-08-08 09:01:18 +02:00
virtio virtio: decrement vq->inuse in virtqueue_discard() 2016-08-23 19:20:24 +03:00
watchdog
xen Xen PCI passthrough: fix passthrough failure when no interrupt pin 2016-08-04 10:42:48 -07:00
xenpv xen: use a common function for pv and hvm guest backend register calls 2016-08-03 14:52:11 +02:00
xtensa target-xtensa: xtfpga: fix FLASH interface width 2016-07-14 13:59:44 +03:00
Makefile.objs