Re: [AUTOTEST][KVM] [PATCH 1/2] Repair bug of creating kvm guest machine.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-04-29 at 15:59 +0200, JiÅÃ Åupka wrote:
> Access to undefined variable.

Applied, thanks!

> Signed-off-by: JiÅÃ Åupka <jzupka@xxxxxxxxxx>
> ---
>  client/virt/kvm_vm.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py
> index 5df8719..619a5f9 100644
> --- a/client/virt/kvm_vm.py
> +++ b/client/virt/kvm_vm.py
> @@ -405,6 +405,7 @@ class VM(virt_vm.BaseVM):
>                  device_id = vm.device_id[vlan]
>              except IndexError:
>                  netdev_id = None
> +                device_id = None
>              # Handle the '-net nic' part
>              try:
>                  mac = vm.get_mac_address(vlan)


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux