WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Frederic Abel <Frederic.Abel@xxxxxxxxxxx>
Subject: Re: [Xen-users] RE: Xen PCI Passthrough
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=zeOjGxNN36AiTFZoyc4SEnd8KyNa4VprqhfFiK5tJZY=; b=f2uZMeH8fyWOUG1/cxNOg8J//uDU/H1ZRyHP8yJT2xlx2BVK5cgtH3B5pUjvO9vqoI 8ilcL/MqdTUFdtSZceTG8O2S5pMgrT9BNF1gs0ccs5JNr30PnBkGqCPMK6a5fbgT4QSV yYxmgEYFlms77lDvuEY73tzTgjVj7y4pwcfss=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5373F9B6555CB641A1DAE7E03D7FE1990769EE50@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5373F9B6555CB641A1DAE7E03D7FE1990769EE50@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
--------------------------------
[Qui vivra ; verra]
[Errare Humanum Est ; Persavare Diabolicum]
--------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>