<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 8 mai 2019 à 20:27, Artom Lifshitz <<a href="mailto:alifshit@redhat.com">alifshit@redhat.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, May 8, 2019 at 9:30 AM Jeremy Stanley <<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>> wrote:<br>
> Long shot, but since you just need the feature provided and not the<br>
> performance it usually implies, are there maybe any open source<br>
> emulators which provide the same instruction set for conformance<br>
> testing purposes?<br>
<br>
Something like that exists for network cards. It's called netdevsim<br>
[1], and it's been mentioned in the SRIOV live migration spec [2].<br>
However to my knowledge nothing like that exists for GPUs.<br>
<br></blockquote><div><br></div><div>libvirt provides us a way to fake mediated devices attached to instances but we still need to lookup sysfs for either knowing all the physical GPUs or creating a new mdev so that's where it's not possibleto have an emulator AFAICU.</div><div><br></div><div>-Sylvain</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
[1] <a href="https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.16-Networking" rel="noreferrer" target="_blank">https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.16-Networking</a><br>
[2] <a href="https://specs.openstack.org/openstack/nova-specs/specs/train/approved/libvirt-neutron-sriov-livemigration.html#testing" rel="noreferrer" target="_blank">https://specs.openstack.org/openstack/nova-specs/specs/train/approved/libvirt-neutron-sriov-livemigration.html#testing</a><br>
<br>
</blockquote></div></div>