ia64/xen-unstable

diff tools/python/xen/lowlevel/xc/xc.c @ 13939:09b3fd488726

[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>
author Jimi Xenidis <jimix@watson.ibm.com>
date Sun Jan 21 08:15:39 2007 -0500 (2007-01-21)
parents 3773af71a14b
children 978ff6fad81f
line diff
     1.1 --- a/tools/python/xen/lowlevel/xc/xc.c	Sun Jan 21 08:14:27 2007 -0500
     1.2 +++ b/tools/python/xen/lowlevel/xc/xc.c	Sun Jan 21 08:15:39 2007 -0500
     1.3 @@ -947,28 +947,26 @@ static PyObject *pyxc_prose_build(XcObje
     1.4      unsigned int mem_mb;
     1.5      unsigned long store_mfn = 0;
     1.6      unsigned long console_mfn = 0;
     1.7 -    void *arch_args = NULL;
     1.8      int unused;
     1.9  
    1.10      static char *kwd_list[] = { "dom", "store_evtchn",
    1.11                                  "console_evtchn", "image", "memsize",
    1.12                                  /* optional */
    1.13                                  "ramdisk", "cmdline", "flags",
    1.14 -                                "features", "arch_args", NULL };
    1.15 +                                "features", NULL };
    1.16  
    1.17 -    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ssiss#", kwd_list,
    1.18 +    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ssis#", kwd_list,
    1.19                                        &dom, &store_evtchn, &mem_mb,
    1.20                                        &console_evtchn, &image,
    1.21                                        /* optional */
    1.22                                        &ramdisk, &cmdline, &flags,
    1.23 -                                      &features, &arch_args, &unused) )
    1.24 +                                      &features, &unused) )
    1.25          return NULL;
    1.26  
    1.27      if ( xc_prose_build(self->xc_handle, dom, mem_mb, image,
    1.28                          ramdisk, cmdline, features, flags,
    1.29                          store_evtchn, &store_mfn,
    1.30 -                        console_evtchn, &console_mfn,
    1.31 -                        arch_args) != 0 ) {
    1.32 +                        console_evtchn, &console_mfn) != 0 ) {
    1.33          if (!errno)
    1.34               errno = EINVAL;
    1.35          return pyxc_error_to_exception();