mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-12 17:10:55 +00:00
Fix hardware virtualization detection when an ethernet switch is running
Fix https://github.com/GNS3/gns3-gui/issues/1722
This commit is contained in:
parent
81a9b63dbc
commit
30f29d00c4
@ -107,5 +107,6 @@ class Bridge(Device):
|
|||||||
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
||||||
self._nios.remove(nio)
|
self._nios.remove(nio)
|
||||||
|
|
||||||
|
@property
|
||||||
def hw_virtualization(self):
|
def hw_virtualization(self):
|
||||||
return False
|
return False
|
||||||
|
@ -109,5 +109,6 @@ class Device:
|
|||||||
|
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
@property
|
||||||
def hw_virtualization(self):
|
def hw_virtualization(self):
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user