WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Add dm-userspace to the Xen kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Add dm-userspace to the Xen kernel
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: 2006年6月10日 22:40:43 +0200
Delivery-date: 2006年6月10日 13:50:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <m3pshica0w.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <m3pshica0w.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060403
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
-- 
A woman should have compassion.
 -- Kirk, "Catspaw", stardate 3018.2

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH 3/3] Let xm user choose XML-RPC URI , Anthony Liguori
Next by Date: [Xen-devel] [Patch] support small buffer to read_console_ring() , Akio Takebe
Previous by Thread: Re: [Xen-devel] [PATCH] Add dm-userspace to the Xen kernel , Keir Fraser
Next by Thread: Re: [Xen-devel] [PATCH] Add dm-userspace to the Xen kernel , Dan Smith
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /