From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Ferlan Subject: Re: [libvirt] [Qemu-devel] [PATCH v7 0/4] Add Mediated device support Date: Sat, 3 Sep 2016 07:57:22 -0400 Message-ID: References: <1472097235-6332-1-git-send-email-kwankhede@nvidia.com> <20160830101638.49df467d@t450s.home> <78fedd65-6d62-e849-ff3b-d5105b2da816@redhat.com> <20160901105948.62f750aa@t450s.home> <98bbdbbf-c388-9120-3306-64f0cfb820a7@nvidia.com> <8682faeb-0331-f014-c13e-03c20f3f2bdf@redhat.com> <22097a95-21c6-3aec-f0ff-717181a705f8@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "Song, Jike" , "cjia@nvidia.com" , "kvm@vger.kernel.org" , "libvir-list@redhat.com" , "Tian, Kevin" , "qemu-devel@nongnu.org" , "kraxel@redhat.com" , Laine Stump , "bjsdjshi@linux.vnet.ibm.com" To: Paolo Bonzini , Kirti Wankhede , Michal Privoznik , Alex Williamson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55218 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbcICL53 (ORCPT ); Sat, 3 Sep 2016 07:57:29 -0400 In-Reply-To: <22097a95-21c6-3aec-f0ff-717181a705f8@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: >>> After creating the vGPU, if required by the host driver, all the other >>> type ids would disappear from "virsh nodedev-dumpxml pci_0000_86_00_0" too. >> >> Not wanting to make assumptions, but this reads as if I create one type >> 11 vGPU, then I can create no others on the host. Maybe I'm reading it >> wrong - it's been a long week. > > Correct, at least for NVIDIA. > OK, but so what am I missing vis-a-vis the groups conversation? Sounds like multiple vGPU's are being combined, but if only one can be created. I think this is where I got confused while reading... >> PCI devices have the "managed='yes|no'" attribute as well. That's what >> determines whether the device is to be detached from the host or not. >> That's been something very painful to manage for vfio and well libvirt! > > mdevs do not exist on the host (they do not have a driver on the host > because they are not PCI devices) so they do need any management. At > least I hope that's good news. :) > Laine was more eloquent than I on this... John