From: Masaki Kanno Subject: [PATCH] Save scheduler parameters of managed domain to config.sxp Date: Tue, 03 Jul 2007 14:49:52 +0900 Message-ID: <37C7BD35FA0F94kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-Hq0JUolY8tDRbfbsNiKr4" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-Hq0JUolY8tDRbfbsNiKr4 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, When I restarted xend, the scheduler parameters of the managed domain were reverted to the first value. # xm new /xen/vm1.conf Using config file "/xen/vm1.conf". # xm start vm1 # xm sched-credit -d vm1 Name ID Weight Cap vm1 1 512 100 # xm sched-credit -d vm1 -w 256 -c 50 # xm sched-credit -d vm1 Name ID Weight Cap vm1 1 256 50 # xm shutdown vm1 # xend stop # xend start # xm start vm1 # xm sched-credit -d vm1 Name ID Weight Cap vm1 3 512 100 This patch saves the scheduler parameters of the managed domain to config.sxp. Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-Hq0JUolY8tDRbfbsNiKr4 Content-Type: application/octet-stream; name="save_sched_params.patch" Content-Disposition: attachment; filename="save_sched_params.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciA3MTNiYWM3Y2JhNDYgdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW4u cHkKLS0tIGEvdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW4ucHkJU3VuIEp1bCAw MSAyMjoxMDozOCAyMDA3ICswMTAwCisrKyBiL3Rvb2xzL3B5dGhvbi94ZW4veGVuZC9YZW5k RG9tYWluLnB5CU1vbiBKdWwgMDIgMTU6MjU6MzYgMjAwNyArMDkwMApAQCAtMTQ0Miw2ICsx NDQyLDcgQEAgY2xhc3MgWGVuZERvbWFpbjoKICAgICAgICAgICAgICAgICAgICAgZG9taW5m by5zZXRXZWlnaHQod2VpZ2h0KQogICAgICAgICAgICAgICAgIGlmIHNldF9jYXA6CiAgICAg ICAgICAgICAgICAgICAgIGRvbWluZm8uc2V0Q2FwKGNhcCkKKyAgICAgICAgICAgICAgICBz ZWxmLm1hbmFnZWRfY29uZmlnX3NhdmUoZG9taW5mbykKICAgICAgICAgICAgIHJldHVybiBy YwogICAgICAgICBleGNlcHQgRXhjZXB0aW9uLCBleDoKICAgICAgICAgICAgIGxvZy5leGNl cHRpb24oZXgpCg== --Boundary-Hq0JUolY8tDRbfbsNiKr4 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-Hq0JUolY8tDRbfbsNiKr4--