https://support.amd.com/TechDocs/55766_SEV-KM%20API_Spec.pdf
Is this something Qubes OS could work with in the future to improve its security on AMD Zen chips? Maybe something to keep an eye on.
Well, by the time enough people have Zen machines, it would've passed 2-3 years anyway. So this was more of a heads-up. I understand there's a lack of resources for a project such as Qubes OS, but Intel's monopoly with regular consumers is bad enough and no need to make it worse with Intel exclusivity for Qubes.
Perhaps in a few years Qubes will have the resources to support AMD machines, too. Or if there's a new Librem-like partnership between Qubes and some other OEM, the Qubes team can encourage the use of AMD Zen instead. That would mean they get funded for researching AMD's architecture, and at the same time gain enough knowledge for working for AMD chips.
till now the argument of Qubes OS was that there are no laptops with AMD CPU's or APU's which Qubes OS can run on.
Qubes OS primary focus is on laptops and than on workstations.
Qubes OS uses Xen to isolate "qubes" (vms) from each other. Xen can run on AMD, Intel, ARM and other platforms. Therefor Qubes itself is not dependent on the hardware itself. Qubes depends on certain virtualization extensions like Second Level Address Translation (SLAT), CPU virtualization extension and IO-Virtualization (IOMMU). AMD has all those virtualization features. So, in theory Qubes OS could run on AMD chips.
The problem till now was that AMD was not producing any hardware which was able to compete with Intel's quasi mono pole. This changed with this weeks AMD Zen announcement. The next question is: when does AMD Zen CPU's will appear in laptops?
The next question is, will AMD offer SEV support for consumer CPU's?
I thought I read somewhere that Qubes is moving to hardware-enabled virtualization, though? Zen laptops were supposed to arrive first half of 2017, but I think they got delayed to second half of 2017 now. So yeah, it will be a while until enough people have these. But a Qubes/OEM partnership could still make them relevant sooner. I don't know if ZEV will be in all consumer chips, but considering SGX is in Skylake+ now, I would hope so. AMD does seem to target this at "cloud companies" in their paper, though...I'm sure we'll find out more about it by early next year.
AMD optimized Code, which runs well under Debian and will perform also on a QubesOS machine, will be highly appreciated.
Today I run Qubes under AMD, all seems fine, but complex and long Mathematica calculations seems very strange time-dependend sometimes slow and even don't work well (long-floating point math). The reference was an Intel W8 infrastructure (the same program was here right).
To test some hardware is quite simple, calculate Pi for 30 million digits - there should be only one answer.
Mathematica code is AMD and Intel optimized and I would appreciate, if it will run on both systems with the full intended speed, like it should.
Kind Regards