Re: [Qemu-devel] [PATCH 09/17] monitor: Convert do_info_uuid() to QObject

2009-11-20 Thread Markus Armbruster
Luiz Capitulino writes: > The returned QObject is a QString, snprintf() is used because the > UUID_FMT is too complex for qobject_from_jsonf(). If this turns out to be a common problem, we should consider fixing it at the source: qobject_from_jsonf().

[Qemu-devel] [PATCH 09/17] monitor: Convert do_info_uuid() to QObject

2009-11-17 Thread Luiz Capitulino
The returned QObject is a QString, snprintf() is used because the UUID_FMT is too complex for qobject_from_jsonf(). Signed-off-by: Luiz Capitulino --- monitor.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/monitor.c b/monitor.c index 9ecf5ff..c86c7a5 10