Jump to content
  • 0

XenServer 7.6 pci-attach


Julio Cesar

Question

Hello!!!
I have an XenServer 7.6 and am trying to pass a PCI-E card via passtrought to a CentOS / ElisaPBX VM HVM.

Following are steps:

[root @ xenserver-esp ~] # lspci

02: 08.0 Ethernet Controller: Digium, Inc. Wildcard AEX410 4-Port Analog Card (PCI-Express) (rev 11)

[root @ xenserver-esp ~] # xl pci-assignable-add 02: 08.0

[root @ xenserver-esp ~] # xl pci-assignable-list

0000: 02: 08.0

[root @ xenserver-esp ~] # xl list

CentOSTel_192.168.150.234 35 2047 1 -b ---- 11.4

VM Number: 35

When I do the command:

[root @ xenserver-esp ~] # xl pci-attach 35 02: 08.0

It returns me the error:

libxl: error: libxl_exec.c: 226: libxl__xenstore_child_wait_deprecated: Device Model not ready

I am following this material: https://wiki.xenproject.org/wiki/Xen_4.2:_xl_and_pci_pass-through

Am I missing something? Could anyone help me in this situation?

 

 

[root @ xenserver-esp ~] # uname -a

Linux xenserver-esp 4.4.0 + 10 # 1 SMP Fri Aug 24 08:15:39 UTC 2018 x86_64 x86_64 x86_64 GNU / Linux

[root @ xenserver-esp ~] # cat / etc / centos-release

XenServer release 7.6.0 (xenenterprise)

Link to comment

6 answers to this question

Recommended Posts

  • 0

Thanks Alan!

I tried to do the procedure but had some errors. And the PCI board is still shown on my dom0. Do you know why this happens?

 

Logs:

 

# dmesg | grep pcib
[    0.000000] Command line: root=LABEL=root-sksiks ro nolvm hpet=disable xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash plymouth.ignore-serial-consoles xen-pciback.hide=(02:08.0)
[    0.000000] Kernel command line: root=LABEL=root-sksiks ro nolvm hpet=disable xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash plymouth.ignore-serial-consoles xen-pciback.hide=(02:08.0)
[   24.933347] pciback 0000:02:08.0: seizing device
[   24.935025] pciback 0000:02:08.0: can't claim BAR 6 [mem 0xfffe0000-0xffffffff pref]: no compatible bridge window
[   24.935109] pciback 0000:02:08.0: BAR 6: assigned [mem 0x9cd20000-0x9cd3ffff pref]
[   25.118231] pciback 0000:02:08.0: Signaling PME through PCIe PME interrupt
[   25.531634] pciback 0000:02:08.0: enabling device (0150 -> 0153)
[   25.563339] xen_pciback: backend is vpci
 

That's my hardware that i'd like to hide:

02:08.0 Ethernet controller: Digium, Inc. Wildcard AEX410 4-port analog card (PCI-Express) (rev 11)
 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...