summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2013-03-20 11:43:41 +0100
committerPeter Krempa <pkrempa@redhat.com>2013-03-21 12:32:03 +0100
commita5036ccfd634186c57202c7f49c4eb6703911220 (patch)
treeb85f01fe969c7e57a16daab6f7013366f68e6a6b /generator.py
parent48c23ca1f14b8cfe6ab52138f9ba5835198288be (diff)
downloadlibvirt-python-split-a5036ccfd634186c57202c7f49c4eb6703911220.tar.gz
libvirt-python-split-a5036ccfd634186c57202c7f49c4eb6703911220.tar.xz
libvirt-python-split-a5036ccfd634186c57202c7f49c4eb6703911220.zip
python: Fix emulatorpin API bindings
The addition of emulator pinning APIs didn't think of doing the right job with python APIs for them. The default generator produced unusable code for this. This patch switches to proper code as in the case of domain Vcpu pining. This change can be classified as a python API-breaker but in the state the code was before I doubt anyone was able to use it successfully.
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index d269e88..986324a 100755
--- a/generator.py
+++ b/generator.py
@@ -418,6 +418,8 @@ skip_impl = (
'virDomainPinVcpu',
'virDomainPinVcpuFlags',
'virDomainGetVcpuPinInfo',
+ 'virDomainGetEmulatorPinInfo',
+ 'virDomainPinEmulator',
'virSecretGetValue',
'virSecretSetValue',
'virSecretGetUUID',