xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxl_json: Fix backport of JSON_BOOL to 4.2.2
@ 2013-07-05 15:11 Don Slutz
  2013-07-05 15:30 ` Don Slutz
  2013-07-06 13:19 ` Alex Bligh
  0 siblings, 2 replies; 7+ messages in thread
From: Don Slutz @ 2013-07-05 15:11 UTC (permalink / raw)
  To: xen-devel, anthony.perard, ian.campbell, alex, jbeulich,
	Ian.Jackson
  Cc: Don Slutz

Commit 2b3072ed0cbeed8c0385f20e92ba0f1201db8a17 has the setting of obj->u.b
Commit 6a2aca9fdef0499e613715baf107f2296b9007cf does not.

This shows up by vnc-port and vnc-listen are missing in xenstore when they should not be.

Signed-off-by: Don Slutz <dslutz@verizon.com>
---
 tools/libxl/libxl_json.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/libxl/libxl_json.c b/tools/libxl/libxl_json.c
index 72b52e8..0810630 100644
--- a/tools/libxl/libxl_json.c
+++ b/tools/libxl/libxl_json.c
@@ -474,6 +474,7 @@ static int json_callback_boolean(void *opaque, int boolean)
 
     if ((obj = libxl__json_object_alloc(ctx->gc, JSON_BOOL)) == NULL)
         return 0;
+    obj->u.b = boolean;
 
     if (libxl__json_object_append_to(ctx->gc, obj, ctx->current) == -1) {
         libxl__json_object_free(ctx->gc, obj);
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-08 13:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-05 15:11 [PATCH] libxl_json: Fix backport of JSON_BOOL to 4.2.2 Don Slutz
2013-07-05 15:30 ` Don Slutz
2013-07-05 20:29   ` Konrad Rzeszutek Wilk
2013-07-05 20:40     ` Don Slutz
2013-07-05 21:09       ` Konrad Rzeszutek Wilk
2013-07-08 13:57         ` Don Slutz
2013-07-06 13:19 ` Alex Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).