Skip to contentSkip to conversation

encrypt data in blkfront.c

DISCUSSION tianjiangbo16898 1 participant 1 message May 2, 2009

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel