virttest: fix save_to_file time when use qmp monitor

If vm used qmp monitor info migrate command will return a object, then
 check migrated complete will always timeout.Used regular expression to
check command output and raise TestFail if check migrated timeout;

Signed-off-by: Xu Tian <xutian@redhat.com>