[libvirt][PATCH] running libvirt on the latest kvm snapshot

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

 



Hi.

Libvirt tryes to extract kvm version from the string
  "QEMU PC emulator version <major>.<minor>.<micro> (kvm-<version>)..."
For examle,
  # kvm -help | head -1
  QEMU PC emulator version 0.10.0 (kvm-85), Copyright (c) 2003-2008 Fabrice Bellard

The problem occures if you are trying to run it on the devel version of kvm:
  # kvm -help | head -1
  QEMU PC emulator version 0.10.0 (kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard
The virParseNumber() obvioulsy fails on the "devel" string here. I propose to setup
`kvm_version' to 1000 (that's enough, I think) in that case, so all checks, such as
  if (kvm_version > 74) ...
will pass.

Attachment: libvirt_kvm_devel_version.patch
Description: Binary data

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]