-
Notifications
You must be signed in to change notification settings - Fork 284
Disabled virtualization check on Linux platforms #3949
Conversation
This change skips the virtualization check on Linux systems, always returning positive support status.
if is_windows(): | ||
if is_linux(): | ||
# Virtualization support is not required to run Golem on Linux. | ||
return True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Virtualization is not enabled per se, it's simply not required. I'd treat this fix as temporary. Maybe this call should be simply skipped by the UI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, hence the comment I left there. Another option would be to change this RPC / create a new one specific to the use case (i.e. checking for Docker support).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with mfranciszkiewicz. This change makes a weird exception to the simple question "is virtualization enabled?". Instead of complicating the answer, we should fix GUI which asks the wrong question.
@shadeofblue: what's your take on this? |
sigh... okay @zakaprov please change the name of the function to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## develop #3949 +/- ##
===========================================
+ Coverage 87.77% 87.81% +0.03%
===========================================
Files 216 216
Lines 18977 18979 +2
===========================================
+ Hits 16658 16666 +8
+ Misses 2319 2313 -6 |
…zation Cherry pick of: Disabled virtualization check on Linux (#3949)
Resolves: #3937
This change skips the virtualization check on Linux systems, always returning positive support status.