Re: [Qemu-devel] [PATCH] vl: Improve error message when we can't load fw_cfg from file

2018-11-21 Thread Paolo Bonzini
On 01/11/18 06:59, Li Qiang wrote: > parse_fw_cfg() reports "can't load" without further details. Get > the details from g_file_get_contents(), and include them in the > error message. > > Signed-off-by: Li Qiang > --- > vl.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > di

Re: [Qemu-devel] [PATCH] vl: Improve error message when we can't load fw_cfg from file

2018-11-15 Thread Li Qiang
Ping Li Qiang 于2018年11月1日周四 下午1:59写道: > parse_fw_cfg() reports "can't load" without further details. Get > the details from g_file_get_contents(), and include them in the > error message. > > Signed-off-by: Li Qiang > --- > vl.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(

[Qemu-devel] [PATCH] vl: Improve error message when we can't load fw_cfg from file

2018-10-31 Thread Li Qiang
parse_fw_cfg() reports "can't load" without further details. Get the details from g_file_get_contents(), and include them in the error message. Signed-off-by: Li Qiang --- vl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 1fcacc5..f0bd899 100644 --