virt: Add functions to get/set cpu status

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #1712 from liyangfnst/cpu_enable

virt: Add a func to enable/disable cpu