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

Re: [Xen-devel] xsa46-4.2.patch breaks PCI passthrough?

On 01/05/13 12:09, Andrew Cooper wrote:
> On 01/05/13 06:29, Steven Haigh wrote:
>> Hi all,
>> I've had a report lodged against my packages that the patch provided for 
>> XSA46 against Xen 4.2.1 causes PCI passthru to break.
>> It seems that 4.2.1 *without* the XSA46 patch works perfectly. 4.2.2 
>> does not work.
>> I added this patch in xen-4.2.1-6 of my RPMs (http://xen.crc.id.au) and 
>> the reporter has built the same SRPM with xsa46 patch removed and PCI 
>> passthrough works as intended.
>> Reapplying the XSA46 patch causes it to break again.
>> The bug report and logs can be found here:
>>      http://xen.crc.id.au/bugs/view.php?id=5
>> Has anyone come across this?
> XSA-46 was to do with PCI passthrough of PV domains, and in particular
> changing some of the rules regarding interrupts.
> One thing which is not clear from the bug report so far is what exactly
> is failing with an EINVAL.  The implication is that it is the toolstack
> which is bailing before the VM is created.
> I will take a closer look at the two log files.
> ~Andrew
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

Ok - please ignore my previous email somewhat.

Xend is failing a xc.domain_irq_permission() call.  As the toolstack
side of things have not changed, it must be the changed in the
hypervisor which are causing the issues.

Can you please try the attached patch, and pass along xl dmesg in the
failing case?


Attachment: XSA-46-debug.patch
Description: Text Data

Xen-devel mailing list



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