<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi everybody,<br>
<br>
i'am not able to configure a working pci passthrough under f8.<br>
<br>
Here some Parameters:<br>
- Using virsh to manage my guests<br>
- Xen host is running 2.6.21.7-2.fc8xen (SMP) from 15. Feb. 2008
12:39:36<br>
- Virsh version: libvir 0.4.0/ API xen 3.0.1/ Hypervisor 3.1.0<br>
- Guest is setup with virt-install<br>
<br>
XML-Configuration of guest locks like this:<br>
<i><domain type='xen' id='-1'><br>
  <name>VM6</name><br>
  <uuid>3a84bc19-69fe-370d-8726-508a4714ceae</uuid><br>
  <bootloader>/usr/bin/pygrub</bootloader><br>
  <os><br>
    <type>linux</type><br>
  </os><br>
  <memory>131072</memory><br>
  <vcpu>1</vcpu><br>
  <on_poweroff>destroy</on_poweroff><br>
  <on_reboot>restart</on_reboot><br>
  <on_crash>restart</on_crash><br>
  <devices><br>
    <interface type='bridge'><br>
      <source bridge='br2-dmz'/><br>
      <target dev='vif-1.0'/><br>
      <mac address='00:16:3e:42:23:56'/><br>
      <script path='vif-bridge'/><br>
    </interface><br>
    <disk type='block' device='disk'><br>
      <driver name='phy'/><br>
      <source dev='/dev/VolGroup01/lv_comm-01_xvda'/><br>
      <target dev='xvda'/><br>
    </disk><br>
    <disk type='block' device='disk'><br>
      <driver name='phy'/><br>
      <source dev='/dev/VolGroup01/lv_comm-01_swap'/><br>
      <target dev='xvdb'/><br>
    </disk><br>
    <disk type='block' device='disk'><br>
      <driver name='phy'/><br>
      <source dev='/dev/VolGroup01/lv_comm-01_xvdc'/><br>
      <target dev='xvdc'/><br>
    </disk><br>
    <input type='mouse' bus='xen'/><br>
    <graphics type='vnc' port='5906'/><br>
    <pci bus='00:04.0' /><br>
  </devices><br>
</domain></i><br>
<br>
<br>
After "virsh define" the "<pci bus'00:04.0' />" is not visible in
an "virsh dumpxml".<br>
"lspci" in the running guest shows no pci devices.<br>
<br>
To hide my pci devices from Dom0 i've modified my /etc/rc.d/rc.local as
described <br>
in some articles found on the web:<br>
<i>#!/bin/sh<br>
#<br>
# This script will be executed *after* all the other init scripts.<br>
# You can put your own initialization stuff in here if you don't<br>
# want to do the full Sys V style init stuff.<br>
<br>
<br>
#<br>
# Initialize xen pciback...<br>
#<br>
modprobe pciback<br>
sleep 2<br>
<br>
# AVM FritzCard...<br>
SLOT=0000:00:04.0<br>
# Add a new slot to the PCI Backend's list<br>
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot<br>
# Now that the backend is watching for this slot, bind to it<br>
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind<br>
<br>
# Adaptec SCSI controller...<br>
SLOT=0000:00:04.0<br>
# Add a new slot to the PCI Backend's list<br>
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot<br>
# Now that the backend is watching for this slot, bind to it<br>
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind<br>
<br>
# Start XEN...<br>
#/etc/init.d/xendomains start<br>
/etc/init.d/xend start<br>
<br>
/usr/bin/virsh start VM1<br>
/usr/bin/virsh start VM2<br>
/usr/bin/virsh start VM3<br>
/usr/bin/virsh start VM4<br>
/usr/bin/virsh start VM5<br>
#/usr/bin/virsh start VM6<br>
<br>
<br>
touch /var/lock/subsys/local</i><br>
<br>
<br>
Please can somebody help? ANY hints are welcome!<br>
<br>
ThX...<br>
Chris<br>
<br>
</body>
<br />--
<br />Diese E-Mail wurde auf Viren und gefährliche Anhänge
<br />durch
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a> untersucht und ist wahrscheinlich virenfrei.
<br />MailScanner dankt <a href="http://www.transtec.de/">transtec</a> für die freundliche Unterstützung.
</html>