qemu-irix/include/hw
Maxime Coquelin 2d4ba6cc74 virtio: Add queue interface to restore avail index from vring used index
In case of backend crash, it is not possible to restore internal
avail index from the backend value as vhost_get_vring_base
callback fails.

This patch provides a new interface to restore internal avail index
from the vring used index, as done by some vhost-user backend on
reconnection.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-12-01 19:05:58 +02:00
..
acpi
adc
arm
audio
block
char
core
cpu
cris
display
dma
gpio
i2c
i386
ide
input
intc
ipack
ipmi
isa
kvm
lm32
m68k
mem
mips
misc
net
nvram
pci
pci-host
ppc
s390x
scsi
sd
sh4
smbios
sparc
ssi
timer
tricore
unicore32
usb
vfio
virtio
watchdog
xen
boards.h
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader-fit.h
loader.h
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h
qdev-dma.h
qdev-properties.h
qdev.h
register.h
registerfields.h
stream.h
sysbus.h
usb.h