From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] pci-assign: Do not expose MSI/MSI-X if the kernel does not support it Date: Wed, 3 Aug 2011 17:29:15 -0300 Message-ID: <20110803202915.GA31923@amt.cnet> References: <4E37ED2E.6030700@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm , Alex Williamson To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64684 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752956Ab1HCVPe (ORCPT ); Wed, 3 Aug 2011 17:15:34 -0400 Content-Disposition: inline In-Reply-To: <4E37ED2E.6030700@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Aug 02, 2011 at 02:27:26PM +0200, Jan Kiszka wrote: > Add checks for KVM_CAP_ASSIGN_DEV_IRQ (MSI) and KVM_CAP_DEVICE_MSIX, do > not set up MSI/MSI-X if the required kernel features are missing. > > Signed-off-by: Jan Kiszka > --- > hw/device-assignment.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) Applied, thanks.