Am 20.08.2012 04:18, schrieb Peter Crosthwaite:
[...] Here's my code as it stands:
Error *errp = NULL;
object_property_set_link(OBJECT(dev), OBJECT(cpus[0]), cpu0, errp);
assert_no_error(errp);
There's two pitfalls there, the needed object_property_add_link() that
you stumbled over and also
On Mon, Aug 20, 2012 at 9:02 PM, Andreas Färber afaer...@suse.de wrote:
Am 20.08.2012 04:18, schrieb Peter Crosthwaite:
[...] Here's my code as it stands:
Error *errp = NULL;
object_property_set_link(OBJECT(dev), OBJECT(cpus[0]), cpu0, errp);
assert_no_error(errp);
There's two pitfalls
On Tue, Aug 14, 2012 at 10:50 PM, Anthony Liguori aligu...@us.ibm.com wrote:
Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com writes:
Hi All. A couple of times now ive had debug issues due to silent failure of
object_property_set. This function silently fails if the requested property
Hi All. A couple of times now ive had debug issues due to silent failure of
object_property_set. This function silently fails if the requested property
does not exist for the target object. To trap this error I applied the patch
below to my tree, but I am assuming that this is not mergeable as is
Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com writes:
Hi All. A couple of times now ive had debug issues due to silent failure of
object_property_set. This function silently fails if the requested property
does not exist for the target object. To trap this error I applied the patch