From: Wei Liu Subject: Re: [PATCH 15/16] xen/vtd: prevent from assign the device with shared rmrr Date: Sun, 6 Sep 2015 22:27:56 +0100 Message-ID: <20150906212756.GA3383@zion.uk.xensource.com> References: <1437579859-24485-1-git-send-email-ian.jackson@eu.citrix.com> <1437579859-24485-16-git-send-email-ian.jackson@eu.citrix.com> <55E96FD0020000780009F86A@prv-mh.provo.novell.com> <55EBA1E9.5040509@intel.com> <55EBBEE5.2090700@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <55EBBEE5.2090700@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Chen, Tiejun" Cc: Kevin Tian , xen-devel@lists.xensource.com, Wei Liu , Ian Campbell , George Dunlap , Tamas K Lengyel , Ian Jackson , Jan Beulich , Yang Zhang List-Id: xen-devel@lists.xenproject.org On Sun, Sep 06, 2015 at 12:19:49PM +0800, Chen, Tiejun wrote: [...] > >>Tamas, do you actually mean to assign these to _different_ > >>>>guests, considering the log fragment above?) > >>>> > >>>> > >>>No, I actually want to assign them to the same domain. The domain creation > >>>fails with either of those devices specified for passthrough whether they > >>>are to be attached to the same domain or not. > >>> > >>> > >>Tamas, could you try this in your case? > >> > > > >Took me a while to find the xl config option to set this flag (pci = [ > >'sbdf, rdm_policy=strict/relaxed' ]) but now it works as expected! > > > > I remember 'relaxed' is a default value so 'rdm_policy' can't be dropped > here if you like this. > For a specific PCI device, the default value is strict. Wei. > Thanks > Tiejun