Hi Weidong,
 
I believe I am using Xen 3.4.1 with changeset of 6 August 
2009. I can't remember the changeset number. I will check and get back to you 
later.
 
Thank you.
 
Regards,
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) 
BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines 
Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: 
teoenming@xxxxxxxxxxx
 
 
What version of Xen are you using? Make sure after c/s 
19893, which enables pci-stub to hide devices for 
assignment.
 
It works fine for me.
 
 > When I tried 
to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission 
denied
It doesn't matter. It is the same 
to pciback. You will get the same message when you do "cat 
/sys/bus/pci/drivers/pciback/new_id".
 
After use commands to hide 01:00.0 with pci-stub, can 
you see it use command 'ls /sys/bus/pci/drivers/pci-stub/'?
 
 
Regards,
Weidong
 
I find that following the instructions here at Xen Wiki VtdHowTo 
don't work:
Binding Devices to 
pci-stub
If using pv-ops dom0, also can use pci-stub to hide devices for 
assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 
01:00.0 and note down the vendor & device ID 8086:10b9 . 
...
01:00.0 0200: 8086:10b9 (rev 06)
...
* then use following commands to hide it: . 
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
When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied.
My NVIDIA graphics card is using BDF 01:00.0. When I change directory to 
/sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all.
Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel.
And when I tried the "xm pci-list-assignable-devices", nothing shows up.
I have already specified iommu=1 in grub.
Hope the Intel folks can assist in this matter.
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore
On 
08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: 
I have both 
  the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. 
  
Ng Beng Heng at the University of Michigan has done it. He's using the 
  same Intel DQ45CB as me. 
No virus found in this incoming message.
Checked 
by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.65/2322 - 
Release Date: 08/23/09 18:03:00