KVM: only export instance tags if present
authorGuido Trotter <ultrotter@google.com>
Fri, 7 May 2010 13:03:57 +0000 (15:03 +0200)
committerGuido Trotter <ultrotter@google.com>
Fri, 7 May 2010 13:14:07 +0000 (15:14 +0200)
commit1cc831eaf0935e72eae3aee8a8669779d04f4d8d
tree2d9a4b5913506d94c53c5b245b17f85307ee9751
parentace6cbe855c861f3e5c7c01a9433a8fdef168f66
KVM: only export instance tags if present

Currently non-tagged instances fail starting with a TypeError.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
lib/hypervisor/hv_kvm.py