diff options
author | Stanislav Brabec | 2017-01-30 17:01:50 +0100 |
---|---|---|
committer | Karel Zak | 2017-01-31 12:28:32 +0100 |
commit | 7572fb2b8cb69512ca230b7fcfa11577526843f4 (patch) | |
tree | 4dc002588436a9427e99937efcd46320c79c7991 /sys-utils/fallocate.1 | |
parent | fstrim: de-duplicate btrfs sub-volumes (diff) | |
download | kernel-qcow2-util-linux-7572fb2b8cb69512ca230b7fcfa11577526843f4.tar.gz kernel-qcow2-util-linux-7572fb2b8cb69512ca230b7fcfa11577526843f4.tar.xz kernel-qcow2-util-linux-7572fb2b8cb69512ca230b7fcfa11577526843f4.zip |
lscpu: Detect Windows Subsystem for Linux
Windows 10 implements Windows Subsystem for Linux (WSL).
WSL does not implement support for SIGSEGV handler, which is used inside
is_vmware_platform(). As a result, lscpu crashes there.
Implement WSL detection, and as a side effect, work around the crash.
Note that none of existing virtualization types exactly matches.
But the the closest would be "container".
References:
Provide a way to positively detect WSL from an app compiled on Linux.
https://github.com/Microsoft/BashOnWindows/issues/423
missing support for SIGSEGV handler
https://github.com/Microsoft/BashOnWindows/issues/1637
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'sys-utils/fallocate.1')
0 files changed, 0 insertions, 0 deletions