The new coding style uses the convenience macro CTX as declared in
libxl_internal.h. Substitute an invocation of this macro for its body
at the one place it occurs in libxl_qmp.c.
Suggested-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
"Failed to allocate qmp_handler");
return NULL;
}
- qmp->ctx = libxl__gc_owner(gc);
+ qmp->ctx = CTX;
qmp->domid = domid;
qmp->timeout = 5;