diff --git a/virtualmachine.py b/virtualmachine.py index 26cdd40..74074cc 100755 --- a/virtualmachine.py +++ b/virtualmachine.py @@ -283,7 +283,7 @@ def launch_vm(vm_entry, migration=False, migration_port=None, destination_host_k vm_entry.declare_killed() vm_pool.put(vm_entry) else: - vm_entry.vnc_socket = vm.vnc_socket_file + vm_entry.vnc_socket = vm.vnc_socket_file.name running_vms.append(vm) if migration: