How to check which version of KVM I am running?

I have installed KVM using the instructions given on the wiki. However, when I try to check its version using

kvm --version

what I get as output is this

QEMU emulator version 1.2.0 (qemu-kvm-1.2.0+noroms-0ubuntu2.12.10.5, Debian), Copyright (c) 2003-2008 Fabrice Bellard

which I believe is QEMU's version, not KVM's.

I have tried the method given here, but this does give an output.

I wanted to know what is the correct method to get the version of KVM I am running.

Specifications:

  • Ubuntu 12.10
  • Linux 3.5.0-43-generic

2 Answers

The command you're looking for is:

dpkg -s qemu-kvm | grep Version

You can look up the version of any package using dpkg -s [package name]

Regarding the KVM, a quick Google search returned it is titled qemu-kvm.

Example output (if you're running Debian Jessie):

Version: 1:2.1+dfsg-12+deb8u5a

As an FYI, the grep command is case-sensitive by default, which is important because Version is upper-case. You can use the parameter -i to ignore case.

The kvm version follows the kernel version.

uname -r 

would therefore, in this case give you the correct version.

Look here for more information

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like