From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2] kvm: Disable MSI/MSI-X in assigned device reset path Date: Sun, 08 Apr 2012 16:18:29 +0300 Message-ID: <4F819025.30407@redhat.com> References: <20120405033450.25661.68810.stgit@bling.home> <4F818F35.7010905@redhat.com> <20120408131710.GA13997@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alex Williamson , kvm@vger.kernel.org, jan.kiszka@siemens.com, jbaron@redhat.com To: "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:29876 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754950Ab2DHNSe (ORCPT ); Sun, 8 Apr 2012 09:18:34 -0400 In-Reply-To: <20120408131710.GA13997@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04/08/2012 04:17 PM, Michael S. Tsirkin wrote: > > > > Don't we FLR the device, which ought to disable MSI on the real device? > > AFAIK we call pci_reset, which saves device state, does an FLR > and then restores the state. I think this might include msi as well. > > Then that is wrong as well, no? -- error compiling committee.c: too many arguments to function