virt: Modify libvirtd control with service module

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>

Modify service control function, and it can suit all actions.
Relational pullreq is:
https://github.com/autotest/autotest/pull/699