[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qom: add option -dt-printf wich writes DeviceCl
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] qom: add option -dt-printf wich writes DeviceClass hierarchy in file |
Date: |
Tue, 12 Jul 2016 17:19:35 +0100 |
On 12 July 2016 at 17:18, Andreas Färber <address@hidden> wrote:
> Am 12.07.2016 um 18:15 schrieb Peter Maydell:
>> On 12 July 2016 at 16:33, <address@hidden> wrote:
>>> From: goremykin <address@hidden>
>>>
>>> Option -dt-printf 'file' writes Device Tree (DiveceClass hierarchy) to
>>> 'file' using Json format. This helps developers visualize the hierarchy
>>> of DeviceClass and its properties.
>>
>> Is there a particular problem with the existing
>> "-machine dumpdtb=<filename>" support that you're trying
>> to address? Once you've dumped the dtb blob you can use
>> dtc to convert it to whatever human readable format you
>> like that dtc supports.
>
> From what I understood this is not about dtb but about QOM.
Oops, you're right. I read all those dt_* functions in the
patch and assumed it was dealing with device trees...
thanks
-- PMM