X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=23e058017fcf5b3545e10c70bb1646cba8aa84a5;hb=65dab4f7f761c8ec0a2040956ffdbb14423503d2;hp=b3daa0549ef9e8f648e3c1c163f157eceaf77fbd;hpb=9222136ac9b2e404dba128b1ac74dacaa8bf1038;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index b3daa05..23e0580 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -561,6 +561,22 @@ to find out what you can do. This function returns a string, or NULL on error. I. +=head2 guestfs_dmesg + + char *guestfs_dmesg (guestfs_h *handle); + +This returns the kernel messages (C output) from +the guest kernel. This is sometimes useful for extended +debugging of problems. + +Another way to get the same information is to enable +verbose messages with C or by setting +the environment variable C before +running the program. + +This function returns a string, or NULL on error. +I. + =head2 guestfs_download int guestfs_download (guestfs_h *handle, @@ -593,6 +609,19 @@ so that the maximum guest memory is freed. This function returns 0 on success or -1 on error. +=head2 guestfs_equal + + int guestfs_equal (guestfs_h *handle, + const char *file1, + const char *file2); + +This compares the two files C and C and returns +true if their content is exactly equal, or false otherwise. + +The external L program is used for the comparison. + +This function returns a C truth value on success or -1 on error. + =head2 guestfs_exists int guestfs_exists (guestfs_h *handle, @@ -997,7 +1026,7 @@ This function returns 0 on success or -1 on error. const char *device); This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. This function returns 0 on success or -1 on error. @@ -1089,6 +1118,17 @@ either a destination filename or destination directory. This function returns 0 on success or -1 on error. +=head2 guestfs_ping_daemon + + int guestfs_ping_daemon (guestfs_h *handle); + +This is a test probe into the guestfs daemon running inside +the qemu subprocess. Calling this function checks that the +daemon responds to the ping message, without affecting the daemon +or attached block device(s) in any other way. + +This function returns 0 on success or -1 on error. + =head2 guestfs_pvcreate int guestfs_pvcreate (guestfs_h *handle,