Commit 5b93a576 failed to remove the 'staticmethod'
decorator from the method, to allow it to access
object variables.
Also there is no need to have the libvirt getInfo() call
be xen specific. In the LXC/QEMU/UML drivers this call
uses GNULIB's physmem module, which is cross-OS portable.
Change-Id: I565eda78f6c468cf6bd227756cfc068725069218
(cherry picked from commit 78352b98a96946145bec9010872d8f2769691ac2)
Reviewed: https:/ /review. openstack. org/9606 github. com/openstack/ nova/commit/ 835ba4f23eb32c6 9aaeb1da590a297 565b60388d
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 835ba4f23eb32c6 9aaeb1da590a297 565b60388d
Author: Pádraig Brady <email address hidden>
Date: Mon Jun 25 16:48:24 2012 +0100
fix libvirt get_memory_ mb_total( ) with xen
Fixes bug 1004298 in stable/essex.
Commit 5b93a576 failed to remove the 'staticmethod'
decorator from the method, to allow it to access
object variables.
Also there is no need to have the libvirt getInfo() call
be xen specific. In the LXC/QEMU/UML drivers this call
uses GNULIB's physmem module, which is cross-OS portable.
Change-Id: I565eda78f6c468 cf6bd227756cfc0 68725069218 45bec9010872d8f 2769691ac2)
(cherry picked from commit 78352b98a969461