[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] set scheduler parameters after resume/migrate



# HG changeset patch
# User David Scott <david.scott@xxxxxxxxxxxxx>
# Date 1276549708 -3600
# Node ID 5231634311a46e83ab8af74c8476ba5f0a632fc7
# Parent  2ab7bcee7d0f3b538067da69dfbeadd25e812681
Bug #1614: scheduler weight/cap and affinity values are lost over a migrate

A call to "configure_vcpus" was present in the build (ie boot) path but missing 
in the restore (ie resume, migrate) path.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 2ab7bcee7d0f -r 5231634311a4 ocaml/xenguest/xenguest_stubs.c
--- a/ocaml/xenguest/xenguest_stubs.c   Mon Jun 07 16:07:06 2010 +0100
+++ b/ocaml/xenguest/xenguest_stubs.c   Mon Jun 14 22:08:28 2010 +0100
@@ -438,6 +438,7 @@
 #ifdef HVM_PARAM_VIRIDIAN
        xc_set_hvm_param(_H(handle), _D(domid), HVM_PARAM_VIRIDIAN, 
f.viridian);        
 #endif
+       configure_vcpus(_H(handle), _D(domid), f);
 
        caml_enter_blocking_section();
        r = xc_domain_restore(_H(handle), Int_val(fd), _D(domid),
1 file changed, 1 insertion(+)
ocaml/xenguest/xenguest_stubs.c |    1 +


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.