]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
Bug #1614: scheduler weight/cap and affinity values are lost over a migrate
authorDavid Scott <dave.scott@eu.citrix.com>
Fri, 18 Jun 2010 12:37:35 +0000 (13:37 +0100)
committerDavid Scott <dave.scott@eu.citrix.com>
Fri, 18 Jun 2010 12:37:35 +0000 (13:37 +0100)
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@eu.citrix.com>
diff -r 799dd0a8b2b1 ocaml/xenguest/xenguest_stubs.c--- a/ocaml/xenguest/xenguest_stubs.c Tue Jun 01 16:40:15 2010 +0100
+++ b/ocaml/xenguest/xenguest_stubs.c Mon Jun 14 19:17:16 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),


No differences found