Displaying 1 result from an estimated 1 matches for "set_busy".
Did you mean:
set_bus
2009 Sep 09
2
[PATCH] Add command trace functionality
...pr " guestfs_main_loop *ml = guestfs_get_main_loop (g);\n";
pr " int serial;\n";
pr "\n";
+ trace_call shortname style;
pr " if (check_state (g, \"%s\") == -1) return %s;\n" name error_code;
pr " guestfs_set_busy (g);\n";
pr "\n";
diff --git a/src/guestfs.c b/src/guestfs.c
index 571205f..98d99b8 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -170,6 +170,7 @@ struct guestfs_h
int cmdline_size;
int verbose;
+ int trace;
int autosync;
char *path; /* Path to kernel, i...