fw_cfg: Use g_file_get_contents instead of multiple fread() calls
commit9477c87ed9b7795b292cb683cf758fdfec866de3
authorPavel Borzenkov <pavel.borzenkov@gmail.com>
Mon, 24 Oct 2011 11:31:30 +0000 (24 07:31 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 16:50:11 +0000 (1 11:50 -0500)
tree820a863695c7a97ea79e85ea7c5bc40c8b20ffe7
parentbdb7ca67de6ef7170f925fd33bdf77c05e46f76d
fw_cfg: Use g_file_get_contents instead of multiple fread() calls

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/fw_cfg.c