Displaying 1 result from an estimated 1 matches for "1282a17".
2016 Oct 24
2
[PATCH] p2v: Inhibit power saving during the conversion.
...!= NULL)
+ dbus_connection_unref (conn);
+
+ dbus_error_free (&err);
+
+ return fd;
+
+#else /* !HAVE_DBUS */
+#ifdef DEBUG_STDERR
+ fprintf (stderr, "warning: virt-p2v compiled without DBus support.\n");
+#endif
+ return -1;
+#endif
+}
diff --git a/p2v/p2v.h b/p2v/p2v.h
index 1282a17..86e2c50 100644
--- a/p2v/p2v.h
+++ b/p2v/p2v.h
@@ -120,6 +120,9 @@ extern const char *get_conversion_error (void);
extern void cancel_conversion (void);
extern int conversion_is_running (void);
+/* inhibit.c */
+extern int inhibit_sleep (void);
+
/* ssh.c */
extern int test_connection (struc...