Francesco Romani has uploaded a new change for review.

Change subject: vm: split out SLA settings from domDependentInit
......................................................................

vm: split out SLA settings from domDependentInit

Move into helper to modularize the Vm._domDependentInit()
method, with no intended change on behaviour

Change-Id: I9907a428b00d5851ece0037acfcc1ad72442ae46
Signed-off-by: Francesco Romani <[email protected]>
---
M vdsm/virt/vm.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/13/59813/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 6a3a7a8..3cd4aba 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -1895,6 +1895,9 @@
             with self._confLock:
                 self.conf['pid'] = str(self._getPid())
 
+        self._dom_init_sla()
+
+    def _dom_init_sla(self):
         nice = int(self.conf.get('nice', '0'))
         nice = max(min(nice, 19), 0)
 


-- 
To view, visit https://gerrit.ovirt.org/59813
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9907a428b00d5851ece0037acfcc1ad72442ae46
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to