From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Butterworth Subject: Re: device mapping Date: Tue, 17 May 2005 21:38:35 +0100 Message-ID: <1116362315.24643.7.camel@localhost> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Deepak Manohar Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2005-05-17 at 12:35 -0700, Deepak Manohar wrote: > Hi, > > How do I map certain pci devices directly into a user domain? I'm doing this with a snapshot of unstable from a month or so ago. I'm not sure if this function works with the current unstable after the pci code was moved out of xen into domain 0. The stable branch of xen ought to work though. hide pci device from domain 0 in boot/grub/menu.lst: title Xen 2.6.11 root (hd0,1) kernel (hd0,0)/xen.gz dom0_mem=131072 physdev_dom0_hide=(00:1f.2) module (hd0,0)/vmlinuz-2.6.11-xen0 root=/dev/hda2 ro console=tty0 give pci device to dom u in config file: pci = ['00,1f,2']