From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyhH2-0002mO-1V for qemu-devel@nongnu.org; Fri, 16 Oct 2009 03:30:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyhGx-0002iq-Au for qemu-devel@nongnu.org; Fri, 16 Oct 2009 03:30:51 -0400 Received: from [199.232.76.173] (port=52454 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyhGx-0002ie-63 for qemu-devel@nongnu.org; Fri, 16 Oct 2009 03:30:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3661) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyhGw-0006HS-NB for qemu-devel@nongnu.org; Fri, 16 Oct 2009 03:30:47 -0400 Message-ID: <4AD8211B.9090004@redhat.com> Date: Fri, 16 Oct 2009 09:30:35 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 6/9] QError: Add qdev not found error References: <1255453026-18637-1-git-send-email-lcapitulino@redhat.com> <1255453026-18637-7-git-send-email-lcapitulino@redhat.com> <1255561330.29192.2.camel@slab.beaverton.ibm.com> <20091015103405.591e2f3b@doriath> <1255626960.29192.7.camel@slab.beaverton.ibm.com> <20091015145208.1d871f09@doriath> <1255630433.29192.16.camel@slab.beaverton.ibm.com> <20091015160839.7dbef5bf@doriath> In-Reply-To: <20091015160839.7dbef5bf@doriath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, Hollis Blanchard Hi, > { "error": { "code": 404, > "desc": "husb: host usb device 0.12 is already open" } } > > In case I'm right, there are two problems with it: > > 1. It's hard to retrieve the variable information Markus asked it already, I'm asking again: *Do we actually need the variable information?* The point is that the information usually is available from context anyway, i.e. if you get the reply above from a command like 'usb_add host:0.12' you know it is host device 0.12 *without* parsing reply because you know you've asked for host device 0.12. cheers, Gerd