AMIT KUMAR
2005-Oct-25 12:11 UTC
[Xen-users] Docs Explaining internals of Xen from programming perspective
hi, Does anyone know of any document which explains internals of xen (typically about creation of domains from perspective of process creation and system programming)? The aim is to call xen api''s in a program to automate the process of creation/shutdown/migration of domains. Thanks and Regards, Amit Kumar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kip Macy
2005-Oct-27 18:13 UTC
Re: [Xen-users] Docs Explaining internals of Xen from programming perspective
On 25 Oct 2005 12:11:51 -0000, AMIT KUMAR <amitkpce@rediffmail.com> wrote:> > hi, > Does anyone know of any document which explains internals of xen > (typically about creation of domains from perspective of process creation > and system programming)? > The aim is to call xen api's in a program to automate the process of > creation/shutdown/migration of domains. >The xen APIs for domain creation are rather too low level for what you want (see xc_linux_build.c). You're better off writing wrappers around the tools. At some point when things have stabilized I think you'll be able to get the desired effect by sending updates to the store. As for a more polished API, you have to think about its academic value (or lack thereof), and where the companies driving xen are getting their differentiating value -add from. -Kip _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Karsten M. Self
2005-Oct-27 18:49 UTC
Re: [Xen-users] Docs Explaining internals of Xen from programming perspective
on Tue, Oct 25, 2005 at 12:11:51PM -0000, AMIT KUMAR (amitkpce@rediffmail.com) wrote:> hi, > Does anyone know of any document which explains internals of xen > (typically about creation of domains from perspective of process > creation and system programming)? > > The aim is to call xen api''s in a program to automate the process of > creation/shutdown/migration of domains.Perhaps the Xen Interface Manual? Covers Xen 2.0, 3.x is a work in progress. http://www.xensource.com/files/xen_interface.pdf You''re probably going to be most interested in Appendix A, "Xen Hypercalls", particularly A.8, Inter-Domain Communication. Cheers. -- Karsten M. Self <karsten@xensource.com> XenSource, Inc. 2300 Geng Road #250 +1 650.798.5900 x259 Palo Alto, CA 94303 +1 650.493.1579 fax _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
M.A. Williamson
2005-Oct-29 19:00 UTC
Re: [Xen-users] Docs Explaining internals of Xen from programming perspective
> on Tue, Oct 25, 2005 at 12:11:51PM -0000, AMIT KUMAR > (amitkpce@rediffmail.com) wrote: >> hi, >> Does anyone know of any document which explains internals of xen >> (typically about creation of domains from perspective of process >> creation and system programming)? >> >> The aim is to call xen api''s in a program to automate the process of >> creation/shutdown/migration of domains.You''ll probably want to call into some of the tools; the backend libraries of the xm tool are likely to be best. If you these instead of the lowlevel Xen APIs you get a lot more work done for you. Alternatively, you can talk the Xend management protocol directly, either over a Unix domain socket or a TCP connection. Of course there is also the quote that came up last week "the roads are the best map", i.e. the source code generally is the most up-to-date reference ;-)>Perhaps the Xen Interface Manual? Covers Xen 2.0, 3.x is a work in >progress. > > http://www.xensource.com/files/xen_interface.pdf > >You''re probably going to be most interested in Appendix A, "Xen >Hypercalls", particularly A.8, Inter-Domain Communication.We''re actively looking at getting the interface documentation into a good state - ideally in time for around 3.0 (at which point the interface will be stable and supported for the foreseeable future). Stay tuned folks ;-) Cheers, Mark> > >Cheers. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users