News for hackers. Stuff that matters.
Re:Running Intel Binaries in Linux VMs with Rosetta by cassandratt on Monday June 06, 2022 @06:13PM (#31647063)
I mean, you can do that now. So, yes, but not because of this.
Re:Running Intel Binaries in Linux VMs with Rosetta by draebek on Monday June 06, 2022 @07:50PM (#31648047)
I know of Azure SQL Edge, which has significant limitations, but I don't know how to run MS SQL Server on an M1 at anything more than glacial speeds (i.e. full system emulation in Qemu). Is there something I don't know about? Please share!
Re:Running Intel Binaries in Linux VMs with Rosetta by my123 on Monday June 06, 2022 @07:54PM (#31648100)
the Drawbridge environment has some peculiar needs that most JITted envs don't provide. So unlikely to work but will test that out soon...
Re:Running Intel Binaries in Linux VMs with Rosetta by draebek on Monday June 06, 2022 @08:57PM (#31648545)
If you're speaking about the existing technique MS has developed to run MS SQL on Linux, it doesn't work on M1s in Docker under Qemu user emulation: https://github.com/microsoft/mssql-docker/issues/668

That's 2019. I haven't tested 2017 or 2022, but I assume they don't work either. AFAIK the official advice is to use Azure SQL Edge instead.

Re:Running Intel Binaries in Linux VMs with Rosetta by my123 on Monday June 06, 2022 @09:10PM (#31648647)
qemu-user is indeed hopelessly unsuitable for any kind of heavy use. Use anything else. :)

But that doesn't answer the question of "does Rosetta deal with it properly?".

Re:Running Intel Binaries in Linux VMs with Rosetta by my123 on Monday June 06, 2022 @10:14PM (#31649115)
SQL Server doesn't work under Rosetta.
Re:Running Intel Binaries in Linux VMs with Rosetta by draebek on Tuesday June 07, 2022 @12:16AM (#31649856)
Oh! Sorry, I didn't realize you were going to try it under Rosetta. That is very disappointing that Rosetta doesn't do any better. Thanks for testing.