Fix: Reading huge pages information during Qemu start 65/4065/3
authorpmikus <pmikus@cisco.com>
Fri, 2 Dec 2016 07:15:22 +0000 (08:15 +0100)
committerJan Gelety <jgelety@cisco.com>
Fri, 2 Dec 2016 11:36:16 +0000 (11:36 +0000)
commit176eda8bf7775a2c761a6544ab932c2bc59dfa57
treed6b80ae6f474bb4ecf777d54269db2590b28509c
parentccff0994332c66eb8b0e2d62a7de8b14adab1fe3
Fix: Reading huge pages information during Qemu start

Reading information from sysfs or proc files is randomly failing
returning empty string without any error.
This fix suppose to add the retries to read the hugepages
information multiple times and raise exception if reading failed.

Change-Id: I7c88504765c39b11c81f7a8e77e5b0e32b7225fe
Signed-off-by: pmikus <pmikus@cisco.com>
resources/libraries/python/QemuUtils.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.