> 2nd. add a line to your PV domU config file:
> pci = [ '04:00.0' ]
But where do I find this domU config file. Only file I can get is the
XML config file when doing the virsh dumpxml. In every documentation it
says they are in /etc/xen/vm but I have no vm directory.
I don't know which documentation you've read, but these doc's might be read
as there should be a 'vm' file inside /etc/xen.
a minimal example file could be:
###
#kernel = '/path/to/your/domU_kernel'
kernel = '/boot/vmlinuz-2.6.18.8-xen'
#ramdisk = '/path/to/your/domU_initrd'
ramdisk = '/boot/initrd.img-2.6.18.8-xen'
#root = '/path/to/root_device/as_seen_from_domU additional_kernel_boot_params'
root = '/dev/xvda2 ro'
#disk = [ 'file:/path/to/an/example/domU_imagefile.img,device,accessmode',
'phy:/example/lv_or_partition,device,accessmode', '...' ]
disk = [ 'phy:/dev/vg0/vm-swap,xvda1,w', 'phy:/dev/vg0/vm-disk,xvda2,w' ]
#name = 'hostname'
name = 'vm'
#vif = [ 'mac=SO:ME:_M:AC:AD:DR,bridge=bridgename,ip=some.ip.add.ress', '...' ]
vif = [ 'max=00:16:3e:eb:b7:d1,bridge=eth0' ]
#pci = [ 'xx:xx.x', '...' ] # pci passthrough
#pci = [ '04:00.0' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
###
You can start this domU by using the filename. For this example:
xm create vm
I don't know the favorite way on fedora, but I like xen-tools [1] to create a
domU
including this config file.
Hope this helps,
Stephan
[1] http://www.xen-tools.org/
s_seitz.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|