255
255
mem_avail = mem_total - mem_used
256
256
mem_inst = instance_ref['memory_mb']
257
257
if mem_avail <= mem_inst:
264
262
def mounted_on_same_shared_storage(self, context, instance_ref, dest):
265
263
"""Check if the src and dest host mount same shared storage.