diff options
Diffstat (limited to 'python/guestfs.py')
-rw-r--r-- | python/guestfs.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/guestfs.py b/python/guestfs.py index 6c425bc2..e2989223 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) + |