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:10:55 +0000 (UTC) Message-ID: <20121129161055.8412D11FB3B@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]:40226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754946Ab2K2QLE (ORCPT ); Thu, 29 Nov 2012 11:11:04 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97B202037C for ; Thu, 29 Nov 2012 16:11:02 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id BAD8720368 for ; Thu, 29 Nov 2012 16:10:57 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=50891 --- Comment #5 from Alex Williamson 2012-11-29 16:10:55 --- (In reply to comment #4) > 1: i have disable the irqbalance in the host, and the irq affinity on the host > is ok.you can see the 4 step in comment 0. > > 2: you see in comment 0, we have set irq affinity on the host is pcpu1. > and so reduce the ipi interrupt, so we want to set the irq affinity at the > vcpu2 on the guest os according , but the irq > affinity on the guest os when using msi-x is failed. How does it fail? When I test this, I look at /proc/interrupts on the guest and the interrupt count on the row with the pinned IRQ only increases in the column under the target CPU. Perhaps if you included some logs and exact commands used I could better understand where things are going wrong. 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.