On Tue, Jun 06, 2017 at 09:19:37PM +0300, Roman Kagan wrote: > Multiple entities (e.g. VMBus devices) can use the same SINT route. To > make their lives easier in maintaining SINT route ownership, make it > reference-counted. Adjust the respective API names accordingly. > > Signed-off-by: Roman Kagan <rka...@virtuozzo.com>
Isn't it easier to reuse existing refcounting infrastructure here? Is it overkill to make it a QOM object? (struct Object has 40 bytes) -- Eduardo