WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] set scheduler parameters after resume/migrate
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 22:09:16 +0100
Delivery-date: Mon, 14 Jun 2010 14:09:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] set scheduler parameters after resume/migrate, David Scott <=