mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Automatically add the -no-kvm option if -icount is detected to help with the migration of ASA VMs created before version 1.4
This commit is contained in:
parent
a016c458a6
commit
b90df5806d
@ -657,6 +657,10 @@ class QemuVM(BaseVM):
|
|||||||
options = options.replace("-no-kvm", "")
|
options = options.replace("-no-kvm", "")
|
||||||
if "-enable-kvm" in options:
|
if "-enable-kvm" in options:
|
||||||
options = options.replace("-enable-kvm", "")
|
options = options.replace("-enable-kvm", "")
|
||||||
|
elif "-icount" in options:
|
||||||
|
# automatically add the -no-kvm option if -icount is detected
|
||||||
|
# to help with the migration of ASA VMs created before version 1.4
|
||||||
|
options = "-no-kvm " + options
|
||||||
self._options = options.strip()
|
self._options = options.strip()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user