qemu-e2k/hw
Lukasz Maniak 44c2c09488 hw/nvme: Add support for SR-IOV
This patch implements initial support for Single Root I/O Virtualization
on an NVMe device.

Essentially, it allows to define the maximum number of virtual functions
supported by the NVMe controller via sriov_max_vfs parameter.

Passing a non-zero value to sriov_max_vfs triggers reporting of SR-IOV
capability by a physical controller and ARI capability by both the
physical and virtual function devices.

NVMe controllers created via virtual functions mirror functionally
the physical controller, which may not entirely be the case, thus
consideration would be needed on the way to limit the capabilities of
the VF.

NVMe subsystem is required for the use of SR-IOV.

Signed-off-by: Lukasz Maniak <lukasz.maniak@linux.intel.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2022-06-23 23:24:28 +02:00
..
9pfs 9pfs: fix 'Twalk' to only send error if no component walked 2022-06-16 12:44:52 +02:00
acpi acpi/erst: fix fallthrough code upon validation failure 2022-06-16 12:54:58 -04:00
adc
alpha
arm aspeed: Add I2C buses to AST1030 model 2022-06-22 09:49:34 +02:00
audio
avr
block
char
core qdev: unplug blocker for devices 2022-06-15 14:50:41 +01:00
cpu
cris
cxl pci-bridge/cxl_downstream: Add a CXL switch downstream port 2022-06-16 12:54:57 -04:00
display virtio-gpu: Respect UI refresh rate for EDID 2022-06-14 10:34:37 +02:00
dma
gpio
hppa
hyperv
i2c aspeed/i2c: Enable SLAVE_ADDR_RX_MATCH always 2022-06-22 09:49:34 +02:00
i386
ide
input
intc pnv/xive2: Access direct mapped thread contexts from all chips 2022-06-20 08:38:58 -03:00
ipack
ipmi
isa
loongarch
m68k
mem
microblaze
mips hw/mips/boston: Initialize g_autofree pointers 2022-06-11 23:50:35 +02:00
misc aspeed/hace: Add missing newlines to unimp messages 2022-06-22 09:49:34 +02:00
net
nios2
nubus
nvme hw/nvme: Add support for SR-IOV 2022-06-23 23:24:28 +02:00
nvram
openrisc
pci vfio-user: handle device interrupts 2022-06-15 16:43:42 +01:00
pci-bridge pci-bridge/cxl_downstream: Add a CXL switch downstream port 2022-06-16 12:54:57 -04:00
pci-host ppc/pnv: fix extra indent spaces with DEFINE_PROP* 2022-06-20 08:38:58 -03:00
pcmcia
ppc ppc: fix boot with sam460ex 2022-06-20 08:38:58 -03:00
rdma
remote vfio-user: handle reset of remote device 2022-06-15 16:43:42 +01:00
riscv
rtc
rx
s390x virtio: stop ioeventfd on reset 2022-06-14 16:50:30 +02:00
scsi
sd
sensor
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
usb usbredir: avoid queuing hello packet on snapshot restore 2022-06-14 10:34:36 +02:00
vfio ui/console: Do not return a value with ui_info 2022-06-14 10:34:37 +02:00
virtio vhost: also check queue state in the vhost_dev_set_log error routine 2022-06-16 12:54:58 -04:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build