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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] throttling logs messages from qemu

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] throttling logs messages from qemu
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: 2009年7月31日 14:30:31 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2009年7月31日 06:30:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DDFB3@trantor >
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>
References: <AEC6C66638C05B468B556EA548C1A77D016DDFB3@trantor >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008年08月23日)
On 2009年7月31日, James Harper wrote:
> I see that in 3.4.x, throttling has been changed from a file in /etc to
> a xenstore entry, as per the following code:
>
> throttling = xenstore_vm_read(domid, "log-throttling", &len);
> if (throttling != NULL) {
> throttling_disabled = (throttling[0] - '0');
> free(throttling);
> }
>
> A bit of searching tells me that the full path of the key is
> /vm/<uuid>/log-throttling, but it appears to be read at boot. How can I
> get it written in there in time?
>
Good question :)
You could hack xend but it is not exactly something you want to do.
Another possibility is to change your device_model in the vm config file
to a bash script that does what you want and then calls qemu-dm with the
right arguments.
We could probably modify qemu to read the xenstore key from another
place that is easier to know before the VM is started.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] vmx: correct EIP value of task-state segment , Keir Fraser
Next by Date: [Xen-devel] [PATCH] Add a single trigger for all diagnostic keyhandlers , Tim Deegan
Previous by Thread: [Xen-devel] throttling logs messages from qemu , James Harper
Next by Thread: RE: [Xen-devel] throttling logs messages from qemu , James Harper
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /