On Wed, 2019-05-08 at 13:27 +0000, Jeremy Stanley wrote:
On 2019-05-08 08:46:56 -0400 (-0400), Artom Lifshitz wrote: [...]
The use case is CI coverage for Nova's VGPU feature. This feature can be summarized (and oversimplified) as "SRIOV for GPUs": a single physical GPU can be split into multiple virtual GPUs (via libvirt's mdev support [5]), each one being assigned to a different guest. We have functional tests in-tree, but no tests with real hardware. So we're looking for a way to get real hardware in the gate.
[...]
Long shot, but since you just need the feature provided and not the performance it usually implies, are there maybe any open source emulators which provide the same instruction set for conformance testing purposes? i tried going down this route looking at the netdev shim module for emulationg nics to test generic sriov but it does not actully do the pcie emulation of the vfs.
for vgpus im not aware of any kernel or userspace emulation we could use to test teh end to end workflow with libvirt. if anywone else know of one that would be an interesting alternative to pursue. also if any kernel developers want to pcie vf emulation to the netdevsim module it really would be awsome to be able to use that to test sriov nics in the gate without hardware.