From: Bastian Blank Subject: Re: [PATCH] Add dm-userspace to the Xen kernel Date: Sat, 10 Jun 2006 22:40:43 +0200 Message-ID: <20060610204043.GA16468@wavehammer.waldi.eu.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1955564829==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1955564829== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 09, 2006 at 02:08:15PM -0700, Dan Smith wrote: > ++/* > ++ * This is the message that is passed back and forth between the > ++ * kernel and the user application > ++ */ > ++struct dmu_write { > ++ uint32_t id; > ++ uint32_t type; /* Type of request */ > ++ uint32_t flags; /* Flags */ > ++ > ++ uint64_t org_block; /* Block that was accessed */ > ++ uint64_t new_block; /* The new block it should go to */ > ++ int64_t offset; /* Sector offset of the block, if needed */ > ++ > ++ uint32_t src_maj; /* The source device for copying */ > ++ uint32_t src_min; > ++ > ++ uint32_t dest_maj; /* Destination device for copying, and */ > ++ uint32_t dest_min; /* for the block access */ > ++ > ++}; > ++ > ++#endif Any reason why 1. this struct differs from the old patches published on dm-devel and lkml? 2. Why do you use a construct which gives different allignment on i386 and x86_64? (i386 alligns 64bit ints on 32bit, x86_64 on 64bit Bastian --=20 A woman should have compassion. -- Kirk, "Catspaw", stardate 3018.2 --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iEYEARECAAYFAkSLLkoACgkQnw66O/MvCNEgVgCgrV6QAAh2rcsVMhQWWbawV4sp 06UAn1QeMlGr8CIi1jiJIrgxDle/KwrJ =J7Vz -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- --===============1955564829== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1955564829==--