commit | 953ffbab4dd2f5ab3e9725c6aa6d91c28f3b2caf | [log] [tgz] |
---|---|---|
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Jul 27 13:20:10 2009 +0000 |
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Jul 27 13:20:10 2009 +0000 |
tree | 1430800f110ff60b8ff694fb4015e75abb43e0f9 | |
parent | b003d4d7b9f65b83778e45c62e39b3e4f4533bc0 [diff] |
KVM test: initialize some VM attributes in __init__() to prevent trouble 'redirs' and 'vnc_port' might be used before they're defined, if make_qemu_command() is called before create(). To make sure this doesn't happen, define them in the VM constructor. Signed-off-by: Michael Goldish <mgoldish@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3444 592f7852-d20e-0410-864c-8624ca9c26a4