# HG changeset patch # User David Scott # 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 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),