On 30/05/2018 06:57, Alexey Kardashevskiy wrote:
> hw/intc/apic_common.c|489| object_property_add(obj, "id", "uint32",
> hw/ppc/spapr_drc.c|557| object_property_add_uint32_ptr(obj, "id", &drc->id,
> NULL);
>
> This does not look like "remove the "id" property altogether" :) Does this
> mean we sti
On 3/5/18 3:40 pm, Alexey Kardashevskiy wrote:
> On 30/4/18 7:53 pm, Paolo Bonzini wrote:
>> On 30/04/2018 08:25, Alexey Kardashevskiy wrote:
>>> +DeviceState *dev = (DeviceState *) object_dynamic_cast(obj,
>>> TYPE_DEVICE);
>>> +const char *id = object_property_print(obj, "id", true, NULL
On 30/4/18 7:53 pm, Paolo Bonzini wrote:
> On 30/04/2018 08:25, Alexey Kardashevskiy wrote:
>> +DeviceState *dev = (DeviceState *) object_dynamic_cast(obj,
>> TYPE_DEVICE);
>> +const char *id = object_property_print(obj, "id", true, NULL);
>
> The only objects that have an "id" property a
On 30/04/2018 08:25, Alexey Kardashevskiy wrote:
> +DeviceState *dev = (DeviceState *) object_dynamic_cast(obj, TYPE_DEVICE);
> +const char *id = object_property_print(obj, "id", true, NULL);
The only objects that have an "id" property are memdevs. If you want to
special case their printi
This adds owners/parents (which are the same, just occasionally
owner==NULL) printing for memory regions; a new '-o' flag
enabled new output.
Signed-off-by: Alexey Kardashevskiy
---
Changes:
v2:
* cleanups
---
include/exec/memory.h | 2 +-
memory.c | 69