KVM-test: Move two 'remote_login' out of try block in kvm_vm.py

'self.remote_login()' should be outside of try block.

And as suggested by Michael, we need fix the problem that if self.remote_login() fails,
session will be None.

Signed-off-by: Yolkfull Chow <yzhou@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4135 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed