From 6e68ca725168a65d363d9a0f235a63773ef66bc4 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Wed, 30 Jun 2021 00:59:43 -0400 Subject: Add device ID for macOS 12 Apple Silicon VMs Adds the device ID for macOS 12's Apple Silicon VMs, as created in macOS 12 Virtualization.framework (https://developer.apple.com/documentation/virtualization/vzmachardwaremodel?language=objc) Currently, macOS 12 beta 2 has device trees and support in Virtualization.framework for two different virtual machine types, VirtualMac1,1 and VirtualMac2,1. The first seems to be unused: only the VirtualMac2,1 variant is being signed. See http://swcdn.apple.com/content/downloads/38/12/071-51840-A_R2JDKNM0LX/wqollynqs6j5006166tvw4rliu9htf7swu/BuildManifest.plist for the board IDs. --- src/libirecovery.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libirecovery.c b/src/libirecovery.c index db88251..a2ef567 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -306,6 +306,8 @@ static struct irecv_device irecv_devices[] = { { "iMac21,2", "j457ap", 0x2A, 0x8103, "iMac 24-inch (M1, Four Ports, 2021)" }, { "Mac13,1", "j375cap", 0x04, 0x6001, "Mac Studio (M1 Max, 2022)" }, { "Mac13,2", "j375dap", 0x0C, 0x6002, "Mac Studio (M1 Ultra, 2022)" }, + /* Apple Silicon VMs (supported by Virtualization.framework on macOS 12) */ + { "VirtualMac2,1", "vma2macosap", 0x20, 0xFE00, "Apple Virtual Machine 1" }, /* Apple T2 Coprocessor */ { "iBridge2,1", "j137ap", 0x0A, 0x8012, "Apple T2 iMacPro1,1 (j137)" }, { "iBridge2,3", "j680ap", 0x0B, 0x8012, "Apple T2 MacBookPro15,1 (j680)" }, -- cgit v1.1-32-gdbae