qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure
Date: Tue, 21 Jun 2011 17:33:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10

Am 01.06.2011 13:29, schrieb Kevin Wolf:
> The only way for chardev drivers to communicate an error was to return a NULL
> pointer, which resulted in an error message that said _that_ something went
> wrong, but not _why_.
> 
> This patch changes the interface to return 0/-errno and updates
> qemu_chr_open_opts to use strerror to display a more helpful error message.
> 
> Signed-off-by: Kevin Wolf <address@hidden>

Ping?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]