diff options
author | Łukasz Gieryk <lukasz.gieryk@linux.intel.com> | 2022-05-09 16:16:15 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2022-06-23 23:24:29 +0200 |
commit | aa817713376195cc5cd861183fc7f953a7b60d5d (patch) | |
tree | 5a01228103204917ebba134fcee7c8f6d87f5f06 /include | |
parent | 3bfcc51737a939d909e42fb7a93c11b68549a613 (diff) | |
download | qemu-aa817713376195cc5cd861183fc7f953a7b60d5d.zip qemu-aa817713376195cc5cd861183fc7f953a7b60d5d.tar.gz qemu-aa817713376195cc5cd861183fc7f953a7b60d5d.tar.bz2 |
hw/nvme: Calculate BAR attributes in a function
An NVMe device with SR-IOV capability calculates the BAR size
differently for PF and VF, so it makes sense to extract the common code
to a separate function.
Signed-off-by: Łukasz Gieryk <lukasz.gieryk@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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions