[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] This patch fixes the problem that VMX guest can not get brought up on
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID fb265175f47c53ca193e6e264570981e228dacd0 # Parent 471e8ca6bc1f23afc702877cd72fde1e64d44482 This patch fixes the problem that VMX guest can not get brought up on current tip (changeset 7425). Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx> diff -r 471e8ca6bc1f -r fb265175f47c tools/python/xen/lowlevel/xc/xc.c --- a/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 15:25:39 2005 +++ b/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 17:18:30 2005 @@ -424,11 +424,11 @@ unsigned long store_mfn = 0; static char *kwd_list[] = { "dom", "control_evtchn", "store_evtchn", - "memsize", "image", "flags", "vcpus", NULL }; - - if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiisii", kwd_list, + "memsize", "image", "vcpus", NULL }; + + if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiisi", kwd_list, &dom, &control_evtchn, &store_evtchn, - &memsize, &image, &flags, &vcpus) ) + &memsize, &image, &vcpus) ) return NULL; if ( xc_vmx_build(xc->xc_handle, dom, memsize, image, control_evtchn, @@ -968,12 +968,10 @@ { "vmx_build", (PyCFunction)pyxc_vmx_build, METH_VARARGS | METH_KEYWORDS, "\n" - "Build a new Linux guest OS.\n" + "Build a new VMX guest OS.\n" " dom [int]: Identifier of domain to build into.\n" - " image [str]: Name of kernel image file. May be gzipped.\n" - " memmap [str]: Memory map.\n\n" - " ramdisk [str, n/a]: Name of ramdisk file, if any.\n" - " cmdline [str, n/a]: Kernel parameters, if any.\n\n" + " image [str]: Name of VMX loader image file.\n" + " vcpus [int, 1]: Number of Virtual CPUS in domain.\n\n" "Returns: [int] 0 on success; -1 on error.\n" }, { "bvtsched_global_set", _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |