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

RE: [Xen-devel] iommu: mapping reserved region failed - Q35 -VT-DIssue

Stefan Bauer wrote:
> Han, Weidong schrieb:
>> Yes, this output is complete and helpful. I found the problem exists
>> in domain_context_mapping(), which never succeeds. Thus result in
>> other problems. Can you add some printk to locate where it fails?  
> I will if you advice me how to do where exactly.

I think you can add printk after check of drhd:

     if ( !drhd )
+    {
+        printk("%s: can't find drhd for device (bus=%x dev=%x func=%x)\n",
+                __func__, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
         return -ENODEV;
+    }

and you also can change XENLOG_INFO to XENLOG_ERR in domain_context_mapping(). 

>> In addition, I suggest you don't add extra graphic card into your
>> machine, as I know it may introduce issues on Q35. 
> Problem is that i want to use the pci-e card for my hvm guest and the
> onboard one for dom0. it seems that both the onboard and pci-e one
> cant work alongside, so iam forced to add another one.

A few months ago,  in xen mailing list I remember some guys reported: when 
using PEG card (turning off integrated Gfx) on Q35, VT-d cannot work. It's the 
bios issue. I suspect it's not fixed yet. So I suggest you to use IGD instead 
of PEG.

Xen-devel mailing list



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