Re: [Qemu-devel] [PATCH 09/13] error: print progname with error_vprintf()

2013-10-20 Thread Wenchao Xia
于 2013/10/18 17:44, Paolo Bonzini 写道: Il 18/10/2013 03:11, Wenchao Xia ha scritto: This remove additional code path about where to print the error, error_vprintf() is only the controller now, making future change easier. The logic is not changed since when cur_mon = NULL, error_vprintf() will s

Re: [Qemu-devel] [PATCH 09/13] error: print progname with error_vprintf()

2013-10-18 Thread Paolo Bonzini
Il 18/10/2013 03:11, Wenchao Xia ha scritto: > This remove additional code path about where to print the error, > error_vprintf() is only the controller now, making future change > easier. > > The logic is not changed since when cur_mon = NULL, error_vprintf() > will still print to stderr. > > Si

[Qemu-devel] [PATCH 09/13] error: print progname with error_vprintf()

2013-10-18 Thread Wenchao Xia
This remove additional code path about where to print the error, error_vprintf() is only the controller now, making future change easier. The logic is not changed since when cur_mon = NULL, error_vprintf() will still print to stderr. Signed-off-by: Wenchao Xia --- util/qemu-error.c | 11 +