Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. What's the go to for virtualization on apple silicon macs?

What's the go to for virtualization on apple silicon macs?

Scheduled Pinned Locked Moved Uncategorized
22 Posts 11 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

    It looks like the players so far are vmware fusion, UTM, and parallels

    pmdj@mstdn.socialP This user is from outside of this forum
    pmdj@mstdn.socialP This user is from outside of this forum
    pmdj@mstdn.social
    wrote last edited by
    #9

    @azonenberg FWIW, I use the super-basic ‘macosvm’ CLI* for spawning my ephemeral arm64 macOS CI runners.
    All the options you listed and this one just use Apple’s own Virtualization.framework for virtualising arm64 macOS. So feature wise they have parity for this specific purpose. Other guest OSes are usually implemented via the lower level Hypervisor.framework so will vary greatly in features.

    Metal works in VZ.fwk, but only baseline features.

    * https://github.com/s-u/macosvm

    pmdj@mstdn.socialP 1 Reply Last reply
    0
    • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

      Quick summary from preliminary doc reading having not tried any of them yet:

      * VMware does not appear to support virtualizing macos apple silicon guests

      * Parallels appears to be subscriptionware but will probably do what I want if I buy the pro edition (seems the lower tier doesn't have the CLI)

      * UTM is free and seems to support MacOS guests, so I'm gonna try to install it and see what happens

      natevw@toot.cafeN This user is from outside of this forum
      natevw@toot.cafeN This user is from outside of this forum
      natevw@toot.cafe
      wrote last edited by
      #10

      @azonenberg my understanding is that everything that supports macOS guests these days is based on (Apple's own) same Virtualization framework and thus all inherit the same constraints re. GPU (and USB) passthrough.

      [edit to clarify: UTM which I like/recommend does use *multiple* back ends and so for other e.g. Linux/Windows guests it can use Qemu which itself has multiple potential backends of its own which are less limited. other hypervisors probably similar story but all converging for macOS]

      1 Reply Last reply
      0
      • pmdj@mstdn.socialP pmdj@mstdn.social

        @azonenberg FWIW, I use the super-basic ‘macosvm’ CLI* for spawning my ephemeral arm64 macOS CI runners.
        All the options you listed and this one just use Apple’s own Virtualization.framework for virtualising arm64 macOS. So feature wise they have parity for this specific purpose. Other guest OSes are usually implemented via the lower level Hypervisor.framework so will vary greatly in features.

        Metal works in VZ.fwk, but only baseline features.

        * https://github.com/s-u/macosvm

        pmdj@mstdn.socialP This user is from outside of this forum
        pmdj@mstdn.socialP This user is from outside of this forum
        pmdj@mstdn.social
        wrote last edited by
        #11

        @azonenberg As an aside, QEMU contains the only non-VZ.fwk implementation capable of running arm64 macOS guests. So that offers the same features as other QEMU backed VMs.
        But we never got beyond running newer than macOS12 guests, and the PV graphics code went stale for 15.4(?)+ hosts so it’s currently disabled in the build by default. (I no longer have a source of funding for macOS virtualisation work, and I can’t really afford to spend significant time on it otherwise.)

        1 Reply Last reply
        0
        • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

          What's the go to for virtualization on apple silicon macs?

          Requirements:
          * Free or one time purchase, not subscriptionware
          * Can run macos guests with full metal support
          * CLI for spawning, terminating, snapshotting, and reverting

          Stretch goals:
          * Can run arm64 Linux guests with vulkan support

          petersommerlad@mastodon.socialP This user is from outside of this forum
          petersommerlad@mastodon.socialP This user is from outside of this forum
          petersommerlad@mastodon.social
          wrote last edited by
          #12

          virtualbox?

          1 Reply Last reply
          0
          • azonenberg@ioc.exchangeA This user is from outside of this forum
            azonenberg@ioc.exchangeA This user is from outside of this forum
            azonenberg@ioc.exchange
            wrote last edited by
            #13

            @rfc6919 if so then that's fine. i'll have to check but utm is free so i'll try it first

            1 Reply Last reply
            0
            • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

              What's the go to for virtualization on apple silicon macs?

              Requirements:
              * Free or one time purchase, not subscriptionware
              * Can run macos guests with full metal support
              * CLI for spawning, terminating, snapshotting, and reverting

              Stretch goals:
              * Can run arm64 Linux guests with vulkan support

              toader@fosstodon.orgT This user is from outside of this forum
              toader@fosstodon.orgT This user is from outside of this forum
              toader@fosstodon.org
              wrote last edited by
              #14

              @azonenberg Definitely try UTM first. Last time I tried macOS guests, tjey looked GPU accelerated, but didn’t dig in the features.

              Linux guests have the usual QEMU backends, some of which are GPU enabled, but might be beta-ish.

              Bonus points for linux guests, if you don’t require QEMU for them: you can use rosetta, so you can run x86 apps/libs also in Linux.

              There is also libkrun which advertises gpu accelerated containers on macOS via venus. Haven’t tried this tho.

              azonenberg@ioc.exchangeA 1 Reply Last reply
              0
              • toader@fosstodon.orgT toader@fosstodon.org

                @azonenberg Definitely try UTM first. Last time I tried macOS guests, tjey looked GPU accelerated, but didn’t dig in the features.

                Linux guests have the usual QEMU backends, some of which are GPU enabled, but might be beta-ish.

                Bonus points for linux guests, if you don’t require QEMU for them: you can use rosetta, so you can run x86 apps/libs also in Linux.

                There is also libkrun which advertises gpu accelerated containers on macOS via venus. Haven’t tried this tho.

                azonenberg@ioc.exchangeA This user is from outside of this forum
                azonenberg@ioc.exchangeA This user is from outside of this forum
                azonenberg@ioc.exchange
                wrote last edited by
                #15

                @toader I already have a big iron x86 machine to run x86 stuff. The only reason I have the mac mini is to test on MacOS.

                But I might try qemu with Linux guests since we do not currently have an ARM64 Linux test environment and it'll probably run faster virtualized than software emulated on x86.

                toader@fosstodon.orgT 1 Reply Last reply
                0
                • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                  @toader I already have a big iron x86 machine to run x86 stuff. The only reason I have the mac mini is to test on MacOS.

                  But I might try qemu with Linux guests since we do not currently have an ARM64 Linux test environment and it'll probably run faster virtualized than software emulated on x86.

                  toader@fosstodon.orgT This user is from outside of this forum
                  toader@fosstodon.orgT This user is from outside of this forum
                  toader@fosstodon.org
                  wrote last edited by
                  #16

                  @azonenberg Definitely give it a try, never not a good reason to also have ARM64 support.

                  Regarding performance, my M4 Mini is giving a lot of Ryzen boxes a run for their money in Vivado synthesis (in a Linux VM, ‘emulating’ x86 via Rosetta). The single core perf is that good and virtualization is seamless.

                  UTM is stable, and also has a server for managing VMs via an API.

                  azonenberg@ioc.exchangeA 1 Reply Last reply
                  0
                  • toader@fosstodon.orgT toader@fosstodon.org

                    @azonenberg Definitely give it a try, never not a good reason to also have ARM64 support.

                    Regarding performance, my M4 Mini is giving a lot of Ryzen boxes a run for their money in Vivado synthesis (in a Linux VM, ‘emulating’ x86 via Rosetta). The single core perf is that good and virtualization is seamless.

                    UTM is stable, and also has a server for managing VMs via an API.

                    azonenberg@ioc.exchangeA This user is from outside of this forum
                    azonenberg@ioc.exchangeA This user is from outside of this forum
                    azonenberg@ioc.exchange
                    wrote last edited by
                    #17

                    @toader The mac mini has 16GB of RAM and the Xeon box has 512. I'm not running any VMs on the mac that don't actually *need* apple silicon.

                    But yeah, one mac runner and one Debian arm64 runner or something, taking turns because I probably won't have the RAM to do both simultaneously, is probably doable.

                    1 Reply Last reply
                    0
                    • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                      What's the go to for virtualization on apple silicon macs?

                      Requirements:
                      * Free or one time purchase, not subscriptionware
                      * Can run macos guests with full metal support
                      * CLI for spawning, terminating, snapshotting, and reverting

                      Stretch goals:
                      * Can run arm64 Linux guests with vulkan support

                      hywan@floss.socialH This user is from outside of this forum
                      hywan@floss.socialH This user is from outside of this forum
                      hywan@floss.social
                      wrote last edited by
                      #18

                      @azonenberg @whitequark OrbStack: easy, intuitive, just works, https://orbstack.dev/

                      whitequark@social.treehouse.systemsW 1 Reply Last reply
                      0
                      • hywan@floss.socialH hywan@floss.social

                        @azonenberg @whitequark OrbStack: easy, intuitive, just works, https://orbstack.dev/

                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                        whitequark@social.treehouse.systems
                        wrote last edited by
                        #19

                        @hywan @azonenberg that runs macos guests?

                        hywan@floss.socialH 1 Reply Last reply
                        0
                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                          @hywan @azonenberg that runs macos guests?

                          hywan@floss.socialH This user is from outside of this forum
                          hywan@floss.socialH This user is from outside of this forum
                          hywan@floss.social
                          wrote last edited by
                          #20

                          @whitequark @azonenberg Probably not.

                          1 Reply Last reply
                          0
                          • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                            What's the go to for virtualization on apple silicon macs?

                            Requirements:
                            * Free or one time purchase, not subscriptionware
                            * Can run macos guests with full metal support
                            * CLI for spawning, terminating, snapshotting, and reverting

                            Stretch goals:
                            * Can run arm64 Linux guests with vulkan support

                            ndantas@masto.ptN This user is from outside of this forum
                            ndantas@masto.ptN This user is from outside of this forum
                            ndantas@masto.pt
                            wrote last edited by
                            #21

                            @azonenberg take a look to tart

                            1 Reply Last reply
                            0
                            • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                              Quick summary from preliminary doc reading having not tried any of them yet:

                              * VMware does not appear to support virtualizing macos apple silicon guests

                              * Parallels appears to be subscriptionware but will probably do what I want if I buy the pro edition (seems the lower tier doesn't have the CLI)

                              * UTM is free and seems to support MacOS guests, so I'm gonna try to install it and see what happens

                              tuna_@mastodon.socialT This user is from outside of this forum
                              tuna_@mastodon.socialT This user is from outside of this forum
                              tuna_@mastodon.social
                              wrote last edited by
                              #22

                              @azonenberg There is also VirtualBuddy https://github.com/insidegui/VirtualBuddy

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups