diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-12-15 14:49:51 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-12-15 14:49:51 +0000 |
commit | 470140253b9fc1f572b71e7a4fea43877c7fb691 (patch) | |
tree | 6cf0cbc615f371f49367243a1be89bcf14798dcc /libvirt.py | |
parent | 8e00488f1334e5acb01ca9bac5b4f73a6565d48a (diff) | |
download | libvirt-python-v6-470140253b9fc1f572b71e7a4fea43877c7fb691.tar.gz libvirt-python-v6-470140253b9fc1f572b71e7a4fea43877c7fb691.tar.xz libvirt-python-v6-470140253b9fc1f572b71e7a4fea43877c7fb691.zip |
libvirt-0.6.3-25.el5libvirt-0.6.3-33.el5_5.3libvirt-0.6.3-33.el5_5.2libvirt-0.6.3-33.el5.5.1libvirt-0.6.3-33.el5libvirt-0.6.3-32.el5libvirt-0.6.3-31.el5libvirt-0.6.3-30.el5libvirt-0.6.3-29.el5libvirt-0.6.3-28.el5libvirt-0.6.3-27.el5libvirt-0.6.3-26.el5libvirt-0.6.3-25.el5RHEL-5.5
- 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.py | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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) |