[libvirt] QEMU/KVM support for non zero PCI domain

Laine Stump laine at laine.org
Sat Apr 13 00:48:24 UTC 2013


On 04/12/2013 05:00 PM, Charles Peri wrote:
> Hi,
>   I am trying to run Virt-Manager, using KVM on a SGIUV100 system with RHEL 6.1. I am trying to enable PCI pass-thorugh for the Mellanox, but the PCI domain for the device is 0001. 

Interesting! I knew it existed, but I've never seen hardware that
actually had multiple domains.

>
> 0001:01:00.0 Ethernet controller: Mellanox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s] (rev b0)
> 0001:02:00.0 InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE] (rev b0)
>
> When I try to add the device, I get an error stating that "Can't assign device inside non- zero PCI segment, as this KVM module doesn't support it". Is there a version of KVM module that supports non zero PCI segment?

Huh. I would have figured it would be stopped by libvirt first, as
libvirt's PCI address parsing currently rejects anything with domain or
bus that isn't 0. That doesn't sound like a libvirt error message
though, which implies that, at least for host-side PCI addresses,
libvirt is doing the right thing, and the error is coming back from kvm.

> Sorry, if this is not the right email list to ask this question, I checked on the KVM IRC, but haven't got any answer.

A few questions:

1) What is your Linux distro and version
2) what version of qemu/kvm do you have
3) what version of libvirt?
4) Does libvirt actually get to the point of running qemu or kvm command?
5) If the answer to (4) is "yes", can you send the qemu command that is
generated (it will be at the end of /var/log/libvirt/qemu/${guestname}.log)




More information about the libvir-list mailing list