[CentOS-virt] Error doing PCI passthrough on CentOS 7.2

Wed Sep 14 14:52:08 UTC 2016
C. L. Martinez <carlopmart at gmail.com>

On Wed 14.Sep'16 at  7:17:45 -0600, Alex Williamson wrote:
> On Wed, 14 Sep 2016 15:00:37 +0200
> Paolo Bonzini <pbonzini at redhat.com> wrote:
> 
> > On 14/09/2016 14:35, Sandro Bonazzola wrote:
> > > FYI
> > > 
> > > 
> > > ---------- Forwarded message ----------
> > > From: *C. L. Martinez* <carlopmart at gmail.com <mailto:carlopmart at gmail.com>>
> > > Date: Tue, Sep 13, 2016 at 11:29 AM
> > > Subject: [CentOS-virt] Error doing PCI passthrough on CentOS 7.2
> > > To: centos-virt at centos.org <mailto:centos-virt at centos.org>
> > > 
> > > 
> > > Hi all,
> > > 
> > >  I am trying to configure a kvm guest using pci passthrough to pass it a
> > > wireless pci adapter (host is my personal laptop). But when I try to
> > > start it:
> > > 
> > > error: Failed to start domain obsdfw
> > > error: unsupported configuration: host doesn't support passthrough of
> > > host PCI devices  
> > 
> > What's the libvirt XML for the domain?
> > 
> > >  PCI passthrough is enabled:
> > > 
> > > [    0.000000] Command line:
> > > BOOT_IMAGE=/vmlinuz-3.10.0-327.28.3.el7.x86_64
> > > root=UUID=48220e4e-228c-42d9-a0af-482c2fc7c008 ro crashkernel=auto rhgb
> > > quiet intel_iommu=on
> > > [    0.000000] Kernel command line:
> > > BOOT_IMAGE=/vmlinuz-3.10.0-327.28.3.el7.x86_64
> > > root=UUID=48220e4e-228c-42d9-a0af-482c2fc7c008 ro crashkernel=auto rhgb
> > > quiet intel_iommu=on
> > > 
> > >  And supported according dmesg output:
> > > 
> > > root at lapdev01# dmesg | grep IOM
> > > [    0.000000] Intel-IOMMU: enabled  
> > 
> > Is the VFIO module installed, and can you see IOMMU groups in "ls -lR
> > /dev/vfio"?
> 
> What's the host processor model?  If this is the only line you see,
> chances are your processor doesn't support VT-d, this line is just an
> acknowledgment of the intel_iommu=on parameter, it doesn't indicate
> that it's really enabled as it implies.  The line you need to see is:
> 
>   DMAR: Intel(R) Virtualization Technology for Directed I/O
> 
> Find your processor on http://ark.intel.com/ and look for VT-d
> support.  Thanks,
> 
> Alex


Oops .. You are right Alex. My processor doesn't support VT-d according to Intel.

Many thanks for your help.

-- 
Greetings,
C. L. Martinez