Skip to content

vdpa_sim_blk: set number of address spaces and virtqueue groups

Stefano Garzarella requested to merge sgarzarella/centos-stream-9:bz2133164 into main

Bugzilla: https://bugzilla.redhat.com/2133164

We're going to use vdpa_sim_blk to test QEMU vdpa-blk support through libblkio. Unfortunately there is a kernel panic when creating a new vdpa_sim_blk device.

Let's fix it, initializing the missing values.

$ git backport-diff -u upstream/master -r HEAD~1..HEAD
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/1:[----] [--] 'vdpa_sim_blk: set number of address spaces and virtqueue groups'

Signed-off-by: Stefano Garzarella sgarzare@redhat.com

Merge request reports