From: Ian Jackson Subject: Re: [Xen-devel] [XEN][RFC PATCH 14/15] xl-parsing: Parse the new option device_models Date: Tue, 3 Apr 2012 14:31:03 +0100 Message-ID: <20346.64407.174158.890551@mariner.uk.xensource.com> References: <20345.56773.8058.87028@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Stefano Stabellini Cc: "Julien Grall (Intern)" , "xen-devel@lists.xensource.com" , "qemu-devel@nongnu.org" , Julian Pidancet List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [Xen-devel] [XEN][RFC PATCH 14/15] xl-parsing: Parse the new option device_models"): > On Mon, 2 Apr 2012, Ian Jackson wrote: > > I don't think this is really a suitable interface. The PCI space in > > the guest is controlled by the device models(s) and the user should > > surely specify which devices should be provided by which dms, in terms > > of devices not in terms of PCI space. > > Julien added a name parameter to select the device, maybe we need > something clearer? > Specifying the PCI address is important, because we have to make sure > the PCI addresses of the devices remain the same in a given VM across > multiple boots. Are the PCI addresses not assigned in a deterministic fashion by code in qemu-dm, in this case in the qemu-dm which is emulating the pci bridge ? If not then that needs to be fixed, surely ? Ian.