Maybe you misunderstood. I need to transfer data structure not between
domains(dom - to - dom transfer is described in Definitive Guide), but
between domain and hypervisor kernel. These are not the same. There
are a lot of difficulties on this way, may be these are solved. I
thought, studying xm dmesg would help - but, obviously, i found
nothing on my study, that can help me. I've tryed to research in
hypercalls and found a note, talking bout passing pointers to
hypervisor. So I wanna obtain a memory page in, for example, dom0, and
pass via hypercall1() a pointer. And from Xen kernel, i wanna obtain
it's virtual/physical address of that page (mapped to it's memory
space), with which i could easilly access necesarry structure in it.
If someone could give me any idea, it would be great.
Thank you.
Dmitry Golovinov
> You can transfer data between dom0 and domU (or domU to domU) as you does
> between two independent physical machine. For example , the socket
> interface is a good pipe.
> If performance is critical to your application, some XEN-feature mechanism ,
> like grant-table,is a better idea.
> I suggest to use the share memory function , some detail will be found in
> xencontrol.
> Some project , such as Xway, Xenloop ,Xenaccess and Xensocket etc, have
> develop some convenient tools to use in userspace ,maybe you need to study
> them.
> 2009/2/23 Дмитрий Головинов <dimka87@xxxxxxxxx>
>>
>> Hi! I need an opportunity to transfer some kind of a sched data
>> between hypervisor and guest domain. Is there anything in Xen, that
>> could match that?
>>
>> Thanx for help.
>>
>>
>>
>> Best regards,
>> Golovinov Dmitry
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|