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 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] encrypt data in blkfront.c

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] encrypt data in blkfront.c
From: "tianjiangbo16898" <tianjiangbo16898@xxxxxxx>
Date: Sat, 2 May 2009 17:26:28 +0800
Delivery-date: Tue, 05 May 2009 08:40:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hello!
i am a junior in XEN. so some questions may be very junior too, please give me more patience.
 
I want to encrypt the data that will be written into the the disk, and the operation will happen in the Domain U's front-end driver.
and i notice that the write operation happens when the static int blkif_queue_request(struct request *req)   
 functions in blkfront.c File is called and the data is put into the struct request *req
 
I want to encrypt these data,  and i want to if the data is in virtual address of the guest Domain U or virtual address of the
the domain 0.
If I want to encrypt the data ,should I do operation on these virtual address directely or do it after doing some translation.
and do want translation.
 
please help!
Thanks very much!
 
2009-05-02

tianjiangbo16898
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] encrypt data in blkfront.c, tianjiangbo16898 <=