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

[Xen-devel] updating xl monitor process via xenstore

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] updating xl monitor process via xenstore
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 12 Oct 2011 17:25:39 +0200
Delivery-date: Wed, 12 Oct 2011 08:29:09 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1318433161; l=872; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=JSAybTg65A/gfbcjfhtkxmq3pQQ=; b=XFHrADRymiwTUJqLl0NkShEfH5nefifDuMHF0gK4CwypeVOoBHy0fyB+37OMvjO0Dz2 m5VAavFWD7PMpXfQyBGlazLUD2w9om6DILBT9um0ghzg7XmUmwD1AWomyYVo34hh0tkFC agKZypVxxmyjJPCdtCAycfk6BLGMqtiSQM0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
Currently the xl monitor process does not receive updates made by the
various xl commands.
For example 'xl mem-max' updates the guests d->max_pages but neither
"memory/static-max" nor the monitor process gets notified of such a
change.

Shouldn't each xl command which tweaks the guests runtime state also
propagate that change to xenstore and the monitor process? There are no
watches in xl other than the guest shutdown and cd eject.

I implemented this in my xenpaging patch. If the config option to start
xenpaging was missing in the config file, its possible to start paging
later. The xl monitoring process has a watch, which will start xenpaging
when xl mem-FOO updates that value.

After a guest reboot (and maybe during migration) the changes made with
xl <somecommand> will remain. Right now the values from the config file
are used.

Olaf

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] updating xl monitor process via xenstore, Olaf Hering <=