--- old-xen-build/tools/libxc/xc_linux_build.c 2005-06-09 21:15:17.000000000 +0000 +++ new-xen-build/tools/libxc/xc_linux_build.c 2005-06-19 00:45:58.000000000 +0000 @@ -486,6 +482,8 @@ int xc_linux_build(int xc_handle, return 1; } + ctxt->flags = 0; + op.cmd = DOM0_GETDOMAININFO; op.u.getdomaininfo.domain = (domid_t)domid; if ( (do_dom0_op(xc_handle, &op) < 0) || @@ -527,8 +525,6 @@ int xc_linux_build(int xc_handle, if ( image != NULL ) free(image); - ctxt->flags = 0; - /* * Initial register values: * DS,ES,FS,GS = FLAT_KERNEL_DS