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-devel

RE: [solved] Re: [Xen-devel] Set cpu_weight and cpu_cap at boot time

To: "Volker Badziong" <volker.badziong@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [solved] Re: [Xen-devel] Set cpu_weight and cpu_cap at boot time
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 5 Jun 2007 16:18:16 +0200
Delivery-date: Tue, 05 Jun 2007 07:17:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070605141311.129940@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acene8W3Iuy2d/FERQ2Pk4NfkVifCwAAAsaA
Thread-topic: [solved] Re: [Xen-devel] Set cpu_weight and cpu_cap at boot time
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Volker Badziong
> Sent: 05 June 2007 15:13
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [solved] Re: [Xen-devel] Set cpu_weight and cpu_cap 
> at boot time
> 
> Hi, 
> 
> shouldn't RESTART be semantically the same as SHUTDOWN && CREATE ?!

Just like a system reboot is not exactly the same as powerdown and power
up, restart just WARM RESTARTS the guest - so it essentially just tells
the guest to start over from scratch. So it uses the stored
configuration of the guest, rather than re-reading the guest config
[note that a guest configuration isn't necessarily a file - you can
specify every single component as a command-line argument to the "xm
create" command, so "xm create" actually stores all the values given to
it, and any updates are also changing the stored values]. 

So they are not and can not be exactly the same. 

--
Mats
> 
> Regards,
> Volker
> 
> 
> > 
> > > That may well be the case, but it probably takes a bit 
> more digging
> > > before that can be solved. 
> > 
> > It actually works. It was my fault.
> > 
> > I tested it by setting cpu_weight in the config and the 
> RESTARTING the 
> > domain. This did not read the new value but use the last one.
> > SHUTDOWN and CREATE does recognize the new value in the config file.
> > 
> > Sorry to bother you.
> > 
> > Regards
> > Dominik
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> 
> 
> -- 
> GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
> Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> 
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>