[libvirt] [PATCH 1/2] qemu: Enhance QMP detection of KVM state

2012-10-28 Thread Martin Kletzander
When there is no 'qemu-kvm' binary and the emulator used for a machine is, for example, 'qemu-system-x86_64' that, by default, runs without kvm enabled, libvirt still supplies '-no-kvm' option to this process, even though it does not recognize such option (making the start of a domain fail in that

[libvirt] [PATCH 0/2] Make non-KVM machines work with QMP probing

2012-10-28 Thread Martin Kletzander
This series wannabe fixes a problem with SW emulated machines not being able to be run with upstream qemu (no qemu-kvm + QMP probing). Libvirt currently sets QEMU_CAPS_KVM based on the fact that QEMU knows about 'query-kvm' QMP command. This not necessarily means that '-no-kvm' option needs to be

[libvirt] [PATCH 2/2 v2] qemu: Fix SW emulated machines

2012-10-28 Thread Martin Kletzander
This patch fixes building a command-line for QEMU machines without KVM acceleration and is based on following assumptions: - QEMU_CAPS_KVM flag means that QEMU is capable of running KVM accelerated machine (not that it knows about KVM at all, even though there is probably no QEMU that

[libvirt] [PATCH 2/2 v1] qemu: Fix SW emulated machines

2012-10-28 Thread Martin Kletzander
This patch fixes building a command-line for QEMU machines without KVM acceleration and is based on following assumptions: - QEMU_CAPS_KVM flag means that QEMU is running KVM accelerated machines by default (without explicitely requesting that using a command-line option). It is the

[libvirt] Availability of Release Candidate 2 for 1.0.0

2012-10-28 Thread Daniel Veillard
The tree is now tagged (v1.0.0-rc2) and the tarball (and rpms) are available at the usual place: ftp://libvirt.org/libvirt/ It seems to work correctly with my limited testing, but please give it a try, and let's fix any remaining reported issue before the end of the week. I will do an rc3

[libvirt] libvirt can not get right stats of a rbd pool

2012-10-28 Thread yue
Allocation exceed Capacity ,but Available is not 0. #virsh pool-info 2361a6d4-0edc-3534-87ae-e7ee09199921 Name: 2361a6d4-0edc-3534-87ae-e7ee09199921 UUID: 2361a6d4-0edc-3534-87ae-e7ee09199921 State: running Persistent: yes Autostart: no Capacity: