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] throttling logs messages from qemu

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] throttling logs messages from qemu
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 31 Jul 2009 20:53:10 +1000
Delivery-date: Fri, 31 Jul 2009 03:53:39 -0700
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
Thread-index: AcoRzRgUpsG//GvVTIGff8vo+4hd3Q==
Thread-topic: throttling logs messages from qemu
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?

James

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

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