qemu/hw
Kevin Wolf 84affad1fd vhost-user: Fix backends without multiqueue support
dev->max_queues was never initialised for backends that don't support
VHOST_USER_PROTOCOL_F_MQ, so it would use 0 as the maximum number of
queues to check against and consequently fail for any such backend.

Set it to 1 if the backend doesn't have multiqueue support.

Fixes: c90bd505a3
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210705171429.29286-1-kwolf@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-07-09 12:26:05 +02:00
..
9pfs 9pfs: reduce latency of Twalk 2021-07-05 13:03:16 +02:00
acpi
adc
alpha
arm hw/arm: Add basic power management to raspi. 2021-07-02 11:48:36 +01:00
audio
avr
block vhost-user-blk: Implement reconnection during realize 2021-06-30 13:21:22 +02:00
char
core machine: add smp compound property 2021-07-06 08:33:51 +02:00
cpu
cris
display configure, meson: convert virgl detection to meson 2021-07-06 08:33:51 +02:00
dma
gpio hw/gpio/gpio_pwr: use shutdown function for reboot 2021-07-02 11:48:36 +01:00
hppa
hyperv
i2c
i386
ide
input vhost: Distinguish errors in vhost_dev_get_config() 2021-06-30 13:18:42 +02:00
intc
ipack
ipmi
isa
m68k hw/m68k/q800: fix PROM checksum and MAC address storage 2021-07-02 17:35:08 +02:00
mem
microblaze
mips hw/mips/jazz: Map the UART devices unconditionally 2021-07-02 17:35:08 +02:00
misc hw/arm: Add basic power management to raspi. 2021-07-02 11:48:36 +01:00
net MIPS patches queue 2021-07-04 14:04:12 +01:00
nios2
nubus
nvme hw/nvme: fix pin-based interrupt behavior (again) 2021-06-29 07:18:10 +02:00
nvram
openrisc
pci
pci-bridge
pci-host hw/pci-host/bonito: Allow PCI config accesses smaller than 32-bit 2021-07-02 17:34:55 +02:00
pcmcia
ppc
rdma pvrdma: Fix the ring init error flow (CVE-2021-3608) 2021-07-04 22:47:51 +03:00
remote
riscv
rtc
rx
s390x
scsi vhost: Add Error parameter to vhost_dev_init() 2021-06-30 13:15:44 +02:00
sd
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
usb
vfio
virtio vhost-user: Fix backends without multiqueue support 2021-07-09 12:26:05 +02:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build