mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
python: Document virNodeGetInfo bug
The memory size in virNodeGetInfo python API binding is reported in MiB instead of KiB (like we have in C struct). However, there already might be applications out there relying on this inconsistence so we can't simply fix it. Document this sad fact as known bug.
This commit is contained in:
parent
b3f6f8ba19
commit
f113ce611b
@ -100,7 +100,7 @@
|
|||||||
<arg name='flags' type='unsigned int' info='flags, currently unused, pass 0.'/>
|
<arg name='flags' type='unsigned int' info='flags, currently unused, pass 0.'/>
|
||||||
</function>
|
</function>
|
||||||
<function name='virNodeGetInfo' file='python'>
|
<function name='virNodeGetInfo' file='python'>
|
||||||
<info>Extract hardware information about the Node.</info>
|
<info>Extract hardware information about the Node. Note that the memory size is reported in MiB instead of KiB.</info>
|
||||||
<return type='char *' info='the list of information or None in case of error'/>
|
<return type='char *' info='the list of information or None in case of error'/>
|
||||||
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
|
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
|
||||||
</function>
|
</function>
|
||||||
|
Loading…
Reference in New Issue
Block a user