virt: Add new_from_inactive_dumpxml to get domain's configuration

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>