Description of problem: the libvirt version 0.6.1-4.el5,libvirt-python version 0.6.1-4.el5, in the libvirt.py module, in class virDomain, when blockPeek and memoryPeek functions are called,display information "libvirtmod module object has no attribute 'virDomainMemoryPeek' and 'virDomainBlockPeek'" and I have looked over libvirtmod dynamic link library(libvirt.so), which do not have this method to export. How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: libvirt.so don't export 'virDomainMemoryPeek' and 'virDomainBlockPeek' method Expected results: export this two methods Additional info:
The libvirt.so *does* export these methods $ nm -a -D /usr/lib/libvirt.so | grep Peek 00028770 T virDomainBlockPeek 00028590 T virDomainMemoryPeek The problem is simply that the python bindings have not implemented wrappers for them.
libvirt.so does export these methods,it should be libvirtmod.so instead of libvirt.so in description of problem,Just like you said,the python bindings have not implemented wrappers for them.so when blockPeek and memoryPeek functions are called in libvrit.py,information display "libvirtmod module object has no attribute 'virDomainMemoryPeek' and 'virDomainBlockPeek'"
libvirt-0.6.1-4.el5 is not presently on RHEVH Node images as we are still using 0.5.1. This bug should really be moved to RHEL5.4 instead of RHEV.
There is still no support for virDomainMemoryPeek and virDomainBlockPeek in the python bindings upstream. I don't expect that to be added before 5.4 Daniel
rhel5.4-server is still no support for virDomainMemoryPeek and virDomainBlockPeek in the python bindings upstream. [root@dhcp-66-70-18 site-packages]# pwd /usr/lib64/python2.4/site-packages [root@dhcp-66-70-18 site-packages]# nm -a -D libvirtmod.so |grep Peek [root@dhcp-66-70-18 site-packages]# nm -a -D libvirtmod.so |grep Devices 000000000000d3d0 T libvirt_virNodeNumOfDevices U virNodeListDevices U virNodeNumOfDevices [root@dhcp-66-70-18 site-packages]# uname -r 2.6.18-151.el5xen [root@dhcp-66-70-18 site-packages]# rpm -qa|grep libvirt libvirt-python-0.6.3-3.el5 libvirt-0.6.3-3.el5 libvirt-0.6.3-3.el5
still no support for virDomainMemoryPeek [root@lion site-packages] nm -a -D libvirtmod.so |grep Peek tried with latest Version - libvirt-python 0.9.4-1
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.