summaryrefslogtreecommitdiffstats
path: root/scripts/coverity-model.c
diff options
context:
space:
mode:
authorZhiPeng Lu2017-11-03 15:54:20 +0100
committerMichael Roth2017-11-20 21:45:31 +0100
commitdf83eabd5245828cbca32060aa191d8b03bc5d50 (patch)
tree1488690323964cf35f290b8898c308c04e69da2d /scripts/coverity-model.c
parentMerge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.11-20171120' int... (diff)
downloadqemu-df83eabd5245828cbca32060aa191d8b03bc5d50.tar.gz
qemu-df83eabd5245828cbca32060aa191d8b03bc5d50.tar.xz
qemu-df83eabd5245828cbca32060aa191d8b03bc5d50.zip
qga: replace GetIfEntry with GetIfEntry2 for interface stats
The data obtained by GetIfEntry is 32 bits, and it may overflow. Thus using GetIfEntry2 instead of GetIfEntry. Signed-off-by: ZhiPeng Lu <lu.zhipeng@zte.com.cn> *avoid CamelCase variable names *update field names for MIB_IFROW -> MIB_IF_ROW2 *dynamically probe for GetIfIndex2 to deal with older OSs *check return value from get_interface_index Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'scripts/coverity-model.c')
0 files changed, 0 insertions, 0 deletions