mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[XEND][POWERPC] Remove FlatDeviceTree.py, eliminate devtree from prose builder.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
This commit is contained in:
1 parent
c7c4025be9
commit
7ba577bada
7 files changed
+20
-567
No files matched your search
@@ -947,28 +947,26 @@ static PyObject *pyxc_prose_build(XcObject *self,
|
||||
unsigned int mem_mb;
|
||||
unsigned long store_mfn = 0;
|
||||
unsigned long console_mfn = 0;
|
||||
void *arch_args = NULL;
|
||||
int unused;
|
||||
|
||||
static char *kwd_list[] = { "dom", "store_evtchn",
|
||||
"console_evtchn", "image", "memsize",
|
||||
/* optional */
|
||||
"ramdisk", "cmdline", "flags",
|
||||
"features", "arch_args", NULL };
|
||||
"features", NULL };
|
||||
|
||||
if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ssiss#", kwd_list,
|
||||
if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ssis#", kwd_list,
|
||||
&dom, &store_evtchn, &mem_mb,
|
||||
&console_evtchn, &image,
|
||||
/* optional */
|
||||
&ramdisk, &cmdline, &flags,
|
||||
&features, &arch_args, &unused) )
|
||||
&features, &unused) )
|
||||
return NULL;
|
||||
|
||||
if ( xc_prose_build(self->xc_handle, dom, mem_mb, image,
|
||||
ramdisk, cmdline, features, flags,
|
||||
store_evtchn, &store_mfn,
|
||||
console_evtchn, &console_mfn,
|
||||
arch_args) != 0 ) {
|
||||
console_evtchn, &console_mfn) != 0 ) {
|
||||
if (!errno)
|
||||
errno = EINVAL;
|
||||
return pyxc_error_to_exception();
|
||||
|
||||