Skip to contentSkip to conversation

device mapping

DISCUSSION Deepak Manohar 4 participants 4 messages May 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

How do I map certain pci devices directly into a user domain?
Has anybody done this? Any leads would be appreciated.

thanks
deepak

#1 lore raw
Quoted 3 lines · Deepak Manohar

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']

#2 lore raw

[email protected] wrote on 05/17/2005 04:38:35 PM:

Quoted 16 lines · Deepak Manohar
Quoted 3 lines

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

Quoted 5 lines

give pci device to dom u in config file:

pci = ['00,1f,2']

From what I have been trying with recent xeno unstable checkouts I can say

that it does not work anymore.
Q: Is this functionality going to come back in the future?

Cheers!

Stefan

#3 lore raw
Quoted 6 lines
Quoted 3 lines

pci = ['00,1f,2']

From what I have been trying with recent xeno unstable checkouts I can say

that it does not work anymore.
Q: Is this functionality going to come back in the future?

Yes, it's supposed to be coming back in time for 3.0.

Cheers,
Mark