From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIIFn-0007hQ-Q2 for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:41:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIIFh-0005ue-QQ for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:40:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIIFh-0005uR-IA for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:40:53 -0500 Date: Tue, 25 Feb 2014 14:39:51 +0100 From: Kevin Wolf Message-ID: <20140225133951.GD3339@dhcp-200-207.str.redhat.com> References: <20140221091629.GE11907@stefanha-thinkpad.redhat.com> <20140225094615.GA3339@dhcp-200-207.str.redhat.com> <530C74CB.2000906@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <530C74CB.2000906@redhat.com> Subject: Re: [Qemu-devel] QOM vs QAPI for QMP APIs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , Stefan Hajnoczi , qemu-devel , Luiz Capitulino , Anthony Liguori , Andreas Faerber , Michael Roth Am 25.02.2014 um 11:47 hat Paolo Bonzini geschrieben: > Il 25/02/2014 11:15, Stefan Hajnoczi ha scritto: > >On Tue, Feb 25, 2014 at 10:46 AM, Kevin Wolf wrote: > >>> External QOM interfaces have their place, especially for debugging or > >>> trying out things before there is a proper API, but it's not as the > >>> primary external interface. > >Yes, I agree. > > -object is an exception to this though, isn't it? I'd prefer if -object weren't the primary interface for anything. We could define a few stable types that are meant to be created, queried and manipulated using QOM, but it would blur the line. Kevin