From: Mark Williamson Subject: Re: sharing PCI devices .... Date: Wed, 7 Sep 2005 16:13:10 +0100 Message-ID: <200509071613.10168.mark.williamson@cl.cam.ac.uk> References: <20050907134214.GF25239@cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050907134214.GF25239@cc.gatech.edu> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Himanshu Raj , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > A question about PCI devices. If we leave security problems aside, is it > possible to provide access of a PCI device to 2 domains (may include dom > 0), i.e. would current xen implementation suffice or a PCI device can only > be used exclusively by a domain. Not usually: devices are basically stupid and they only expect one entity to be talking to them. If you get multiple domains driving a device directly it'll probably end in tears, although it might be amusing :-) You've really got two choices: 1) Just assign a device to one domain at a time - maybe buy multiple devices to serve multiple domains. 2) Virtualise at a higher level using a backend / frontend. e.g. the virtual block device, virtual net dev, virtual usb dev, etc... What are you actually trying to achieve? Cheers, Mark