|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH for-2.0 2/2] dataplane: replace iothread object_add() with embedded instance |
Date: | Thu, 20 Mar 2014 15:37:54 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 20/03/2014 15:06, Stefan Hajnoczi ha scritto:
+ object_initialize(&s->internal_iothread_obj, + sizeof(s->internal_iothread_obj), + TYPE_IOTHREAD); + user_creatable_complete(OBJECT(&s->internal_iothread_obj), &error_abort);
Perhaps you need an object_property_add_child here? Otherwise the link points to an object without a canonical path. Can do it as a follow-up though.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |