mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Some spring cleaning.
This commit is contained in:
1 parent
1c4202187a
commit
7d7972afb3
62 files changed
+459
-363
No files matched your search
@@ -32,14 +32,15 @@ from .qemu_vm import QemuVM
|
||||
|
||||
|
||||
class Qemu(BaseManager):
|
||||
|
||||
_VM_CLASS = QemuVM
|
||||
|
||||
@staticmethod
|
||||
def binary_list():
|
||||
"""
|
||||
Gets QEMU binaries list available on the matchine
|
||||
Gets QEMU binaries list available on the host.
|
||||
|
||||
:returns: Array of dictionnary {"path": Qemu binaries path, "version": Version of Qemu}
|
||||
:returns: Array of dictionary {"path": Qemu binary path, "version": version of Qemu}
|
||||
"""
|
||||
|
||||
qemus = []
|
||||
@@ -82,7 +83,8 @@ class Qemu(BaseManager):
|
||||
def _get_qemu_version(qemu_path):
|
||||
"""
|
||||
Gets the Qemu version.
|
||||
:param qemu_path: path to Qemu
|
||||
|
||||
:param qemu_path: path to Qemu executable.
|
||||
"""
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
|
||||
Reference in new issue
Block a user