mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
Fixes replace errors. Fixes #284.
This commit is contained in:
parent
2ed0ef770e
commit
1419b7c8dc
@ -483,9 +483,9 @@ class QemuVM(BaseVM):
|
||||
|
||||
if not sys.platform.startswith("linux"):
|
||||
if "-no-kvm" in options:
|
||||
options = options.replace("-no-kvm")
|
||||
options = options.replace("-no-kvm", "")
|
||||
if "-enable-kvm" in options:
|
||||
options = options.replace("-enable-kvm")
|
||||
options = options.replace("-enable-kvm", "")
|
||||
self._options = options.strip()
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user