From: Masaki Kanno Subject: [PATCH] Fix long options of xm sched-credit Date: Thu, 08 Nov 2007 10:56:21 +0900 Message-ID: <8BC821AA8F664Dkanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-KLlFV0L8Q42mQ8dVculHS" 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-KLlFV0L8Q42mQ8dVculHS Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, Long options of xm sched-credit command are ignored. # xm sched-credit --domain=vm1 Name ID Weight Cap Domain-0 0 256 0 vm1 2 256 0 # xm sched-credit --domain=vm1 --weight=512 --cap=50 Name ID Weight Cap Domain-0 0 256 0 vm1 2 256 0 Long options of xm sched-credit command work by this patch. # xm sched-credit --domain=vm1 Name ID Weight Cap vm1 3 256 0 # xm sched-credit --domain=vm1 --weight=512 --cap=50 # xm sched-credit --domain=vm1 Name ID Weight Cap vm1 3 512 50 Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-KLlFV0L8Q42mQ8dVculHS Content-Type: application/octet-stream; name="xm_sched_credit_long.patch" Content-Disposition: attachment; filename="xm_sched_credit_long.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciAzMTkxNjI3ZTVhZDYgdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5Ci0tLSBh L3Rvb2xzL3B5dGhvbi94ZW4veG0vbWFpbi5weQlXZWQgT2N0IDMxIDE2OjIxOjE4IDIwMDcg KzAwMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5CVdlZCBOb3YgMDcgMTk6 MTE6NTkgMjAwNyArMDkwMApAQCAtMTUyOSwxMSArMTUyOSwxMSBAQCBkZWYgeG1fc2NoZWRf Y3JlZGl0KGFyZ3MpOgogICAgIGNhcCA9IE5vbmUKIAogICAgIGZvciBvLCBhIGluIG9wdHM6 Ci0gICAgICAgIGlmIG8gPT0gIi1kIjoKKyAgICAgICAgaWYgbyBpbiBbIi1kIiwgIi0tZG9t YWluIl06CiAgICAgICAgICAgICBkb21pZCA9IGEKLSAgICAgICAgZWxpZiBvID09ICItdyI6 CisgICAgICAgIGVsaWYgbyBpbiBbIi13IiwgIi0td2VpZ2h0Il06CiAgICAgICAgICAgICB3 ZWlnaHQgPSBpbnQoYSkKLSAgICAgICAgZWxpZiBvID09ICItYyI6CisgICAgICAgIGVsaWYg byBpbiBbIi1jIiwgIi0tY2FwIl06CiAgICAgICAgICAgICBjYXAgPSBpbnQoYSk7CiAKICAg ICBkb21zID0gZmlsdGVyKGxhbWJkYSB4IDogZG9taWRfbWF0Y2goZG9taWQsIHgpLAo= --Boundary-KLlFV0L8Q42mQ8dVculHS 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-KLlFV0L8Q42mQ8dVculHS--