mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Qemu user options are at the end. It's allow user to add his own net
interfaces
This commit is contained in:
parent
d853ffe791
commit
b1ef49672e
@ -1411,14 +1411,14 @@ class QemuVM(BaseVM):
|
||||
else:
|
||||
raise QemuError("Console type {} is unknown".format(self._console_type))
|
||||
command.extend(self._monitor_options())
|
||||
command.extend(self._network_options())
|
||||
command.extend(self._graphic())
|
||||
additional_options = self._options.strip()
|
||||
if additional_options:
|
||||
try:
|
||||
command.extend(shlex.split(additional_options))
|
||||
except ValueError as e:
|
||||
raise QemuError("Invalid additional options: {} error {}".format(additional_options, e))
|
||||
command.extend(self._network_options())
|
||||
command.extend(self._graphic())
|
||||
return command
|
||||
|
||||
def __json__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user