From mboxrd@z Thu Jan 1 00:00:00 1970 From: "tianjiangbo16898" Subject: encrypt data in blkfront.c Date: Sat, 2 May 2009 17:26:28 +0800 Message-ID: <200905021726275625317@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0805788261==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0805788261== Content-Type: multipart/alternative; boundary="=====003_Dragon671718068136_=====" This is a multi-part message in MIME format. --=====003_Dragon671718068136_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit 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 --=====003_Dragon671718068136_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
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
--=====003_Dragon671718068136_=====-- --===============0805788261== 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 --===============0805788261==--