From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg9Zg-0002c3-3s for qemu-devel@nongnu.org; Sat, 03 Sep 2016 07:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bg9Zd-000893-1L for qemu-devel@nongnu.org; Sat, 03 Sep 2016 07:57:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg9Zc-00088x-SA for qemu-devel@nongnu.org; Sat, 03 Sep 2016 07:57:24 -0400 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> From: John Ferlan Message-ID: Date: Sat, 3 Sep 2016 07:57:22 -0400 MIME-Version: 1.0 In-Reply-To: <22097a95-21c6-3aec-f0ff-717181a705f8@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Kirti Wankhede , Michal Privoznik , Alex Williamson 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" >>> 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