From 92150fba71b0ced3c905088b43d5f38780d6a56a Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 24 Aug 2021 17:26:06 +0930 Subject: [PATCH] Fix incorrect Qemu binary selected when importing template. Fixes https://github.com/GNS3/gns3-gui/issues/3216 --- gns3server/compute/qemu/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gns3server/compute/qemu/__init__.py b/gns3server/compute/qemu/__init__.py index bca490cc..be834425 100644 --- a/gns3server/compute/qemu/__init__.py +++ b/gns3server/compute/qemu/__init__.py @@ -152,8 +152,6 @@ class Qemu(BaseManager): log.debug("Searching for Qemu binaries in '{}'".format(path)) try: for f in os.listdir(path): - if f.endswith("-spice"): - continue if (f.startswith("qemu-system") or f.startswith("qemu-kvm") or f == "qemu" or f == "qemu.exe") and \ os.access(os.path.join(path, f), os.X_OK) and \ os.path.isfile(os.path.join(path, f)):