From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXC5v-0003A7-4k for qemu-devel@nongnu.org; Sun, 04 Dec 2011 08:27:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXC5t-0006be-VS for qemu-devel@nongnu.org; Sun, 04 Dec 2011 08:27:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXC5t-0006bW-IZ for qemu-devel@nongnu.org; Sun, 04 Dec 2011 08:27:01 -0500 Message-ID: <4EDB7520.3030108@redhat.com> Date: Sun, 04 Dec 2011 15:26:56 +0200 From: Avi Kivity MIME-Version: 1.0 References: <4EDB71B6.5090508@redhat.com> <4EDB7297.8030607@web.de> In-Reply-To: <4EDB7297.8030607@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC][PATCH 01/16] msi: Generalize msix_supported to msi_supported List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , kvm@vger.kernel.org, "Michael S. Tsirkin" , Marcelo Tosatti , qemu-devel , Blue Swirl On 12/04/2011 03:16 PM, Jan Kiszka wrote: > On 2011-12-04 14:12, Avi Kivity wrote: > > On 12/03/2011 01:17 PM, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> Rename msix_supported to msi_supported and control MSI and MSI-X > >> activation this way. That was likely to original intention for this > >> flag, but MSI support came after MSI-X. > > > > 'and' is a dangerous word in a changelog entry. > > This patch hardly qualifies for two IMHO. If we don't have to change it, no. > > > > >> > >> + > >> + if (!msi_supported) { > >> + return -ENOTSUP; > >> + } > >> + > >> > > > > This changes behaviour. qemu 1.0 -M pc-1.0 and qemu-1.1 -M pc-1.0 will > > be different after this, no? > > > > Only isapc had msix_supported = 0, and I doubt we got there (msi_init) > for that machine. Or am I missing something? > Ah, I thought it was a user-settable property, but it isn't. -- error compiling committee.c: too many arguments to function