From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 50891] New: The smp_affinity cannot work correctly when PCI passthrough device using msi/msi-x with KVM Date: Thu, 22 Nov 2012 15:37:09 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:49516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803Ab2KVSkD convert rfc822-to-8bit (ORCPT ); Thu, 22 Nov 2012 13:40:03 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CEA90204CE for ; Thu, 22 Nov 2012 15:37:10 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id D5FB5204C7 for ; Thu, 22 Nov 2012 15:37:09 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=3D50891 Summary: The smp_affinity cannot work correctly when PCI passthrough device using msi/msi-x with KVM Product: Virtualization Version: unspecified Kernel Version: 3.7-rc6 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm AssignedTo: virtualization_kvm@kernel-bugs.osdl.org ReportedBy: yilikernel@gmail.com CC: kvm@vger.kernel.org Regression: No 1: passthrough a netcard (Brodcom BCM5716S) to the guest os 2: ifup the netcard, the card will use msi-x interrupt default, and clo= se the irqbalance service 3: echo 4 > cat /proc/irq/NETCARDIRQ/smp_affinity, so we assume the vc= pu2 handle the irq. 4: we have set and set the irq kvm:p= ci-bus to the pcpu1 on the host. we think this configure will reduce the ipi interrupt when inject inter= rupt to the guest os. but this irq is not only handle on vcpu2. it is not expec= t=E3=80=82 --=20 Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=3Demai= l ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.