X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=python%2Fguestfs.py;h=e2989223945ac5da4fd7d92de814b46d423870c1;hp=6c425bc2132bb961fe05ed7d5b903f81cdb0b0aa;hb=24bee20ce4196d45891925332a47a05aa5e40938;hpb=8c60f5c681b5d7cf90bc798fcaf94cd4e242e27f diff --git a/python/guestfs.py b/python/guestfs.py index 6c425bc..e298922 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -1221,3 +1221,15 @@ class GuestFS: """ return libguestfsmod.drop_caches (self._o, whattodrop) + def dmesg (self): + u"""This returns the kernel messages ("dmesg" 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 "g.set_verbose" or by setting the + environment variable "LIBGUESTFS_DEBUG=1" before running + the program. + """ + return libguestfsmod.dmesg (self._o) +