From 30f29d00c4d3fa60b0722140fc31e209771709ad Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 14 Dec 2016 11:04:13 +0100 Subject: [PATCH] Fix hardware virtualization detection when an ethernet switch is running Fix https://github.com/GNS3/gns3-gui/issues/1722 --- gns3server/compute/dynamips/nodes/bridge.py | 1 + gns3server/compute/dynamips/nodes/device.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gns3server/compute/dynamips/nodes/bridge.py b/gns3server/compute/dynamips/nodes/bridge.py index 738122ce..4b76d2c7 100644 --- a/gns3server/compute/dynamips/nodes/bridge.py +++ b/gns3server/compute/dynamips/nodes/bridge.py @@ -107,5 +107,6 @@ class Bridge(Device): yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio)) self._nios.remove(nio) + @property def hw_virtualization(self): return False diff --git a/gns3server/compute/dynamips/nodes/device.py b/gns3server/compute/dynamips/nodes/device.py index 3097392d..c898e733 100644 --- a/gns3server/compute/dynamips/nodes/device.py +++ b/gns3server/compute/dynamips/nodes/device.py @@ -109,5 +109,6 @@ class Device: raise NotImplementedError + @property def hw_virtualization(self): return False