understanding KVM versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I am trying to understand the versions of KVM. From what I've learned
so far, there are versions for KVM
   1. qemu-kvm  executable version, obtained for example
   /usr/libexec/qemu-kvm |head -n 1
   2. kvm kernel module version, obtained for example
   modinfo kvm

>From http://sourceforge.net/projects/kvm/files/, we see

   * kvm-kmod: listed by linux kernel version such as 2.6.32.3. It
only has kvm-kmod-2.6.32.3.tar.bz2
   * qemu-kvm: listed by release version such as 0.12.1.2. It only
has qemu-kvm-0.12.1.2.tar.gz
   * kvm: listed by snapshot version such as 88. It contains
         o qemu-kvm-devel-88.tar.gz
         o kvm-kmod-devel-88.tar.gz
         o kvm-88.tar.gz: this includes both qemu-kvm and kvm-kmod source
               + / is the same as qemu-kvm
               + kvm/kernel is the same as kvm-kmod

My first question: Is there a one-to-one match between the qemu-kvm
and kvm-kmod versions?
It is straightforward for snapshot development sources, since qemu-kvm
and kvm-kmod come together.
But for stable releases, for a specific kernel version (thus given
kvm-kmod version), should we choose a particular qemu-kvm release
version?

Second question about the virtio drivers: Do a given set of virtio
drivers work only for a specific kvm (kmod and qemu) versions?
The reason I asked this is that I found out the virtio SCSI block
driver works for windows 2008 RC2 on RHEl5.4 hosts but not on Ubuntu
9.10 hosts whose versions are different.
On RHEL 5.4, I have
[root@node2 NewInstallation]# /usr/libexec/qemu-kvm |head -n 1
QEMU PC emulator version 0.9.1 (kvm-83-maint-snapshot-20090205),
Copyright (c) 2003-2008 Fabrice Bellard

[root@node2 NewInstallation]# modinfo kvm
filename:       /lib/modules/2.6.18-164.el5/weak-updates/kmod-kvm/kvm.ko
license:        GPL
author:         Qumranet
version:        kvm-83-105.el5
srcversion:     3660497FE5FD1C725B5F09F
depends:
vermagic:       2.6.18-160.el5 SMP mod_unload gcc-4.1
parm:           oos_shadow:bool
parm:           force_kvmclock:bool

On Ubuntu 9.10, I have
oneadmin@node1:/srv/cloud/ImgRep/VrSTORM/Win08/NewInstallation$ kvm --version
QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c)
2003-2008 Fabrice Bellard

oneadmin@node1:/srv/cloud/ImgRep/VrSTORM/Win08/NewInstallation$ modinfo kvm
filename:       /lib/modules/2.6.31-11-server/kernel/arch/x86/kvm/kvm.ko
license:        GPL
author:         Qumranet
srcversion:     4BE986C17F9CAF23A6FD6D5
depends:
vermagic:       2.6.31-11-server SMP mod_unload modversions
parm:           oos_shadow:bool

My guess for Window2008 not working on ubuntu is that its
kernel/kvm-kmod version is too new.

I deeply appreciate your answering my two questions. Thanks a lot.

-- 
Shi Jin, Ph.D.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux