From 3ae7783360f9191a33dff70c4e236c0d97c79292 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 10 Aug 2021 15:41:05 +0930 Subject: [PATCH] Fix "-machine accel=tcg" check --- gns3server/api/routes/compute/qemu_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/api/routes/compute/qemu_nodes.py b/gns3server/api/routes/compute/qemu_nodes.py index 16a86091..30bb2eef 100644 --- a/gns3server/api/routes/compute/qemu_nodes.py +++ b/gns3server/api/routes/compute/qemu_nodes.py @@ -139,7 +139,7 @@ async def start_qemu_node(node: QemuVM = Depends(dep_node)) -> None: qemu_manager = Qemu.instance() hardware_accel = qemu_manager.config.settings.Qemu.enable_hardware_acceleration - if hardware_accel and "-no-kvm" not in node.options and "-no-hax" not in node.options: + if hardware_accel and "-machine accel=tcg" not in node.options: pm = ProjectManager.instance() if pm.check_hardware_virtualization(node) is False: pass # FIXME: check this