]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
replace stat("/etc/disable-guest-log-throttle") in xen_platform.c
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 28 May 2009 17:24:49 +0000 (18:24 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 28 May 2009 17:24:49 +0000 (18:24 +0100)
commite17ca57cf5e6d4c6d11eccca7daee853915a6eff
tree09e1a273015fb401eaa4e141998c8c6bffb8226a
parent16a3f599db2afcd87137294f8c497597ddcccde1
replace stat("/etc/disable-guest-log-throttle") in xen_platform.c

currently xen_platform reads /etc/disable-guest-log-throttle at boot to
decide whether is going to throttle guest logging or not.
When using stubdom this is the only code in qemu that rely on
fs-backend, apart from saving and loading the statefile for migration.
This patch removes the read from /etc and adds a read from xenstore
instead.

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