How to check KVM (qemu-kvm) version on Linux

How to check KVM (qemu-kvm) version on Linux

To check the version of KVM (qemu-kvm) on a Linux system, you can use the kvm --version command. This command displays the version number of the KVM kernel module and the qemu-kvm command line tool.

To check the version of KVM, open a terminal window and run the following command:

refe‮ual:ot r‬tturi.com
kvm --version

This will display the version number of the KVM kernel module and the qemu-kvm command line tool.

For example, the output might look something like this:

QEMU emulator version 4.2.0 (Debian 1:4.2-3+deb10u6), Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
kvm version: 4.18.0-147.8.1.el8_1.x86_64

In this example, the version of the KVM kernel module is 4.18.0-147.8.1.el8_1.x86_64 and the version of the qemu-kvm command line tool is 4.2.0.

It's worth noting that the kvm --version command may not be available on all systems. In this case, you can use the modinfo kvm command to display the version of the KVM kernel module.

For example:

modinfo kvm

This will display the version of the KVM kernel module, along with other information about the module.

Alternatively, you can use the qemu-kvm --version command to display the version of the qemu-kvm command line tool.

For example:

qemu-kvm --
Created Time:2017-10-28 21:38:59  Author:lautturi