News for hackers. Stuff that matters.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by darkwater on Sunday July 18, 2021 @03:52AM (#27871421)
why don't you go the other way round, Windows native ane WSL2? Beside wanting to hack and learn things, obviouvsly.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by pizza234 on Sunday July 18, 2021 @04:52AM (#27871610)
This is an interesting question, since it's actually the underlying strategy of Microsoft (I don't imply it's a wrong thing).

My personal motivation is that Linux power users will miss the control, or at least, customizability, of the operating system, which is something Linux does, and Windows doesn't (as they have different targets).

Also, not to be underestimated, security (although for me it's only a very small factor).

Re:Looking Glass: Run a Windows VM on Linux in a window with... by namibj on Sunday July 18, 2021 @07:24AM (#27872102)
WSL2 doesn't support hardware perf counters, which means `perf` and `rr` won't work.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by zaptheimpaler on Sunday July 18, 2021 @03:55AM (#27871432)
Tried WSL, was buggy and had some issues with filesystem performance i think. I prefer having a 100% real linux & windows OSes that just work over slightly buggy workarounds. Plus i also host a lot of homeserver services (media server, SMB server, postgres db etc) on the linux host and its cleaner having those run on the host. If i want to do something very demanding on the host for example I can shutdown the VM.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by kohlerm on Sunday July 18, 2021 @06:18AM (#27871866)
WSL2 is using a real Linux kernel with almost no limitations. But it doesn't pass through the GPU. Therefore graphical applications are relatively slow.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by hutrdvnj on Sunday July 18, 2021 @04:36AM (#27871565)
Wouldn't it be easier to have 2 devices, one specifically designed for gaming and one running 24/7 for home server services. A cheap used Thinkpad could be used as linux device so it doesn't have to be expensive. Plus if you value your own time and effort you have to put in for your current setup, then it might actually be cheaper.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by pizza234 on Sunday July 18, 2021 @04:56AM (#27871621)
It depends on what do you mean with "easier".

Technically speaking, for machines where VFIO works, there is no maintenance, and the setup can be easy (excluding one significant issue due to a specific linux kernel upgrade, my VFIO setup procedure has been essentially the same for years, on multiple machines).

So, assuming that VFIO setup setup/maintenance is very easy, having a second machine is just redundant.

One convenience not to forget is safety. If a Windows VM gets infected for whatever reasons, rolling back the system is performed by literally deleting one file.

Re:Looking Glass: Run a Windows VM on Linux in a window with... by z3t4 on Sunday July 18, 2021 @06:56AM (#27872002)
You basically just need an extra gfx card (or even headless host). And why would you not want a fast Linux OS? Many SSD's and lots of RAM to make the IDE fast. Powerful CPU for compiling. Good GFX for better latency/hz.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by zaptheimpaler on Sunday July 18, 2021 @02:21PM (#27875153)
It might, but I am cheap :) and i like to run heavy workloads on the home server/devbox as well which would take a well specced $700-800 PC.