X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=perl%2Flib%2FSys%2FGuestfs.pm;h=7331053e23eee39b9f8e29d925b86fac21bc8df5;hb=f47dafd23186938a22d41739d9bc695c7760b912;hp=63a49259320e6d79f9ebc733a28f765a9255cab8;hpb=9222136ac9b2e404dba128b1ac74dacaa8bf1038;p=libguestfs.git diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index 63a4925..7331053 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -452,6 +452,17 @@ There is no comprehensive help for this command. You have to look at the file C in the libguestfs source to find out what you can do. +=item $kmsgs = $h->dmesg (); + +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<$h-Eset_verbose> or by setting +the environment variable C before +running the program. + =item $h->download ($remotefilename, $filename); Download file C and save it as C @@ -473,6 +484,13 @@ Setting C to 3 should drop everything. This automatically calls L before the operation, so that the maximum guest memory is freed. +=item $equality = $h->equal ($file1, $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. + =item $existsflag = $h->exists ($path); This returns C if and only if there is a file, directory @@ -761,6 +779,13 @@ Some internal mounts are not shown. This moves a file from C to C where C is either a destination filename or destination directory. +=item $h->ping_daemon (); + +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. + =item $h->pvcreate ($device); This creates an LVM physical volume on the named C,