From 470140253b9fc1f572b71e7a4fea43877c7fb691 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 15 Dec 2009 14:49:51 +0000 Subject: libvirt-0.6.3-25.el5 - fix python binding generator to avoid clashes in method names - Resolves: rhbz#510427 - nodedev-destroy can hang libvirtd - Resolves: rhbz#510430 - avoid spurious errors on npiv device creation - Resolves: rhbz#514324 - node device APIs should expose the relationship between SR-IOV VFs and PFs - Resolves: rhbz#481748 - implement --pool option for virsh vol-path - Resolves: rhbz#509306 - cannot delete storage pool problem - Resolves: rhbz#496579 - Can not hotplug vtd device to Xen guest - Resolves: rhbz#546671 - Inactive KVM guest memory reporting via 'info' is strange - Resolves: rhbz#508266 - command 'virsh nodedev-create' fails with out of memory error - Resolves: rhbz#510426 - Command 'virsh find-storage-pool-sources' failure unknown error - Resolves: rhbz#509979 --- libvirt.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libvirt.py') diff --git a/libvirt.py b/libvirt.py index 9ee36f2..56f90c8 100644 --- a/libvirt.py +++ b/libvirt.py @@ -975,14 +975,6 @@ class virConnect: __tmp = virDomain(self,_obj=ret) return __tmp - def createXML(self, xmlDesc, flags): - """Create a new device on the VM host machine, for example, - virtual HBAs created using vport_create. """ - ret = libvirtmod.virNodeDeviceCreateXML(self._o, xmlDesc, flags) - if ret is None:raise libvirtError('virNodeDeviceCreateXML() failed', conn=self) - __tmp = virNodeDevice(self, _obj=ret) - return __tmp - def createXML(self, xmlDesc, flags): """Launch a new guest domain, based on an XML description similar to the one returned by virDomainGetXMLDesc() This @@ -1163,6 +1155,14 @@ class virConnect: __tmp = virNetwork(self, _obj=ret) return __tmp + def nodeDeviceCreateXML(self, xmlDesc, flags): + """Create a new device on the VM host machine, for example, + virtual HBAs created using vport_create. """ + ret = libvirtmod.virNodeDeviceCreateXML(self._o, xmlDesc, flags) + if ret is None:raise libvirtError('virNodeDeviceCreateXML() failed', conn=self) + __tmp = virNodeDevice(self, _obj=ret) + return __tmp + def nodeDeviceLookupByName(self, name): """Lookup a node device by its name. """ ret = libvirtmod.virNodeDeviceLookupByName(self._o, name) -- cgit