Virt-dmesg is dmesg for Linux virtual machines. Run the program on the host to display the kernel messages in a guest. It even works for crashed and hung guests.

# virt-dmesg Fedora14 | tail -5
<6>[   11.609206] lo: Disabled Privacy Extensions
<6>[   11.634902] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   15.286998] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
<7>[   21.898345] mtrr: no MTRR for f0000000,100000 found
<7>[   25.714129] eth0: no IPv6 routers present
# virt-uname Fedora14
Linux #1 SMP
Mon Feb 7 07:06:44 UTC 2011 x86_64 (none)

Community, discussions, feedback

Virt-dmesg is actively developed by Red Hat and the community. If you have questions, problems, patches or feedback on virt-dmesg then go to the virt tools mailing list, or hop over to our IRC channel #virt on OFTC.

Source and binaries

Source tarballs are available here.

There is also a git repository:

git clone git://

The license is the GNU General Public License, version 2 or any later version (GPLv2+).

rjones AT redhat DOT com

$Id: index.html,v 1.2 2011/09/15 18:19:14 rjones Exp $