[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] xenstore documentation
 
 
NAHieu wrote:
 
If so, I think we can do simply like this to exchange information
between dom0 & domU:
- dom0 watch for @introduceDomain to detect the new domU comes up.
Then dom0 watch for /domU/<device>/{evtchn,grant-ref}
 
 Tools should store their information in /tool/<toolname>/.  Otherwise, 
yeah, it seems sane to me.
Regards,
Anthony Liguori
 
- domU write evtchn,grant-ref,... to /domU/<device>/{evtchn,grant-ref}
(better doesnt write it outside its home, like in Rolf's example)
- dom0 detect the updates, setup evtchn, then start to notify domU via
this channel. Other data can be written into the share memory (like
grant-ref above) to exchange information at this step.
This way is good (if it works - I will try it myself), since we don't
need to mod xend, which is horrified to many.  Any ideas?
But like Rolf pointed out, this solution is not good incase we want to
save/restore(?)
Thanks.
Hieu
 
Regards,
Anthony Liguori
    
So exactly what did you mean?
Thanks.
Hieu
_______________________________________________
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
 
 
    
     |