From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v8 4/6] docs: Add Documentation for Mediated devices Date: Thu, 13 Oct 2016 18:00:07 +0200 Message-ID: References: <1476131317-358-1-git-send-email-kwankhede@nvidia.com> <1476131317-358-5-git-send-email-kwankhede@nvidia.com> <20161011141411.GH14917@redhat.com> <08c939a3-c78e-a457-1978-794ffb50ee2c@nvidia.com> <6814afb2-3e39-f1c9-8944-489391e948e2@nvidia.com> <20161012095955.192affc5@t450s.home> <20161012154457.5a05b4fb@t450s.home> <6d74aedb-881d-0b1b-90ff-aedea7f79156@nvidia.com> <20161013083607.2357fe5f@t450s.home> 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" , "Tian, Kevin" , "qemu-devel@nongnu.org" , "kraxel@redhat.com" , Laine Stump , "bjsdjshi@linux.vnet.ibm.com" To: Alex Williamson , Kirti Wankhede Return-path: In-Reply-To: <20161013083607.2357fe5f@t450s.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On 13/10/2016 16:36, Alex Williamson wrote: >> > >> > Libvirt would have parent and type_id in XML. No two vendors can own >> > same parent device. So I don't think vendors would collide even having >> > same type_id, since pair would always be unique. > > We have a goal of supporting migration with mdev devices, Intel has > already shown this is possible. Tying the XML representation of an > mdev device to a parent device is directly contradictory to that goal. > libvirt needs a token which is unique across vendor to be able to > instantiate an mdev device. is unacceptable. Would the vGPU's PCI vendor and device ID be acceptable and unique? Paolo