On Thu, Dec 18, 2008 at 10:23:39AM +0000, Daniel P. Berrange wrote:
No, not guarenteed to be safe because the 'config_xml' string
could
contain '%' sequences that'll be interpreted by sprintf. In any case
why not just use
virBufferAdd(&buf, config_xml)
Updated version using virBufferAdd attached.
-- Guido