diff options
| author | Dan Prince <dprince@redhat.com> | 2012-05-09 16:33:57 -0400 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-05-09 16:37:37 -0400 |
| commit | d879dc9e0d28aa203426729c6cfea48bdbfa3cfd (patch) | |
| tree | 94fc8caface082c65ec07afe0ad4835c3484399b /nova/openstack | |
| parent | 27873b4196a359e8d7101ff4da0785e4dd8787ab (diff) | |
Avoid unnecessary inst lookup in vmops _shutdown.
Updates the XenServer vmops.py _shutdown function so that it
avoids calling get_info/_get_vm_opaque_ref with the instance name.
Since _shutdown already has the vm_ref there is no need to make
this call.
This fixes an issue where 'RESIZE' was broken when resizing to
the same host.
Fixes LP Bug #997313.
Change-Id: Ic5a1a0f92df9a2b809aef20a250843bf48402d75
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
