From: Keir Fraser Subject: Re: xc_domain_create Date: Sun, 31 Aug 2008 19:01:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Shaun R." , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31/8/08 18:37, "Shaun R." wrote: > I dont understand the flags, looking at other code it looks like this is > where i need to pass all the config data but i'm unsure how. Not really -- a good deal of the configuration data gets cooked and written to xenstored. > pdomid, not sure what this is for. > > If anybody can show me a basic example that would get me started in the > right direction it would be much appreciated. I'd start a domain with that config using xend, see what gets written to xenstore (xenstore-ls) and then cook up a small program of your own to write the same and then invoke xc_domain_create(), xc_dom_build(), xc_domain_unpause(), etc. Or you could try to work out how xend does it by looking at the python source. -- Keir