Re: [Autotest] [KVM-AUTOTEST PATCH 16/17] KVM test: initialize some VM attributes in __init__() to prevent trouble

2009-07-27 Thread Lucas Meneghel Rodrigues
On Mon, Jul 20, 2009 at 12:07 PM, Michael Goldishmgold...@redhat.com wrote: '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. Applied. Signed-off-by: Michael

[KVM-AUTOTEST PATCH 16/17] KVM test: initialize some VM attributes in __init__() to prevent trouble

2009-07-20 Thread Michael Goldish
'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 mgold...@redhat.com --- client/tests/kvm/kvm_vm.py |2 ++ 1 files changed, 2