From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] qemu-kvm: Do not advertise MSI caps on lacking KVM support Date: Tue, 3 May 2011 16:18:40 -0300 Message-ID: <20110503191840.GC10617@amt.cnet> References: <4DBAA001.3000905@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm , "Michael S. Tsirkin" To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42397 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754508Ab1ECTU5 (ORCPT ); Tue, 3 May 2011 15:20:57 -0400 Content-Disposition: inline In-Reply-To: <4DBAA001.3000905@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Apr 29, 2011 at 01:24:49PM +0200, Jan Kiszka wrote: > As suggested by Michael Tsirkin: Move the check for GSI routing from > kvm_msi_message_add to the MSI/MSI-X initalization. If it fails (and KVM > is in in-kernel irqchip mode), do not advertise MSI at all. > > Signed-off-by: Jan Kiszka Applied, thanks.