Volker Badziong
2007-Jun-05 14:13 UTC
[solved] Re: [Xen-devel] Set cpu_weight and cpu_cap at boot time
Hi, shouldn''t RESTART be semantically the same as SHUTDOWN && CREATE ?! 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-devel
Petersson, Mats
2007-Jun-05 14:18 UTC
RE: [solved] Re: [Xen-devel] Set cpu_weight and cpu_cap at boot time
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > Volker Badziong > Sent: 05 June 2007 15:13 > To: xen-devel@lists.xensource.com > 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@lists.xensource.com > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel