Am 29.11.2013 10:43, schrieb arm...@redhat.com:
> From: Markus Armbruster <arm...@redhat.com>
> 
> Pointer properties can be set only by code, not by device_add.  A
> device with a pointer property can't work with device_add only unless
> the property may remain null.  cannot_instantiate_with_device_add_yet
> needs to be set then.  PATCH 1/2 sets it when needed and else
> documents why not.  PATCH 2/2 documents this for future users of
> pointer properties.
> 
> This applies on top of my "[PATCH v4 00/10] Clean up and fix no_user"
> series.
> 
> Markus Armbruster (2):
>   hw: cannot_instantiate_with_device_add_yet due to pointer props
>   qdev: Document that pointer properties kill device_add
Queued both while still waiting for reply from PMM. I somewhat doubt
that anyone will read the documentation you're adding in 2/2, but at
least we can then point them to it.

https://github.com/afaerber/qemu-cpu/commits/qom-next

Thanks,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to