diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2007-03-21 17:03:00 -0500 |
---|---|---|
committer | Hollis Blanchard <hollisb@us.ibm.com> | 2007-03-21 17:03:00 -0500 |
commit | a7706a8de0119f07b6f7e014a78fd07947af3787 (patch) | |
tree | 53e89a70ddcc775b91a79d43a451628119f48fd7 /tools/libxc/xc_dom_compat_linux.c | |
parent | cb8cdc98fd3daef93bfdf300307d38a637551407 (diff) | |
download | xen-a7706a8de0119f07b6f7e014a78fd07947af3787.tar.gz xen-a7706a8de0119f07b6f7e014a78fd07947af3787.tar.bz2 xen-a7706a8de0119f07b6f7e014a78fd07947af3787.zip |
[LIBXC][POWERPC] Use new domain builder.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Diffstat (limited to 'tools/libxc/xc_dom_compat_linux.c')
-rw-r--r-- | tools/libxc/xc_dom_compat_linux.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/libxc/xc_dom_compat_linux.c b/tools/libxc/xc_dom_compat_linux.c index 89265a6b37..92cdae4e29 100644 --- a/tools/libxc/xc_dom_compat_linux.c +++ b/tools/libxc/xc_dom_compat_linux.c @@ -32,6 +32,10 @@ static int xc_linux_build_internal(struct xc_dom_image *dom, { int rc; + dom->flags = flags; + dom->console_evtchn = console_evtchn; + dom->xenstore_evtchn = store_evtchn; + if ( (rc = xc_dom_boot_xen_init(dom, xc_handle, domid)) != 0 ) goto out; if ( (rc = xc_dom_parse_image(dom)) != 0 ) @@ -42,12 +46,7 @@ static int xc_linux_build_internal(struct xc_dom_image *dom, goto out; if ( (rc = xc_dom_build_image(dom)) != 0 ) goto out; - - dom->flags = flags; - dom->console_evtchn = console_evtchn; - dom->xenstore_evtchn = store_evtchn; - rc = xc_dom_boot_image(dom); - if ( rc != 0 ) + if ( (rc = xc_dom_boot_image(dom)) != 0 ) goto out; *console_mfn = xc_dom_p2m_host(dom, dom->console_pfn); |