diff options
| author | Peter Krempa <pkrempa@redhat.com> | 2016-09-19 13:54:37 +0200 |
|---|---|---|
| committer | Peter Krempa <pkrempa@redhat.com> | 2016-09-19 17:19:43 +0200 |
| commit | 0061566872ed3fdf7b0ec101c20d3ddb78093a06 (patch) | |
| tree | b29d0f8828ecc96a0506516ff59db5ef19f8643f /NEWS | |
| parent | 3e041e5b36b27f047323e9c07989f60a79780266 (diff) | |
| download | libvirt-python-2.3.0.tar.gz | |
override: Properly override wrapper for virDomainGetGuestVcpusv2.3.0
Without the change to libvirt-override-api.xml generator.py would
generate the following function header:
def guestVcpus(self, params, nparams, flags=0):
Since @params and @nparams are output-only in C and the python C
implementation actualy creates a dict from them we should not need to
pass them. Add the API definition to drop the two unnecessary args:
def guestVcpus(self, flags=0):
The code did not work at all until this change as the C impl expects
only two arguments but the python required use of four.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1377071
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions
