Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kjd2234

macrumors member
Original poster
Nov 11, 2020
57
19
Has anyone who received the new M1 machines tried virtual machines? Any luck?
 

kjd2234

macrumors member
Original poster
Nov 11, 2020
57
19
Even Linux does not work?

Is it not possible to run existing virtualization software with Rosetta?
 

chrfr

macrumors G5
Jul 11, 2009
13,707
7,277
Even Linux does not work?

Is it not possible to run existing virtualization software with Rosetta?
No, you cannot use Rosetta for virtualization. If you'll search here in the forums you'll find lengthy discussions about this.
Parallels has a preview which might work on M1 systems, but it will not work with Intel based virtual machines.
 

kjd2234

macrumors member
Original poster
Nov 11, 2020
57
19
I thought Parallels was considered a universal app? I'll know for sure soon enough, patiently waiting for my M1 MBP to arrive. Parallels also has a beta program you can sign up for. Virtualization may be partial here and is certainly coming in the future.
Thank you and congratulations on your new MBP! Your experiences will be appreciated, if you could update. Thank you!
 

Joe Dohn

macrumors 6502a
Jul 6, 2020
840
748
There is currently no working way to run a virtual machine on an Apple Silicon Mac.

Since ARM Macs are compatible with iPad software, running UTM should be possible with your Apple silicon. UTM is a more "brute force" approach which allows you to run x86 on your ARM processor with through software emulation instead of hardware acceleration, which should be slower. But with iPads, the speed for regular tasks was acceptable, apparently.

Why don't you guys give it a try?
 
  • Like
Reactions: uuaschbaer

wyrdness

macrumors 6502
Dec 2, 2008
274
322
This Docker blog has some interesting information about M1 and virtualization.

"Under the hood of Docker Desktop, we run a virtual machine, to achieve this on Apple’s new hardware we need to move onto Apple’s new hypervisor framework."

I am wondering if Docker for M1 will support Rosetta to run x86 Docker images, in the same way that Docker currently (but experimentally) supports QEMU to run non-native images.

 

ct2k7

macrumors G3
Aug 29, 2008
8,382
3,439
London
This Docker blog has some interesting information about M1 and virtualization.

"Under the hood of Docker Desktop, we run a virtual machine, to achieve this on Apple’s new hardware we need to move onto Apple’s new hypervisor framework."

I am wondering if Docker for M1 will support Rosetta to run x86 Docker images, in the same way that Docker currently (but experimentally) supports QEMU to run non-native images.

Very unlikely.
 

Gnattu

macrumors 65816
Sep 18, 2020
1,105
1,667
Since ARM Macs are compatible with iPad software, running UTM should be possible with your Apple silicon. UTM is a more "brute force" approach which allows you to run x86 on your ARM processor with through software emulation instead of hardware acceleration, which should be slower. But with iPads, the speed for regular tasks was acceptable, apparently.

Why don't you guys give it a try?
UTM uses a JIT like approach and it is extremely inefficient compares to hardware virtualization extensions. In other words, it will be very slow.
 

Joe Dohn

macrumors 6502a
Jul 6, 2020
840
748
UTM uses a JIT like approach and it is extremely inefficient compares to hardware virtualization extensions. In other words, it will be very slow.
You may be right, but it seems to be usable with the iPad. I'm curious to know how it performs with the M1 Mac.
 

mike...

macrumors 6502
Oct 9, 2008
382
967
M1 supports virtualisation but virtualisation always means hosting guests that are native to the host's architecutre. That means an M1 Mac can host ARM64 guests. It won't be able to host x86 Windows. That would require emulation and nobody yet has created an x86 emulator for Apple Silicon Macs.
 

Joe Dohn

macrumors 6502a
Jul 6, 2020
840
748
M1 supports virtualisation but virtualisation always means hosting guests that are native to the host's architecutre. That means an M1 Mac can host ARM64 guests. It won't be able to host x86 Windows. That would require emulation and nobody yet has created an x86 emulator for Apple Silicon Macs.
There's QEMU, but I haven't seen it running on ARM Macs yet. Just iPads.
 

kjd2234

macrumors member
Original poster
Nov 11, 2020
57
19
M1 supports virtualisation but virtualisation always means hosting guests that are native to the host's architecutre. That means an M1 Mac can host ARM64 guests. It won't be able to host x86 Windows. That would require emulation and nobody yet has created an x86 emulator for Apple Silicon Macs.
Is there a practical solution to allow this? I believe there are Linux (and also Windows) systems compiled for ARM.
 

lixuelai

macrumors 6502a
Oct 29, 2008
965
337
X86 virtualization is by definition not possible on the M1. That said though Microsoft has done 32bit X86 emulation already and there's some news that 64bit may be supported soon. I'd imagine Apple or a dev can do something similar. Given the power of these SOCs, the performance hit for emulation may not be terrible.
 

kjd2234

macrumors member
Original poster
Nov 11, 2020
57
19
X86 virtualization is by definition not possible on the M1. That said though Microsoft has done 32bit X86 emulation already and there's some news that 64bit may be supported soon. I'd imagine Apple or a dev can do something similar. Given the power of these SOCs, the performance hit for emulation may not be terrible.
I understand, thanks. I'm trying to see if any Virtualization platform will work, to virtualize an ARM operating system.
 
  • Like
Reactions: Argus500

Nate Spencer

macrumors member
Jun 5, 2015
54
30
There is an x86 and x86_64(AMD64) implementation on qemu. Now I doubt it has been recompiled for ARM64 on macOS yet. Although I haven't looked. You would not be able to use KVM which gives that near native performance on the same arch. QEMU provides the virtual hardware stack so it should be like running virt-manager or promox but slower. Now the funny part would be if qemu ran on Rosetta while emulating x86 or x86_64 that would be a bit of Rube Goldberg setup. Can't imagine it will perform well.

So yeah I need to try once I get my Air. Because that bit of insanity sounds fun. At least w/ ARM64 vs. AMD64 you are the same Endianess so no byte reordering going on.
 

Anonymous Freak

macrumors 603
Dec 12, 2002
5,604
1,388
Cascadia
For g&g (grins & giggles) I just attempted to install a Windows app using CrossOver Mac.

CrossOver itself installs and runs. When you tell it to install a Windows app, it creates the "bottle" (container for the virtual machine) just fine, but when trying to run the Windows installer, my M1 Mac spontaneously rebooted. Not even a kernel panic, just *SCREEN BLACK* - Apple logo - progress bar.

So yeah, Rosetta can't handle CrossOver. Unsurprising. Rosetta 2 doesn't emulate an Intel CPU in the traditional sense, the way Rosetta 1 did for PowerPC; instead it translates the code at install/first-launch. Since it can't translate all the random runtime stuff a virtualized system would do, it throws a hissy-fit. (Although I'm shocked Apple wouldn't have had the Rosetta 2 layer be its own component that would 'crash gracefully' the way Classic or Rosetta 1 did.)
 
  • Like
Reactions: Nate Spencer

Nate Spencer

macrumors member
Jun 5, 2015
54
30
For g&g (grins & giggles) I just attempted to install a Windows app using CrossOver Mac.

CrossOver itself installs and runs. When you tell it to install a Windows app, it creates the "bottle" (container for the virtual machine) just fine, but when trying to run the Windows installer, my M1 Mac spontaneously rebooted. Not even a kernel panic, just *SCREEN BLACK* - Apple logo - progress bar.

So yeah, Rosetta can't handle CrossOver. Unsurprising. Rosetta 2 doesn't emulate an Intel CPU in the traditional sense, the way Rosetta 1 did for PowerPC; instead it translates the code at install/first-launch. Since it can't translate all the random runtime stuff a virtualized system would do, it throws a hissy-fit. (Although I'm shocked Apple wouldn't have had the Rosetta 2 layer be its own component that would 'crash gracefully' the way Classic or Rosetta 1 did.)
That is interesting. Crossover in their forums says it should work. Interesting your experience. I look forward to trying it myself. Not that this is a big deal either way. I am stuck waiting for my MBA ATM unless I want a rose gold one.
 

TylerL

macrumors regular
Jan 2, 2002
207
291
For g&g (grins & giggles) I just attempted to install a Windows app using CrossOver Mac.
CrossOver itself installs and runs. When you tell it to install a Windows app, it creates the "bottle" (container for the virtual machine) just fine, but when trying to run the Windows installer, my M1 Mac spontaneously rebooted. Not even a kernel panic, just *SCREEN BLACK* - Apple logo - progress bar.

Are you using macOS 11.1 beta? CodeWeavers stresses that macOS 11.1 is required for CrossOver to work, as it has "critical fixes" to Rosetta 2 that open the way for them.
 
  • Like
Reactions: Nate Spencer

Anonymous Freak

macrumors 603
Dec 12, 2002
5,604
1,388
Cascadia
No, I imagine it will work there. It also helps that CrossOver isn't normal virtualization/emulation. Parallels or VMWare definitely won't be able to run Intel code, though.
 
  • Like
Reactions: Nate Spencer

Joe Dohn

macrumors 6502a
Jul 6, 2020
840
748
CrossOver itself installs and runs. When you tell it to install a Windows app, it creates the "bottle" (container for the virtual machine) just fine, but when trying to run the Windows installer, my M1 Mac spontaneously rebooted. Not even a kernel panic, just *SCREEN BLACK* - Apple logo - progress bar.

This is strange. On Linux, when CrossOver Office fails, it either does nothing or the application window crashes. It doesn't ever take the whole computer with it.

Out of curiosity, what were you trying to run?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.