From 038ca9b2ab78b3ea928687afe98eaefa138c5c37 Mon Sep 17 00:00:00 2001 From: Rafi Khardalian Date: Thu, 10 Jan 2013 20:26:55 -0800 Subject: [PATCH] Fix libvirt resume function call to get_domain_xml Fixes bug 1098411 block_device_info was always being passed as None, which was a mistake I introduced with a prior patch. Change-Id: If4fe99e4716c193126b0a525378b51ea5801bdfe --- nova/virt/libvirt/driver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 66bd3bdaf6a7..1e087e61a283 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -967,8 +967,7 @@ class LibvirtDriver(driver.ComputeDriver): @exception.wrap_exception() def resume(self, instance, network_info, block_device_info=None): """resume the specified instance.""" - xml = self._get_domain_xml(instance, network_info, - block_device_info=None) + xml = self._get_domain_xml(instance, network_info, block_device_info) self._create_domain_and_network(xml, instance, network_info, block_device_info)