[virt-tools-list] [PATCH virt-manager 14/14] domain: add docstring for _convert_old_boot_order
Marc Hartmayer
mhartmay at linux.ibm.com
Tue Dec 18 13:45:03 UTC 2018
Signed-off-by: Marc Hartmayer <mhartmay at linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
---
virtManager/domain.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/virtManager/domain.py b/virtManager/domain.py
index 2de75403e151..226e7f71b618 100644
--- a/virtManager/domain.py
+++ b/virtManager/domain.py
@@ -1258,6 +1258,10 @@ class vmmDomain(vmmLibvirtObject):
return self.get_xmlobj().cpu
def _convert_old_boot_order(self):
+ """Converts the old boot order (e.g. <boot dev='hd'/>) into the
+ per-device boot order format.
+
+ """
boot_order = self._get_old_boot_order()
ret = []
disk = None
--
2.17.0
More information about the virt-tools-list
mailing list