diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-14 17:16:58 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-14 17:16:58 +0000 |
| commit | a6e1399dfb7ffc411876b537ad5a9b80122feacc (patch) | |
| tree | 15466b8124d5bc53d3ffe29626887b2ad054d6cb /nova | |
| parent | 1dfcd8e6cdd58a0737a8667f8d2b18190527657a (diff) | |
nothing
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/xenapi/vm_utils.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index 2c20e33ac..975711253 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -196,7 +196,11 @@ class VMHelper(): #TODO: Call proper function in plugin task = yield session.async_call_plugin('objectstore', fn, args) logging.debug("Waiting for task completion") - pv=yield session.wait_for_task(task) + pv_str=yield session.wait_for_task(task) + if pv_str.lower() == 'true': + pv=True + elif pv_str.lower() == 'false': + pv=False logging.debug("PV Kernel in VDI:%d",pv) defer.returnValue(pv) |
