Hello Gurus , Sorry to bother your again. Now Make is Done.
Many errors are resolved ( such as some programming errors on xenbus.c ,fbfront.c) now I can use xl ,unfortunately, xl no option sched-rm. I changed the source of : libxl.c ==> output from grep: libxl.c:static int sched_rm_domain_get(libxl__gc *gc, uint32_t domid, libxl.c: rc = xc_sched_rm_domain_get(CTX->xch, domid, &sdom); libxl.c:static int sched_rm_domain_set(libxl__gc *gc, uint32_t domid, libxl.c: rc = xc_sched_rm_domain_get(CTX->xch, domid, &sdom); libxl.c: rc = xc_sched_rm_domain_set(CTX->xch, domid, &sdom); libxl.c: ret=sched_rm_domain_set(gc, domid, scinfo); libxl.c: ret=sched_rm_domain_get(gc,domid,scinfo); and : xen/lowlevel/xc/xc.c:static PyObject *pyxc_sched_rm_domain_set(XcObject *self, xen/lowlevel/xc/xc.c: struct xen_domctl_sched_rm sdom; xen/lowlevel/xc/xc.c: if ( xc_sched_rm_domain_set(self->xc_handle, domid, &sdom) != 0 ) xen/lowlevel/xc/xc.c:static PyObject *pyxc_sched_rm_domain_get(XcObject *self, PyObject *args) xen/lowlevel/xc/xc.c: struct xen_domctl_sched_rm sdom; xen/lowlevel/xc/xc.c: if ( xc_sched_rm_domain_get(self->xc_handle, domid, &sdom) != 0 ) xen/lowlevel/xc/xc.c: { "sched_rm_domain_set", xen/lowlevel/xc/xc.c: (PyCFunction)pyxc_sched_rm_domain_set, xen/lowlevel/xc/xc.c: { "sched_rm_domain_get", xen/lowlevel/xc/xc.c: (PyCFunction)pyxc_sched_rm_domain_get, also created : libxc/xc_rm.c ===> just like libxc/xc_rtpartition.c not changing main.py: since I see it is commtented:: main.py: 'sched-rtpartition': ('[-d <Domain> [-p[=PERIOD]|-b[=BUDGET]|-v[=VCPU]|-e[=EXTRA]]', main.py: 'Get/set rtpartition scheduler parameters.'), main.py: 'sched-rtpartition': ( main.py: "sched-rtpartition", main.py:# # rtpartition main.py:# def xm_sched_rtpartition(args): main.py:# """Get/Set options for rtpartition Scheduler.""" main.py:# check_sched_type('rtpartition') main.py:# usage('sched-rtpartition') main.py:# usage('sched-rtpartition') main.py:# info = server.xend.domain.sched_rtpartition_get(d['name']) main.py:# # domain does not support sched-rtpartition? main.py:# usage('sched-rtpartition') main.py:# result = server.xend.domain.sched_rtpartition_set(domid, period, budget, vcpu, extra) main.py: # "sched-rtpartition": xm_sched_rtpartition, grep: tests: 是一个目录 my question is how to make xl can changed "sched-rm" parameters? jackyshen@jackyshen-ThinkPad-T410:~/RT-XEN/RT-Xen-rt-xen_2.0$ xl Usage xl [-vfN] <subcommand> [args] xl full list of subcommands: create Create a domain from config file <filename> config-update Update a running domain's saved configuration, used when rebuilding the domain after reboot list List information about all/some domains destroy Terminate a domain immediately shutdown Issue a shutdown signal to a domain reboot Issue a reboot signal to a domain pci-attach Insert a new pass-through pci device pci-detach Remove a domain's pass-through pci device pci-list List pass-through pci devices for a domain pci-assignable-add Make a device assignable for pci-passthru pci-assignable-remove Remove a device from being assignable pci-assignable-list List all the assignable pci devices pause Pause execution of a domain unpause Unpause a paused domain console Attach to domain's console vncviewer Attach to domain's VNC server. save Save a domain state to restore later migrate Migrate a domain to another host dump-core Core dump a domain restore Restore a domain from a saved state migrate-receive Restore a domain from a saved state cd-insert Insert a cdrom into a guest's cd drive cd-eject Eject a cdrom from a guest's cd drive mem-max Set the maximum amount reservation for a domain mem-set Set the current memory usage for a domain button-press Indicate an ACPI button press to the domain vcpu-list List the VCPUs for all/some domains vcpu-pin Set which CPUs a VCPU can use vcpu-set Set the number of active VCPUs allowed for the domain vm-list List guest domains, excluding dom0, stubdoms, etc. info Get information about Xen host sharing Get information about page sharing sched-credit Get/set credit scheduler parameters sched-credit2 Get/set credit2 scheduler parameters sched-rtglobal Get/set rtglobal scheduler parameters sched-rtpartition Get/set rtpartition scheduler parameters ============<><><> >>> here should be "sched-rm" but not show. >>>> it the my question. Best regards Jie Shen Graduate Student in Computer Science Illinois Institute of Technology Stuart Building Chicago, IL 60616 +1 312 404 0122
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel