summary refs log tree commit diff stats
path: root/include/hw/core/accel-cpu.h
diff options
context:
space:
mode:
authorŁukasz Gieryk <lukasz.gieryk@linux.intel.com>2022-05-09 16:16:16 +0200
committerKlaus Jensen <k.jensen@samsung.com>2022-06-23 23:24:29 +0200
commit746d42b13368e18856dccf16bd39e04d02feec09 (patch)
treee03dfb4ab84bb19092d9a1b375f97dc72fcc37f6 /include/hw/core/accel-cpu.h
parentaa817713376195cc5cd861183fc7f953a7b60d5d (diff)
downloadfocaccia-qemu-746d42b13368e18856dccf16bd39e04d02feec09.tar.gz
focaccia-qemu-746d42b13368e18856dccf16bd39e04d02feec09.zip
hw/nvme: Initialize capability structures for primary/secondary controllers
With four new properties:
 - sriov_v{i,q}_flexible,
 - sriov_max_v{i,q}_per_vf,
one can configure the number of available flexible resources, as well as
the limits. The primary and secondary controller capability structures
are initialized accordingly.

Since the number of available queues (interrupts) now varies between
VF/PF, BAR size calculation is also adjusted.

Signed-off-by: Łukasz Gieryk <lukasz.gieryk@linux.intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'include/hw/core/accel-cpu.h')
0 files changed, 0 insertions, 0 deletions