virttest.test_setup: Updates to the KSMConfig class

Signed-off-by: Fergus Yu <yumingfei@cn.fujitsu.com>