From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBlI7-0005LQ-IM for qemu-devel@nongnu.org; Fri, 07 Feb 2014 08:16:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBlHy-0000pr-PI for qemu-devel@nongnu.org; Fri, 07 Feb 2014 08:16:23 -0500 Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:36707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBlHy-0000pW-Kq for qemu-devel@nongnu.org; Fri, 07 Feb 2014 08:16:14 -0500 Received: by mail-qa0-f46.google.com with SMTP id ii20so5156083qab.33 for ; Fri, 07 Feb 2014 05:16:14 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52F4DC99.1050106@redhat.com> Date: Fri, 07 Feb 2014 14:16:09 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1391621709-15620-1-git-send-email-afaerber@suse.de> <52F2795D.10708@redhat.com> <52F27A1D.2040504@suse.de> <52F27B1C.6010307@redhat.com> <52F27C7A.2040701@suse.de> <52F487AE.4060301@redhat.com> <52F4BEEA.5060606@suse.de> <52F4C1B1.302@redhat.com> <52F4D665.1090203@suse.de> In-Reply-To: <52F4D665.1090203@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] scripts: Add qom-tree script as modern equivalent of info qtree List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, armbru@redhat.com, aliguori@amazon.com, lcapitulino@redhat.com Il 07/02/2014 13:49, Andreas Färber ha scritto: > qdev is a framework from Paul Brook with a bus-tree-oriented graph. > QOM by comparison uses an arbitrary composition tree of child<> nodes. > > qdev as such no longer exists since late 2011 / early 2012. Let me be blunt: to me, this is a huge, huge delusion. And I guess this difference in views is why we keep talking past each other. First, having to kill qdev is a dogma at best. QOM allows more expressive relationships than just bus-children, but real hardware does have buses. A bus is not just a n:1 relationship between a controller and a controlled device. Buses, not composition, describe the path that signals actually follow while the system runs. Composition lets you understand how a system is built. Buses lets you run it. Second, if anyone killed qdev, I didn't notice. At best, qdev is now implemented on top of QOM. And in fact, the "fake" buses that qdev introduced are all still there, so whoever "killed" qdev left quite a few traces behind him. Paolo