virt: Add 'extra' param to domstate function

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

virt: Add 'extra' param to domstate function