[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] RE: Xen PCI Passthrough

  • To: Frederic Abel <Frederic.Abel@xxxxxxxxxxx>
  • From: Sylvain LALOZE <sylspy20@xxxxxxxxx>
  • Date: Mon, 30 May 2011 16:29:29 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 30 May 2011 11:24:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=KeCRL0rYDQh5ifX2wuqQe3GtejAps0VYDpmflfMnpj2jRBdsq+f7PxRiIyiYsiOLTC je/WTzKvDlFqA23QgkPMrlH3saUiHIz1epzm8patFomgUFL3YzhNOfRQSbfkFD6cDIZP sgHnpmv2IpY5cGLSj+P2ClOCj8TxtQKR1bZ4I=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I play this part
echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind

I adapted this with my config like
# lspci -n | grep 01:00.0
01:00.0 0300: 10de:06cd (rev a3)
But I don't have the directory pci-stub, only pciback

And my kernel config
title Xen 4.1.0                                                                 
root (hd0,4)
kernel /boot/xen.gz
module /boot/kernel-2.6.34-xen-r4 root=/dev/ram0 real_root=/dev/mapper/isw_dcgdj
hjbdg_Raid55 dodmraid dolvm domodules ro nomodeset pci=resource_alignment=01:00.
0 xen-pciback.hide=(01:00.0)
module /boot/initramfs-2.6.34-xen-r4

But I am not sure that is work well.
I tried modprob pciback then

xm pci-list-assignable-devices

Without good result

What I do wrong ?
Do I play again any part of Doc ?

2011/5/30 Frederic Abel <Frederic.Abel@xxxxxxxxxxx>

Simple question, did you hide the right PCI device ?

Run lspci to get the list of devices, no need to remove the pci hide, run it straight in dom0


Fr translate:

Vérifies que ta carte graphique est bien celle que tu cache.

lspci dans le dom0 te donnera la liste des adresse et cartes.

The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.

Xen-users mailing list

[Qui vivra ; verra]
[Errare Humanum Est ; Persavare Diabolicum]
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.