From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 05/10] KVM: Add fields for MSI device assignment Date: Tue, 04 Nov 2008 13:05:05 +0200 Message-ID: <49102C61.2010008@redhat.com> References: <1225428647-27614-1-git-send-email-sheng@linux.intel.com> <1225428647-27614-6-git-send-email-sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Sheng Yang Return-path: Received: from mx2.redhat.com ([66.187.237.31]:35521 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbYKDLFK (ORCPT ); Tue, 4 Nov 2008 06:05:10 -0500 In-Reply-To: <1225428647-27614-6-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: > Prepared for kvm_arch_assigned_device_msi_dispatch(). > > __u32 host_irq; > __u32 guest_irq; > __u32 flags; > + __u32 guest_msi_data; > + __u32 guest_msi_addr; > union { > - __u32 reserved[12]; > + __u32 reserved[10]; > }; > }; > _guest_msi_* should be in the union, so they don't consume space for non-msi payloads. -- error compiling committee.c: too many arguments to function