KVM: implement GetShellCommandForConsole
This is a class method, because it calls _InstanceSerial, which is another class method. The patch changes it to classmethod for all the hypervisor classes. Reviewed-by: iustinp
Showing
- lib/hypervisor/hv_base.py 2 additions, 2 deletionslib/hypervisor/hv_base.py
- lib/hypervisor/hv_fake.py 2 additions, 2 deletionslib/hypervisor/hv_fake.py
- lib/hypervisor/hv_kvm.py 14 additions, 4 deletionslib/hypervisor/hv_kvm.py
- lib/hypervisor/hv_xen.py 2 additions, 2 deletionslib/hypervisor/hv_xen.py
Loading
Please register or sign in to comment