[Libguestfs] [PATCH] p2v: Inhibit power saving during the conversion.
Pino Toscano
ptoscano at redhat.com
Tue Oct 25 09:01:08 UTC 2016
On Monday, 24 October 2016 18:23:26 CEST Richard W.M. Jones wrote:
> We do this by sending an Inhibit() message to logind and receiving a
> file descriptor back, which we hold open until the conversion
> completes (or fails). This is described here:
> https://www.freedesktop.org/wiki/Software/systemd/inhibit/
>
> This adds an additional optional dependency on DBus since we use DBus
> to call the Inhibit() method.
>
> Reported-by: Chris Cowley.
Minor nitpick: "D-Bus" is the proper spelling.
The rest of the libdbus-1 implementation looks correct, checking with
the API docs (and a bit the internals). Maybe could be worth using
the glib-based interface for it (dbus glib or GDBus).
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20161025/b91fe5cc/attachment.sig>
More information about the Libguestfs
mailing list