On 22/12/2015 18:24, Daniel P. Berrange wrote: > I was a little reluctant to move this 'object_create' method into the > qom/ code though, since I hate the idea of the legacy 'QemuOpts' data > anywhere near those nice new APIs. I guess I could perhaps just keep the > qemu_opts_to_qdict() call in the caller.
I disagree with calling QemuOpts legacy, but I agree that this shouldn't be in qom/object_interfaces.c. However, it could be moved to a separate file in qom/. Paolo