summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/virt/xenapi/vm_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index 64a479fe1..24ecaaeb0 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -322,7 +322,7 @@ def create_vdi(session, sr_ref, info, disk_type, virtual_size,
# hence information about instance may or may not be present
otherconf = {}
if not isinstance(info, basestring):
- name_label = info['display_name']
+ name_label = info['name']
otherconf = {'nova_instance_uuid': info['uuid'],
'nova_disk_type': disk_type}
else: