]> xenbits.xen.org Git - xenclient/ioemu.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>
Mon, 29 Jun 2009 09:57:54 +0000 (10:57 +0100)
commit7465aec799f459aacf685e3394b1775a5619f508
tree1bc90b01076d24c92d318ee1309084a7b005572b
parentb75434dd1971faf17c06a4d67e4e1cd38097e725
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>
(cherry picked from commit e17ca57cf5e6d4c6d11eccca7daee853915a6eff)
hw/xen_platform.c