mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 04:47:54 +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", "")
|
||||
if "-enable-kvm" in options:
|
||||
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()
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user