bitkeeper revision 1.897 (40a0eb02jGwqt6POLmCY0eC1hpHfvw)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Tue, 11 May 2004 15:02:26 +0000 (15:02 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Tue, 11 May 2004 15:02:26 +0000 (15:02 +0000)
trivial merge

1  2 
tools/xc/py/Xc.c
xen/common/domain.c
xen/common/memory.c
xen/include/asm-i386/processor.h
xenolinux-2.4.26-sparse/arch/xen/drivers/console/console.c
xenolinux-2.4.26-sparse/arch/xen/mm/hypervisor.c
xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c
xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h

index 97bff12492ee94679c685dc66259ac7458008b6b,974ad994b769da3767c1fad2bb4f989fda34f5e4..3b3081e2622e9e52c14f1df8ddd7b554cabdd658
@@@ -190,19 -191,19 +191,19 @@@ static PyObject *pyxc_linux_save(PyObje
  
      u64   dom;
      char *state_file;
 -    int   progress = 1;
 +    int   progress = 1, live = 0;
      unsigned int flags = 0;
  
 -    static char *kwd_list[] = { "dom", "state_file", "progress", NULL };
 +    static char *kwd_list[] = { "dom", "state_file", "progress", "live", NULL };
  
 -    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "Ls|i", kwd_list, 
 -                                      &dom, &state_file, &progress) )
 +    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "Ls|ii", kwd_list, 
 +                                      &dom, &state_file, &progress, &live) )
          return NULL;
  
 -    if ( progress )
 -        flags |= XCFLAGS_VERBOSE;
 +    if (progress) flags |= XCFLAGS_VERBOSE;
 +    if (live)     flags |= XCFLAGS_LIVE;
  
-     if (strncmp(state_file,"tcp:", strlen("tcp:")) == 0)
+     if ( strncmp(state_file,"tcp:", strlen("tcp:")) == 0 )
      {
  #define max_namelen 64
        char server[max_namelen];
Simple merge
Simple merge
Simple merge