Bug 492683
Summary: | RFE: Expose 'virDomainMemoryPeek' and 'virDomainBlockPeek' in python bindings | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Alex Jia <ajia> | |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.4 | CC: | berrange, dallan, flying, hbrock, llim, virt-maint, xen-maint, yoyzhang | |
Target Milestone: | rc | Keywords: | FutureFeature | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 611824 (view as bug list) | Environment: | ||
Last Closed: | 2011-08-15 20:25:03 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Alex Jia
2009-03-28 06:43:44 UTC
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. |