LGTM, thanks
On Thu, Jan 24, 2013 at 5:24 PM, Michael Hanselmann <[email protected]>wrote: > --- > lib/hypervisor/hv_xen.py | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/lib/hypervisor/hv_xen.py b/lib/hypervisor/hv_xen.py > index 1c05814..3dc9355 100644 > --- a/lib/hypervisor/hv_xen.py > +++ b/lib/hypervisor/hv_xen.py > @@ -490,6 +490,12 @@ class XenHypervisor(hv_base.BaseHypervisor): > if name is None: > name = instance.name > > + return self._StopInstance(name, force) > + > + def _StopInstance(self, name, force): > + """Stop an instance. > + > + """ > if force: > action = "destroy" > else: > -- > 1.8.1 > > --
