[libvirt] KVM Connection issue

We are using Libvirt Java API version 0.5.0 to connect RHEL 5 KVM, and fetch KVM environment attributes. While doing it, we are seeing the following exception: *this function is not supported by the connection driver: qemuGetSchedulerType Stack trace: org.libvirt.ErrorHandler.processError(Unknown Source) org.libvirt.Connect.processError(Unknown Source) org.libvirt.Domain.processError(Unknown Source) org.libvirt.Domain.getSchedulerType(Unknown Source)* The machine that is running the Java code to connect to the KVM is also RHEL 5. Is this related to certain libvirt version mismatch or something not supported?

On 04/24/2014 10:57 AM, Vikas Kokare wrote:
*this function is not supported by the connection driver: qemuGetSchedulerType Stack trace: org.libvirt.ErrorHandler.processError(Unknown Source) org.libvirt.Connect.processError(Unknown Source) org.libvirt.Domain.processError(Unknown Source) org.libvirt.Domain.getSchedulerType(Unknown Source)*
The machine that is running the Java code to connect to the KVM is also RHEL 5. Is this related to certain libvirt version mismatch or something not supported?
http://libvirt.org/hvsupport.html documents that virDomainGetSchedulerType was implemented by the qemu driver in libvirt version 0.7.0; whereas at least RHEL 5.9 was shipping libvirt 0.8.2, so it seems like something that should be supported. At this point, you'll have to step through a debugger or open a support ticket with Red Hat, because this list tends to focus on current development (now working towards 1.2.4 - several years beyond the version that Red Hat ships in RHEL 5). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Vikas Kokare