summaryrefslogtreecommitdiffstats
path: root/libvirt.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-12-15 14:49:51 +0000
committerDaniel Veillard <veillard@redhat.com>2009-12-15 14:49:51 +0000
commit470140253b9fc1f572b71e7a4fea43877c7fb691 (patch)
tree6cf0cbc615f371f49367243a1be89bcf14798dcc /libvirt.py
parent8e00488f1334e5acb01ca9bac5b4f73a6565d48a (diff)
downloadlibvirt-python-v6-libvirt-0.6.3-29.el5.tar.gz
libvirt-python-v6-libvirt-0.6.3-29.el5.tar.xz
libvirt-python-v6-libvirt-0.6.3-29.el5.zip
- 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
Diffstat (limited to 'libvirt.py')
-rw-r--r--libvirt.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/libvirt.py b/libvirt.py
index 9ee36f2..56f90c8 100644
--- a/libvirt.py
+++ b/libvirt.py
@@ -976,14 +976,6 @@ class virConnect:
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
function may requires privileged access to the hypervisor.
@@ -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)