From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 50891] The smp_affinity cannot work correctly on guest os when PCI passthrough device using msi/msi-x with KVM Date: Thu, 29 Nov 2012 16:33:39 +0000 (UTC) Message-ID: <20121129163339.1B31C11FB3B@bugzilla.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:40900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107Ab2K2Qdm (ORCPT ); Thu, 29 Nov 2012 11:33:42 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D1A920216 for ; Thu, 29 Nov 2012 16:33:40 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id 1F3A5201FE for ; Thu, 29 Nov 2012 16:33:39 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=50891 --- Comment #7 from Alex Williamson 2012-11-29 16:33:38 --- (In reply to comment #6) > 1:i have set the irq (associate the passthrough device) to the vcpu2 on the > guest os.but look at /proc/interrupts on the guest and the interrupt count > with the pinned IRQ increases a lot of vcpus except the vcpu0. Perhaps double check that irqbalance is not running the in guest, ps aux | grep irqbalance. > 2 my qemu kvm version is 1.2 , and have not add the patch > http://www.spinics.net/lists/kvm/msg83109.html from, maybe it will help me. > are you sure that your qemu-kvm is from the > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git? Those patches are against git://git.qemu.org/qemu.git I believe the BCM5716 will try to use MSI-X interrupts, not MSI. Please provide lspci -vvv of the device in the guest and we can verify what interrupt mode it's working in. What is the guest operating system? Thanks. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.