On 05/30/13 17:41, Paolo Bonzini wrote: > Il 30/05/2013 17:05, Laszlo Ersek ha scritto: >> But, again object_resolve_path() returns pointer-to-Object. I'm checking >> "struct Object" in "include/qom/object.h", and it suggests that derived >> structs should embed Object as first member. However FWCfgState is *not* >> such a derived member. What's going on here? >> >> http://thread.gmane.org/gmane.comp.emulators.qemu/201544/focus=201564 >> http://thread.gmane.org/gmane.comp.emulators.qemu/204452/focus=204450 > > FWCfgState embeds Object via SysBusDevice and DeviceState.
Clearly an evil trick by a devious mind. Thanks :) Laszlo