|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] xc_domain_create
On 31/8/08 18:37, "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|