1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-13 17:40:54 +00:00

Qemu user options are at the end. It's allow user to add his own net

interfaces
This commit is contained in:
Julien Duponchelle 2015-08-27 18:46:02 +02:00
parent d853ffe791
commit b1ef49672e

View File

@ -1411,14 +1411,14 @@ class QemuVM(BaseVM):
else: else:
raise QemuError("Console type {} is unknown".format(self._console_type)) raise QemuError("Console type {} is unknown".format(self._console_type))
command.extend(self._monitor_options()) command.extend(self._monitor_options())
command.extend(self._network_options())
command.extend(self._graphic())
additional_options = self._options.strip() additional_options = self._options.strip()
if additional_options: if additional_options:
try: try:
command.extend(shlex.split(additional_options)) command.extend(shlex.split(additional_options))
except ValueError as e: except ValueError as e:
raise QemuError("Invalid additional options: {} error {}".format(additional_options, e)) raise QemuError("Invalid additional options: {} error {}".format(additional_options, e))
command.extend(self._network_options())
command.extend(self._graphic())
return command return command
def __json__(self): def __json__(self):