On 10/12/2015 02:03 AM, Paolo Bonzini wrote: > The backend now always returns errors via the Error* argument. > This avoids a double error message. Before: > > qemu-system-x86_64: -chardev stdio,id=base: cannot use stdio with -daemonize > qemu-system-x86_64: -chardev stdio,id=base: Failed to create chardev > > After: > > qemu-system-x86_64: -chardev stdio,id=base: cannot use stdio with -daemonize > > Signed-off-by: Paolo Bonzini > --- > qemu-char.c | 57 +++++++++++++++++++++++++++++++++++++++------------------ > 1 file changed, 39 insertions(+), 18 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org