From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFfg-0001Gc-H8 for qemu-devel@nongnu.org; Tue, 14 May 2013 09:53:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcFfa-00043I-IS for qemu-devel@nongnu.org; Tue, 14 May 2013 09:53:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFfa-00043C-AH for qemu-devel@nongnu.org; Tue, 14 May 2013 09:53:34 -0400 Message-ID: <519241D9.3000608@redhat.com> Date: Tue, 14 May 2013 15:53:29 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <87sj1qboo4.fsf@codemonkey.ws> <519203F7.8090200@redhat.com> <87sj1p1yma.fsf@codemonkey.ws> In-Reply-To: <87sj1p1yma.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: seabios@seabios.org, lersek@redhat.com, qemu-devel@nongnu.org, "Michael S. Tsirkin" Hi, >>> and is also a good >>> reason why exposing this information via a common interface (fw_cfg) >>> would be a good idea. >> >> Huh? As far I know we generate device trees in qemu instead of >> expecting pseries firmware compile them from fw_cfg information. > > It depends on what firmware you are using. Of course. On archs which don't use device trees in the first place it doesn't make sense. > We don't really generate device trees in general in QEMU. pseries does (thats why the hard libfdt dependency if you want pseries support). arm wants move into that direction too. > As Peter mentioned, in an ideal world we'd generate them from the QOM > graph. Sure. > That should happen in the firmware and it could be enabled by > adding just a couple fw_cfg commands to navigate the QOM graph (analogs > to qom-list and qom-get in QMP). I don't think Peter intended to imply *that* ... cheers, Gerd