From 8367c5c1790f231ad741b244c046b5e1db3f20a8 Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Thu, 23 Feb 2012 10:19:57 +0000 Subject: libxl: Rename libxl_sched_* to include _domain In preparation for introducing a schedule parameter-based structure, rename libxl_sched_{credit,credit2,sedf} to libxl_sched_{}_domain. No functional changes. v2: Wrap long lines while I'm at it Signed-off-by: George Dunlap Acked-by: Ian Jackson Committed-by: Keir Fraser --- tools/ocaml/libs/xl/xenlight_stubs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/ocaml') diff --git a/tools/ocaml/libs/xl/xenlight_stubs.c b/tools/ocaml/libs/xl/xenlight_stubs.c index 38977b5122..f1511d46dd 100644 --- a/tools/ocaml/libs/xl/xenlight_stubs.c +++ b/tools/ocaml/libs/xl/xenlight_stubs.c @@ -473,7 +473,7 @@ value stub_xl_sched_credit_domain_get(value domid) { CAMLparam1(domid); CAMLlocal1(scinfo); - libxl_sched_credit c_scinfo; + libxl_sched_credit_domain c_scinfo; int ret; INIT_STRUCT(); @@ -483,18 +483,18 @@ value stub_xl_sched_credit_domain_get(value domid) failwith_xl("sched_credit_domain_get", &lg); FREE_CTX(); - scinfo = Val_sched_credit(&gc, &lg, &c_scinfo); + scinfo = Val_sched_credit_domain(&gc, &lg, &c_scinfo); CAMLreturn(scinfo); } value stub_xl_sched_credit_domain_set(value domid, value scinfo) { CAMLparam2(domid, scinfo); - libxl_sched_credit c_scinfo; + libxl_sched_credit_domain c_scinfo; int ret; INIT_STRUCT(); - sched_credit_val(&gc, &lg, &c_scinfo, scinfo); + sched_credit_domain_val(&gc, &lg, &c_scinfo, scinfo); INIT_CTX(); ret = libxl_sched_credit_domain_set(ctx, Int_val(domid), &c_scinfo); -- cgit v1.2.3