288 points · by poisonborz · 6y ago · 231 comments
Such a logo program could provide OEMs with a test suite for Hyper-V with Linux hardware drivers, which means Microsoft could start contributing test cases to upstream Linux projects like CKI.
Most importantly, a Hyper-V for Linux logo qualification program could require that OEM/ODMs pass HHQL before shipping supported hardware, when they still have engineering resources allocated for system and device firmware fixes.
In short, Hyper-V for Linux has the potential for positive ripple effects throughout the supply chain for Linux "secured core" hardware. When combined with WSL2, Direct X paravirtualized graphics for Linux, and Azure Sphere (based on OpenEmbedded/Yocto), it's a major endorsement for Linux and the flexibility of Type-1, CPU-assisted virtualization pioneered by open-source Xen.
The Microsoft Linux license for IoT/embedded devices includes support for 10+ years of security updates, which will hopefully extend OEM firmware support timelines for edge hardware, https://www.platformsecuritysummit.com/2019/speaker/seay/
> This talk will cover ... device security from the chip to the Linux kernel, user application isolation, network communication, cloud interaction, and what it takes to keep a system secure for 13 years.
Given Xen is battle tested at scale and k8s/etc for microservices, why bother to learn to manage this?
Even if primarily adopted by existing Microsoft customers familiar with Hyper-V, this would benefit Xen, KVM and any Linux distro running on the same hardware targets.
If a theoretical HHQL motivates OEMs to prove that Linux drivers work in a Hyper-V root partition on new hardware, with driver fixes upstreamed to the Linux mainline kernel, then everyone wins.
There is also ongoing work for nested virtualization, to enable KVM, Xen or Hyper-V to be a bare-metal (L0) or a nested (L1) hypervisor, e.g. in a cloud environment where the bare-metal hypervisor cannot be changed by customers.
These interoperability improvements increase hardware support for hypervisors, which can then compete at multiple architectural layers. Users can choose based on optimization of the HL0-HL1-VM-App stack which works best for their specific workload.
This sounds promising, something closer to OSX would give apple competition for devs like myself that want a linux based system and a fluffy "it-just-works" gui
No, don't. That seems to be what they want. It's not about running linux apps on Windows. It's about blending the two so that even Linux apps are dependent on Microsft APIs and such. What is the point of bringing native DX12 to linux if not that? BTW they floated that a while back and the kernel folks said no.
It's the "extend" phase they are in now. Once they extend linux and you jump on with that gui, then the work to extinguish the other options, or just dont care because they get to take in money for every user of MS/linux hybrid.
This is painfully obvious and a bunch of people on here are saying "STFU" unless you have proof of their intentions, which is a stupid argument given the history and current efforts to "extend".
Oh, easy: it’s so games written for DX12 on Windows—that are currently run on Linux using Wine—can have a direct, low-overhead GPU driver path, rather than Wine needing to translate DX12 calls into OpenGL/Vulkan calls first.
Of course, if you’re a game-engine developer, you know you can achieve the same by just writing your engine to target Vulkan instead of DX12.
But if you’re e.g. Steam, you’d love to see more games “automatically made” multi-platform (with comparable performance), so that you can sell them to your Linux userbase.
Microsoft themselves are—maybe surprisingly—in the same boat as Steam here. The various game studios they own publish multi-platform games. Those platforms don’t necessarily include Linux, but they do often include Android. And merging code into the upstream Linux kernel is one way to get it to appear in Android.
—————
This change would also allow the graphics of Linux programs running in a VM on Windows to be accelerated through virtualization (i.e. having the X/Wayland server on Linux act as a Windows DX12 client.) It’s analogous to the reason that some VM software offers special-purpose “host-guest filesystem” drivers to the guest, that allows the guest to just pass through filesystem requests at a high level, rather than needing a virtual block device or a networked-filesystem protocol.
This is the reason Microsoft themselves offered. I feel like there’s a lot more money on being able to easily port Windows games to Android, though.
>> Oh, easy: it’s so games written for DX12 on Windows—that are currently run on Linux using Wine
And why does Microsoft give two shits about that?
Microsoft proprietary APIs are not and can not be part of a free software platform, that is a contradiction. They can be part of a new MS-Linux platform masquerading as the real thing until support for the real thing dries up.
Oh my god, the horror. Are you suggesting that I could, I dare to think it, pay Microsoft some money for a working operating system that meets all of my needs? Someone needs to call the EU and get this shut down, this is unacceptable behavior.
Look, this fear out of the linux community is why I'm hesitant to immerse myself in it. Lets say I decide to build a linux app that is dependent on Microsoft APIs, as you fear: what's stopping you from just not using it? If Microsoft allows this, and we're legal with the licensing, what gives you the right to (1) control how I build the software I want to build, and (2) control what kinds of software my users want to use?
Well, I think if we dig deep enough, the reason is some variant of "because then developers will take the easy route and use the generally pretty good and well supported Microsoft APIs, and the open linux APIs will flounder". Which is a weird combination of 'not invented here' and self-loathing from the linux community that is startlingly unhealthy. Microsoft is making an effort toward openness and interoperability here; we can argue their intentions all day, maybe they're good or bad, but its (some members of) the linux community who's saying "no, we don't want to be open, we want to live in Linux world and pretend like no one else exists." Sounds a lot like 90s-00s Microsoft.
And what's the worst case scenario? Microsoft suddenly removes their mask and admits they were the evildoer we all feared them to be, like a scooby-doo villain? Ok? They tried pulling that with the browser ecosystem, and Office, and Java, and the world is still spinning. Linux is healthier than ever.
You are free to do that now. Maybe Linux meets your needs, or maybe Windows, or something else.
>> Lets say I decide to build a linux app that is dependent on Microsoft APIs, as you fear: what's stopping you from just not using it? If Microsoft allows this, and we're legal with the licensing, what gives you the right to (1) control how I build the software I want to build, and (2) control what kinds of software my users want to use?
Nothing gives me that right. The problem isn't about you or your users. The problem is that longer term, developers like that end up using MS APIs on Linux and then all Linux users are forced to use MS APIs and we all end up paying for it. I don't pay MS anything these days, I use Apple and Linux systems and I don't want MS and other developers to ruin one of my options.
Fortunately the Linux Kernel folks are well aware of this type of thing and don't allow GPL licensed shims that serve no purpose other than supporting proprietary binary blobs.
It's even more stupid when you consider that microsoft is going in the data collection business like facebook/google/etc. Not just their ever expanding "telemetry", taking more and more control away from the users but their acquisitions like linkedin, github, etc ( which are fundamentally data extraction companies ).
The amount of "love" microsoft/bill gates/etc gets here is rather disappointing. I'm sure it's part paid PR and partly people making a living on the windows/microsoft stack, but still sad.
Billionaires are evil, but don't you dare say anything bad about saint gates. He is here to save the world. Eerie. Facebook, google, etc are evil and people should stop using it, but I need microsoft in my life. Strange.
No, The OS is not their main money maker anymore. Even the team designing the windows OS has become much smaller ( inside sources). The focus is on the money maker - Cloud.
You can't also have Omnigraffle for Windows, yet nobody would say Windows doesn't work for that reason.
And the VMs are nicely contained, disk volumes can have copy-on-write snapshots, and the volumes can even be made immutable - you shut the VM down and, when you restart, it's back to its immutable state. This is becoming less than practical thanks to various self-updating things - you need to make them mutable, let the self-updates happen and then you can make them immutable again. Otherwise they'll self update a lot on every boot.
not the same but you have Office 365 that does a reasonable job for most documents out there.
On the other hand, not having Office is kind of a feature, it makes you learn better tools :)
My exotic hardware can only run on linux (wifi hacking dongles, SDR bits, very old data devices). One of the big reasons I switched to linux as a kid was so that I could play around with tools that windows hates, like enabling monitor mode on a wifi card.
Never have I seen lack of hardware support on windows. I think that’s the essence of “just works” here.
I can. I have a laptop with a high-DPI screen. It can output to a second monitor. Setting that second monitor up is relatively easy (though not as simple as it is on Windows or Mac), though getting the desktop to play nicely with a high-DPI screen and a non-highDPI screen doesn't just work. It basically becomes unusable at that point. The laptop was sold with Linux installed by default.
> but the truth is that you can run into driver problems and issues too when running operating systems you pay money for, like Windows.
Yes. Though, I haven't had that problem in years. And when I last had that problem, my solution was literally just upgrading the driver.
Listen, I've hand coded XFree86 config files back in the day to get three monitors up and running on a Slackware system. It's gotten better. But it doesn't "just work."
I think there's something to be said for the consistent experience that Apple and Microsoft achieve by being the arbiter of their entire stack.
I switched from macOS to Linux. GNOME and others are pretty good these days. I did try Windows + WSL2 out of curiosity, but my brain is just fundamentally incompatible with non-unix systems. Moreover, I was really annoyed that when Windows installed drivers automatically, it also installed a lot of Realtek and Intel crapware with it. Why?
It would be really nice though if Microsoft could make a Linux version of Office (even if it was just Wine-based), because the web version is too limited. Oh, and the Affinity suite would be nice as well ;).
A minimal version of Windows along with a good package manager and a UX closer to Windows 2000 (or at least without the whole Control Panel / Settings App confusion) would be amazing.
I have to say I find the settings / control panel dichotomy issue overblown. I rarely need to go into control panel anymore, and pretty much never without it being a clickthrough from the new settings app.
You’d have to ask the driver developers. In my experience though, that crapware is the only way to configure the hardware since config files aren’t a thing in Windows.
I think there are pros and cons. PulseAudio could possibly be half the incomprehensible monstrosity that it is if it didn't have to take over the responsibilities of every audio driver out there. On the other hand, Realtek will arbitrarily disable/hide features with no way (that I've found) to do anything about as a user.
Technically, they could make these features separate and configurable from Windows sound effects options for the recording or playback device...
I've migrated from MBP to Win10 WSL three months ago and it's like a breath of fresh air for general $DayJob backend CRUD-like work. I'd still prefer a Linux laptop, but WSL is so much closer to a real Linux box.
I don't think I touched PowerShell or any .BAT stuff even once.
Virtual box is a better experience if you wanna run Linux on windows IMO.
The work in TFA describes patches to make the Linux kernel communicate with the hypervisor (sharing information like used memory pages). In my book that's pretty sophisticated.
EDIT: The work appears to be available on Github https://github.com/microsoft/WSL2-Linux-Kernel/commits/linux...
AFAIK, there's no way to achieve anything like this on macOS.
If you have to develop for Windows then that's of course another matter.
Of course I keep a few separate Windows PCs around to do things that Windows can only do (when I need to do them, which hasn't happened for quite some time now) like SQL Server Management Studio, Visual Studio and some games/video streaming services.
Also, I keep a Mac around to do Mac things like debugging an iOS app or helping some junior developers who only know how to use a Mac.
The only help I gave them was recommending compatible hardware. They've been using them full-time for the last year, and have been really happy with them.
Even Steam games seem to work reasonably well, which I was impressed by.
Fixing that took a lot more magic than just an fsck, no matter what the incantations. Once you have trouble at that level any OS will be tricky to get going again because a lot of the underlying assumptions have failed.
There is...? What sort of examples come to mind?
That consistency isn’t absolute though, rough spots like the boundary between Mach and the BSD components still exist.
However MS seems to fall back on its old bad habits and the "it-just-works" gui is less true since a while now (I would say a year): we had some major pains after every Windows update at work to the point where the admin blocked them in the firewall.
I think their release schedule (twice a year) is way too fast, and they should focus more on stability.
I still haven't managed to convert all our workstations from Win 7 to Win 10 (and yes we still have a couple XPs), there are special apps on them that needs the intervention of one of our provider, it's complicated.
Last year one of our provider sent us some machines with LTSB 2016 installed. They're already at their EOL.
Edge is not available and there's not even an image viewer on this OS, MS Photos is impossible to install (and is crap anyway, it regularly fails to show an image that any other viewer including Paint can open etc).
Color me unimpressed.
LTBS is meant for stuff like ATM or POS as replacement for the older Windows embedded versions.
Apple has been consistently removing native *nix tools from the system with every iteration. I was recently surprised to see it still had SFTP built-in (although I'm not sure how long that would last).
But, homebrew still does save the day. I wonder whether binary notarization requirements will affect that too.
Windows 7 did make a lot of sense, but configuring Windows 10 has become confusing. You have two versions of the configuration tools, the legacy one and the new HTML-like one, and the latter seems to be almost unusable because of how it is structured. Not to mention that the HTML-variant doesn't work when you VNC into a laptop which has its lid closed and the attached monitor is turned off. Then it's not possible to scroll, because the pages are broken, as if the HTML-renderer is unable to obtain proper display metrics.
Had Microsoft kept POSIX support on par with Win32 and Linux would never taken over.
People - users, developers, artists or anyone, should see this beyond software. They should see the philosophy that drives it, the "Free Software" movement paved way for an ecosystem where "Knowledge Freedom" was more important.
Or possibly they need this for ARM VM instances?
[0] https://www.quora.com/What-do-you-think-about-open-sourcing-...
Similarly with installing new images. If anyone has any insight into any of this id be really interested to know!
It will be less of a problem once DXGI support lands since it's mostly required for AI, DSP and video processing work for me, as they require rather direct access to the GPU.
If you’re doing simple office stuff, it works great. If you need excel plugins and stuff, then you’ll need a local version.
But I could me misunderstanding this as the ability to run HyperV on Linux baremetal much like Windows 10 with HyperV installed or Windows Server with HyperV role.
As a Windows guy, I can appreciate this. HyperV Server is already free, though requires some care and feeding if set up off a domain.
Short version: it's not in Linux, this is basically the very first step in getting it into Linux, it's still gonna be probably several months at least before it makes it into the mainline kernel, and then however long after that for it to make it into your distro's kernel.
FWIW, I think it was a little over 3 years from the first "RFC" for Wireguard until it was merged into mainline (part of that, though, is because some existing things in the kernel had to be "re-worked" first).
Sounds like Lindows to me :)
M$, #Make2020GreatAgain. Give us "https://www.lindows.rocks" complete with the catchy song and Windows 2000 GUI.
Of course, you can run those same VMs under KVM under a Linux OS, so it's not some new capability.
But Linux developers do not care about market penetration -- they simply want to create the best OS kernel. If this makes the kernel better, they will merge it.