I recently tried to create a new QOM class which inherited from a class which defined interfaces. This has so far gone untested and my little experiment exposed two bugs in the QOM interface system. Please see patches for corrections. Im pretty convinced about patch 2, patch 1 less so and could use some input on what the original intention was on how inheritance and interfaces was supposed to be implemented.
Peter Crosthwaite (2): qom/object.c: Reset interface list on inheritance qom/object.c: Allow itf cast with num_itfs = 0 qom/object.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)