From: "Jan Beulich" Subject: Re: [PATCH v6 11/16] x86/hvm: split I/O completion handling from state model Date: Thu, 09 Jul 2015 11:09:43 +0100 Message-ID: <559E6487020000780008EABB@mail.emea.novell.com> References: <1435940733-20856-1-git-send-email-paul.durrant@citrix.com> <1435940733-20856-12-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZD8m2-0004FR-1O for xen-devel@lists.xenproject.org; Thu, 09 Jul 2015 10:09:46 +0000 In-Reply-To: <1435940733-20856-12-git-send-email-paul.durrant@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: xen-devel@lists.xenproject.org, Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 03.07.15 at 18:25, wrote: > @@ -46,9 +51,10 @@ struct hvm_vcpu_asid { > > struct hvm_vcpu_io { > /* I/O request in flight to device model. */ > - enum hvm_io_state io_state; > - unsigned long io_data; > - int io_size; > + enum hvm_io_state io_state; > + unsigned long io_data; > + unsigned int io_size; > + enum hvm_io_completion io_completion; The subsequent member being a 32-bit one, the ordering should be changed to not leave two 32-bit holes (e.g. the two enums first). Jan