I want to do file operation inside the hypervisor.Seems like there is no
file mechanism implemented inside hypervisor.So if i want to pull this,say i
need to some info of a page,i need to map this page,and give the pointer
that point to the start of this page to dom0.Finally let dom0 write the file
for me?
在 2011年7月9日 下午11:38,Johnny R <xen4wr@gmail.com>写道:
> inside hypervisor so if i want to do file operation inside the hypervisor i
> need to map a memory in dom0,and then do the rest work in dom0?
>
>
> 2011/7/9 John Liu <bradevuu@gmail.com>
>
>> **
>> You mean do file operation in dom0? or inside hypervisor.
>>
>> xen just give the Guest OS the privilege to write directly to disk.
>> -- I got a little confused. Why need special privilege for write on
disk?
>> as long as PTE permission is ok.
>>
>>
>>
>> 于 2011/7/9 11:04, Johnny R 写道:
>>
>> 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
listXen-devel@lists.xensource.comhttp://lists.xensource.com/xen-devel
>>
>>
>>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel