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] How to read/write a file inside xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to read/write a file inside xen
From: Johnny R <xen4wr@xxxxxxxxx>
Date: Sat, 9 Jul 2011 23:04:23 +0800
Delivery-date: Sat, 09 Jul 2011 08:07:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=V2b3tJkABf6nQkhbPMKwyEfuMBGocPpeqLEIB1j2zsg=; b=EZVMq9qIB7Lf56masTf1ZAynmdcFg6wfcCWfDKgl4nMwlxhi8w7kll4tU8eFabyHp3 Vs7LNjjxVDB5nT6lcw9U2n45LGJypExLUpniDN830xQOxfuF23UKObzj7frY5FltGVpz OWVBtnp8inTyp+cADDCvr6BTwR0uh9TmBpykk=
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
  I tried to write a file inside xen during hypercall or do_page_fault,but I find out that I can not use linux kernel code to acomplish this.After searching in the xen's source code,I find  not clue of xen itself using any file operation,which confuse me.So i want to ask how to write/read a file inside xen,and how xen swap out a page or xen just give the Guest OS the privilege to write directly to disk.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>