|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH] qdev: show failing device name instead of silently exiting |
Date: | Fri, 25 Sep 2009 10:48:54 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 09/24/09 05:59, Amit Shah wrote:
Hey Markus, On (Wed) Sep 23 2009 [22:53:27], Markus Armbruster wrote:Amit Shah<address@hidden> writes:If initializing a device fails, show the name of the device and then exit"and then exit" is misleading, as you don't add an exit.The 'return NULL' does that -- the calling function exits. (doesn't the subject line clarify that?)
I have patches in the queue which will wind up this via device_add monitor command. Caller will *not* exit then ;)
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |