From: Sheng Yang Subject: Re: [PATCH 09/10] KVM: Enable MSI for device assignment Date: Tue, 4 Nov 2008 23:14:11 +0800 Message-ID: <20081104151411.GA11539@yukikaze> References: <1225428647-27614-1-git-send-email-sheng@linux.intel.com> <1225428647-27614-10-git-send-email-sheng@linux.intel.com> <49103098.7020109@redhat.com> <20081104132543.GB18696@yukikaze> <49104F01.30604@redhat.com> <20081104135853.GC18696@yukikaze> <49105DA7.3020204@redhat.com> <20081104145716.GD18696@yukikaze> <491063B0.9030302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sheng Yang , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from rv-out-0506.google.com ([209.85.198.228]:61750 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753307AbYKDPOR (ORCPT ); Tue, 4 Nov 2008 10:14:17 -0500 Received: by rv-out-0506.google.com with SMTP id k40so3329652rvb.1 for ; Tue, 04 Nov 2008 07:14:16 -0800 (PST) Content-Disposition: inline In-Reply-To: <491063B0.9030302@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Nov 04, 2008 at 05:01:04PM +0200, Avi Kivity wrote: > Sheng Yang wrote: >>> struct gsi { >>> u32 n : 24; >>> u32 type : 8; // 0 -> classic gsi, 1 -> msi >>> }; >>> >> >> I just don't understand why we need 24 bits for n? GSI can be that wide? >> > > I don't think so, but who knows what we'll need for type == 2? Oh, OK, don't take it too seriously. I just took it too seriously to think that you got some certain defines to support magic number 24. :) -- regards Yang, Sheng > -- > error compiling committee.c: too many arguments to function > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html