1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +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:
grossmj 2015-09-18 15:40:56 -06:00
parent a016c458a6
commit b90df5806d

View File

@ -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