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

Re: [Xen-devel] hide pci device issue.


  • To: <xen-devel@xxxxxxxxxxxxx>
  • From: Gordan Bobic <gordan@xxxxxxxxxx>
  • Date: Thu, 22 Aug 2013 17:15:19 +0100
  • Delivery-date: Thu, 22 Aug 2013 16:15:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On Fri, 23 Aug 2013 00:04:11 +0800, ??? <chm.bj@xxxxxxxxxxx> wrote:
hi,

 Sorry to post here, should I ask question about xen here?

if a PCI device is hided via domain0 kernel startup parameter, should
it be seen in domain 0's lspci command output?

 Below is my grub startup parameter.
xen-pciback.hide=(00:02:0)(00:02:1) is used to hide two device.

 kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1
dom0_vcpus_pin iommu=1
 module /vmlinuz-3.10.7-1.el6xen.x86_64 ro
root=UUID=90faade6-ee45-499c-88a0-a460ae727270 rd_NO_LUKS rd_NO_LVM
LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc
KEYTABLE=us rd_NO_DM rhgb quiet

 In my understanding, the two devices shouldn't be used by domain 0.
lspci cannot see the two device.

but lspci still can see the two device. is there misunderstanding for
me ?

You are misunderstanding what pciback does. The devices are still
visible from dom0. pciback binds to them instead of their normal
driver, and handles handing the device over to domUs.

Gordan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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