]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
disable log-throttling in xen_platform after boot
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:15:27 +0000 (16:15 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:15:27 +0000 (16:15 +0100)
commit11d3914df037145a6452cc0f8f9cff8dcaa3beb2
tree8d64451980721e3a49f81ae649146298f0484ac5
parentf5b4a6be712e2a3a0bdb444e5e87de3d17019965
disable log-throttling in xen_platform after boot

currently log throttling in xen_platform can be disabled only if a
particular key is present on xenstore at boot time.
Obviously this requirement makes it difficult to use.
This patch fixes the issue creating a watch on xenstore on the node

/local/domain/$DOMID/log-throttling

so whenever a developer wants to disable log throttling, he just has to
write 0 to /local/domain/$DOMID/log-throttling at any moment after boot.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_platform.c