virttest.test_setup: Updates to the KSMConfig class

Signed-off-by: Fergus Yu <yumingfei@cn.fujitsu.com>
Merge pull request #1411 from autotest/1232

virttest.test_setup: Updates to the KSMConfig class