[Qemu-devel] Re: [PATCH RFC 12/48] error: New error_printf() and error_vprintf()

2010-03-02 Thread Paolo Bonzini
On 03/02/2010 09:33 AM, Markus Armbruster wrote: Paolo's error_raise() works for me, although I like error_report() a bit better. error_report is also fine, of course. But we need two names, one for simple, direct error reporting (now qemu_error()), and one for QMP-compatible error reporting

[Qemu-devel] Re: [PATCH RFC 12/48] error: New error_printf() and error_vprintf()

2010-03-01 Thread Paolo Bonzini
On 03/01/2010 09:54 AM, Markus Armbruster wrote: Luiz Capitulino writes: On Wed, 24 Feb 2010 18:55:24 +0100 Markus Armbruster wrote: FIXME They should return int, so callers can calculate width. Signed-off-by: Markus Armbruster --- qemu-error.c | 49