WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Interrupt issue for nic cards

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Interrupt issue for nic cards
From: Wei Liu <liuw@xxxxxxxxx>
Date: Fri, 13 May 2011 11:14:47 +0800
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 12 May 2011 20:16:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all.

I'm running the latest Xen unstable with Debian Squeeze as DomU in HVM mode.

I configured two nics:

vif = ['bridge=br0,model=virtio', 'type=ioemu,bridge=br0,model=rtl8139']

These two cards can be successfully configured in DomU. But they fail
to communicate with host bridge.

I can see packets coming out their taps, but no packets are going back
into DomU.

Stefano suggest I look into /proc/interrupts. It shows:

11      0    IO-APIC-fasteoi   eth0
48      0    PCI-MSI-edge   virtio0-config
49      0    PCI-MSI-edge   virtio0-input
50      0    PCI-MSI-edge   virtio0-output

It seems that there are no interrupts for those nic devices. I'm
pretty sure that QEMU has pushed the data back and set interrupts
(through msix_notify / qemu_set_irq).

Has anyone encountered this problem before?

-- 
Best regards
Wei Liu
Twitter: @iliuw
Site: http://liuw.name

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>