Virtualization

RSS for tag

Create hardware-accelerated virtual machines to run macOS and Linux-based operating systems.

Posts under Virtualization tag

31 Posts

Post

Replies

Boosts

Views

Activity

Is it possible to use the Swift Virtualization Framework on an iPad or iPhone?
Given that the new iPads have M1 chips, would it be possible to use the virtualization framework on the on an iPad/iPhone? Though it is not currently listed as a possibility in the documentation, is it possible to modify any configuration settings to make it work in a mobile environment? I would like to run a virtual machine on an iPad/iOS to run python applications.
3
0
1.9k
Dec ’22
Problem with starting Gentoo Linux in Virtualization
Im playing a bit with Virtualization framework. I have problem starting Gentoo Linux on x86_64 machine. It shows EFI boot device selection screen, and after that black screen with just carriage (not blinking). Not sure how to check what is going on. I tried with different settings and devices. I think probably something is missing from Gentoo installer iso, that I need to add to the kernel? How would I learn what is missing?
1
0
956
Dec ’22
How to enable external sound device in Mac OS Virtual Machine
I have a Mac OS virtual machine (VM) on my Macbook Pro with M1 Pro chip. The VM was set up using Apple's sample code in https://developer.apple.com/documentation/virtualization. I wonder how I can enable an external USB microphone on it. The host can recognize and record with the microphone without a problem. The VM did recognize the microphone first time I plugged in, asked for permission, and was given permission. However, it doesn't show up on my sound setting.
3
0
2.5k
Dec ’22
Running under Parallels crashes XCode apps
I created a fresh SwiftUI project and added a button with no code. I built and ran the app and clicked the do nothing button. My app promptly crashed with the following complaint: validateComputeFunctionArguments:830: failed assertion `Compute Function(ciKernelMain): writes texture ([0]) whose usage (0x00) doesn't specify MTLTextureUsageShaderWrite (0x02)' Since the only unusual is that I am running under Parallels virtualization, it implies a conflict between it and a simple swift build.
5
1
1k
Dec ’22
VZStorageDeviceAttachment compression
I was wondering if there is any possibility to somehow implement compression of VZStorageDeviceAttachment like VZDiskImageStorageDeviceAttachment used for the VZVirtioBlockDeviceConfiguration. I know that APFS is doing some work here, but I would also wanto to be able to store attachments on other filesystems and still keep them use only the space required. From what I searched there is no other attachment that can be used instead, but maybe there are some clever tricks that could be done to achieve this? I don't think its possible to write own implementation of VZStorageDeviceAttachment correct?
1
1
1.3k
Dec ’22
VZVirtualMachineView disable mouse capture
I would like to use VZVirtualMachineView to display grid of previews for multiple Virtual Machines. The problem is that VZVirtualMachineView always captures mouse events, and hired host cursor when it's on top of it. Is it possible to somehow disable these behaviors for VZVirtualMachineView? So that cursor of the host is not hiding and guest on this view is not receiving any mouse events?
1
1
990
Nov ’22
Virtualization framework, linux environment
Im learning about Virtualization framework from Apple, and Im currently trying to create an Arch Linux environment to run on top of it. Im still a bit confused about few concepts regarding how this works, so I gathered them into 3 sections. Kernel and Initial Ram Disk (initrd) usage. From what I learned to start Virtual Machine, I need to have extracted linuz and initrdfiles, and use them to create a bootloader. This is kind of different approach from other VMsolutions, but I think I get why it is. But to make sure few questions: Since Im loading the kernel and initramdisk at this step, I can extract exact files from my linux distribution disk image, and remove them from linux /boot folder right? And going forward since this is a bootloader, I don’t really need to install Grub to run it, right? Kernel and inited capabilities and format. Until now I was only able to run a single kernel and initrd - some Ubuntu cloud 20.04images downloaded from the internet. I tried also other versions of Ubuntu, and my own Arch build, but it usually ends with either some error or sometimes virtualMachine.start()returns success but after that nothing is happening. I think I need either to compile some required features into the kernel (but have no idea which) or have these files with some specific format. I noticed that when using file command on initrd I get different information about these files. For example, the one from Ubuntu that works for me is: LZ4 compressed data (v0.1-v0.9). The other one I tried, but didn’t work was Zstandard compressed data (v0.8+), Dictionary ID: None. Does that play a role here? If so how to prepare initrd in correct format? Virtual disk format. After booting into the environment I would like to perform Arch Linux installation on separate virtual disk, and later switch to use this disk as the main one. How should I prepare .img empty file to use? From Disk utility Im only able to prepare .dmg format. Can I use some other formats as well? And later how should I partition this disk? I was planning to create GTP partition table with just a single Linux ext4 partition. On other Virtual Machine I was also creating a 1MB partition for Grub, but I think this can be skipped here. Is that correct? Do I need initrd? I think that I will need to compile my own kernel to achieve nicely working environment. And this might be the good solution for me. If that's the case do I really need initrd at all? Would it be possible to create fully prepared kernel that boots without it? If so what features do I need to use in kernel config?
1
1
2.5k
Oct ’22
Virtual Box won't load Kali Linux or ParrotOS (Info.plist error)
macOS Monterey iMac (21.5-inch, 2017) I had to erase my Mac because I was having problems with Xcode getting stuck installing in the App Store so I just decided to start fresh. I downloaded the current version of VirtualBox (7.0) and the proper iso for Kali and ParrotOS. Both of them will begin to start and load up then unexpectedly crash. I get the report and when I open it, it's basically issuing the same problem. I've seen different things about this in regards to apple specific apps like iTunes & Apple Library so I'm hoping someone with experience with this can kindly explain the steps I need to take to fix this. I'm currently in a networking program at the community college and would like to start my journey in cyber security as blue or red team though I still haven't decided. Thanks in advance! **Termination Reason:    Namespace TCC, Code 0  This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.audio-input key with a string value explaining to the user how the app uses this data.**
3
0
3.0k
Oct ’22
How to use 'VZVirtioBlockDeviceConfiguration' with block device which create by zfs zvol.
I want to create a linux vm by the  Virtualization framework on mac.And There are disk configure i should set. my code  VZDiskImageStorageDeviceAttachment *disc_sda = [[VZDiskImageStorageDeviceAttachment alloc]                             initWithURL:discURL                             readOnly:dinfo[i].readOnly error:nil];     if (disc_sda) {       VZVirtioBlockDeviceConfiguration *disc_conf = [[VZVirtioBlockDeviceConfiguration alloc]                             initWithAttachment:disc_sda];       discs = [discs arrayByAddingObject:disc_conf];     } else {       NSLog(@"--- Couldn't open disc%d at %@ (URL %@)\n", i, disc_path, discURL);     } The value of param discUrl is /dev/disk6.the info of the device. diskutil info /dev/disk6     Device Identifier:     disk6   Device Node:        /dev/disk6   Whole:           Yes   Part of Whole:       disk6   Device / Media Name:    ZVOL matpool/fromBin   Volume Name:        Not applicable (no file system)   Mounted:          Not applicable (no file system)   File System:        None   Content (IOContent):    GUID_partition_scheme   OS Can Be Installed:    No   Media Type:        Generic   Protocol:         Disk Image   SMART Status:       Not Supported   Disk Size:         10.7 GB (10737418240 Bytes) (exactly 20971520 512-Byte-Units)   Device Block Size:     512 Bytes   Media OS Use Only:     No   Media Read-Only:      No   Volume Read-Only:     Not applicable (no file system)   Device Location:      External   Removable Media:      Fixed   Solid State:        Yes   Virtual:          Yes and i put data to the disk from data.raw.If the discUrl is data.raw, the vm will create successfully. sudo dd if=/Users/zhangkeli/Downloads/data.raw of=/dev/disk6 but the follow info will be shown while i create the vm by the disk. Loading, please wait... Starting version 245.4-4ubuntu3.17 [  1.160420] virtio_blk virtio2: [vda] 0 512-byte logical blocks (0 B/0 B) [  1.176709] cryptd: max_cpu_qlen set to 1000 [  1.212226] AVX version of gcm_enc/dec engaged. [  1.212414] AES CTR mode by8 optimization enabled [  1.233134] virtio_net virtio0 enp0s1: renamed from eth0 [  1.764724] tsc: Refined TSC clocksource calibration: 2304.011 MHz [  1.765456] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21360249f5a, max_idle_ns: 440795291588 ns [  1.766393] clocksource: Switched to clocksource tsc Begin: Loading essential drivers ... [  2.424787] raid6: sse2x4  gen() 17701 MB/s [  2.472679] raid6: sse2x4  xor() 11138 MB/s [  2.520689] raid6: sse2x2  gen() 16157 MB/s [  2.568793] raid6: sse2x2  xor() 9438 MB/s [  2.616876] raid6: sse2x1  gen() 11038 MB/s [  2.664726] raid6: sse2x1  xor() 9349 MB/s [  2.664979] raid6: using algorithm sse2x4 gen() 17701 MB/s [  2.665083] raid6: .... xor() 11138 MB/s, rmw enabled [  2.665253] raid6: using ssse3x2 recovery algorithm [  2.666442] xor: automatically using best checksumming function  avx     [  2.667482] async_tx: api initialized (async) done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... [  2.710909] Btrfs loaded, crc32c=crc32c-intel Scanning for Btrfs filesystems done. ... some info mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: error opening /dev/md?*: No such file or directory mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. done. Gave up waiting for root file system device. Common problems:  - Boot args (cat /proc/cmdline)   - Check rootdelay= (did the system wait long enough?)  - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/vda does not exist. Dropping to a shell! BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.4) built-in shell (ash) Enter 'help' for a list of built-in commands. So i have a question, how can i use the disk? Thank you for you reply.
1
2
1.5k
Sep ’22
MacOs Change Identifier
Hi. Is there any way to change macos Identifier (i mean this one) for some reasons. For example, telegram using this identifier to show you connection list: is there any way to specify (for example) A telegram that I'm connecting with a Macbook Pro 2019? In my understanding, I just need to change the macbook ID in the system. Even if i want to do this in virtual machine (parallels for example)
1
0
1.2k
Sep ’22
Required Import Statements and Unresolved Identifiers in `Running Linux in a Virtual Machine`
Apple Docs describe how to create a Swift executable to run Linux on an Intel based Mac, but the docs don't include the import statements required for the code to compile. I've determined I need to import both Cocoa and Virtualization but the following code from the final section Instantiate and Start the Virtual Machine is still generating an error: let virtualMachine = VZVirtualMachine(configuration: configuration) let delegate = Delegate() // Cannot find 'Delegate' in scope virtualMachine.delegate = delegate How do I resolve the Delegate() constructor?
1
0
1.4k
Sep ’22
Use of Apple Developer Certificate in a VM on Apple hardware
Hi there, I'm posting this here as directed by Apple Developer Program Support over email. I was wondering if I can use a developer certificate and notary services in a macOS VM running on Apple hardware? My VMs run under QEMU/KVM on top of Linux (as I'm more familiar with the tooling and platform) on Intel Apple hardware. I'd like to confirm that using these with a developer certificate and notary services wouldn't be in breach of Apple's EULA, or be generally disliked by Apple or undesirable for any other reason. I have not joined the Developer program yet. Thanks in advance, Hamish
2
0
865
Aug ’22
Virtualization Framework: Does it require administrative privileges to use?
I'd like to be able to run Linux in a virtual environment on my M1 macOS Monterey system that is managed by my IT department. Can I use the Virtualization Framework Virtualization Framework to do the installation without any admin privileges? Are there other virtualization products (eg, Parallels, VMware, VirtualBox) that are usable without admin privileges? The side-by-side comparison that I found (at https://www.pcmag.com/picks/the-best-virtualization-software) doesn't have any indication either way. In asking about these 3rd-party ones, I'm not looking for a recommendation per se, but just a yay/nay on being able to work within an unprivileged account.
3
1
2.5k
Jul ’22
Basic example of Virtualization fails with Error Domain=VZErrorDomain Code=1
System details MacBook Pro macOS Monterey: 12.4 Chip: Apple M1 Max Mem: 32 GB Language & Region config Primary Language: English Secondary Langauge: Polish STR: goto https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine?language=objc download recommended https://fedora.cu.be/linux/releases/36/Everything/aarch64/os/images/pxeboot/ Build it in XCode run LinuxVirtualMachine passing downloaded pxeboot files Result: Failed to start the virtual machine. Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.}
2
2
2.6k
Jul ’22
Running macOS in a Virtual Machine
https://developer.apple.com/documentation/virtualization/running_macos_in_a_virtual_machine_on_apple_silicon_macs I want to know whether I can launch the virtual machine using terminal. If so, what are the commands to do so? Does it require Xcode or Xcode Command Line Tools to be installed beforehand?
Replies
4
Boosts
0
Views
1.4k
Activity
Jan ’23
Check if process is running under Rosetta 2 under Linux?
i.e. basically the same question as here: https://developer.apple.com/forums/thread/653009 (https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment#Determine-Whether-Your-App-Is-Running-as-a-Translated-Binary) is there any way to find this thing out under linux? i.e. the sysctl method of course does not work.
Replies
1
Boosts
1
Views
857
Activity
Jan ’23
Is it possible to use the Swift Virtualization Framework on an iPad or iPhone?
Given that the new iPads have M1 chips, would it be possible to use the virtualization framework on the on an iPad/iPhone? Though it is not currently listed as a possibility in the documentation, is it possible to modify any configuration settings to make it work in a mobile environment? I would like to run a virtual machine on an iPad/iOS to run python applications.
Replies
3
Boosts
0
Views
1.9k
Activity
Dec ’22
Problem with starting Gentoo Linux in Virtualization
Im playing a bit with Virtualization framework. I have problem starting Gentoo Linux on x86_64 machine. It shows EFI boot device selection screen, and after that black screen with just carriage (not blinking). Not sure how to check what is going on. I tried with different settings and devices. I think probably something is missing from Gentoo installer iso, that I need to add to the kernel? How would I learn what is missing?
Replies
1
Boosts
0
Views
956
Activity
Dec ’22
How to enable external sound device in Mac OS Virtual Machine
I have a Mac OS virtual machine (VM) on my Macbook Pro with M1 Pro chip. The VM was set up using Apple's sample code in https://developer.apple.com/documentation/virtualization. I wonder how I can enable an external USB microphone on it. The host can recognize and record with the microphone without a problem. The VM did recognize the microphone first time I plugged in, asked for permission, and was given permission. However, it doesn't show up on my sound setting.
Replies
3
Boosts
0
Views
2.5k
Activity
Dec ’22
Running under Parallels crashes XCode apps
I created a fresh SwiftUI project and added a button with no code. I built and ran the app and clicked the do nothing button. My app promptly crashed with the following complaint: validateComputeFunctionArguments:830: failed assertion `Compute Function(ciKernelMain): writes texture ([0]) whose usage (0x00) doesn't specify MTLTextureUsageShaderWrite (0x02)' Since the only unusual is that I am running under Parallels virtualization, it implies a conflict between it and a simple swift build.
Replies
5
Boosts
1
Views
1k
Activity
Dec ’22
VZStorageDeviceAttachment compression
I was wondering if there is any possibility to somehow implement compression of VZStorageDeviceAttachment like VZDiskImageStorageDeviceAttachment used for the VZVirtioBlockDeviceConfiguration. I know that APFS is doing some work here, but I would also wanto to be able to store attachments on other filesystems and still keep them use only the space required. From what I searched there is no other attachment that can be used instead, but maybe there are some clever tricks that could be done to achieve this? I don't think its possible to write own implementation of VZStorageDeviceAttachment correct?
Replies
1
Boosts
1
Views
1.3k
Activity
Dec ’22
VZVirtualMachineView disable mouse capture
I would like to use VZVirtualMachineView to display grid of previews for multiple Virtual Machines. The problem is that VZVirtualMachineView always captures mouse events, and hired host cursor when it's on top of it. Is it possible to somehow disable these behaviors for VZVirtualMachineView? So that cursor of the host is not hiding and guest on this view is not receiving any mouse events?
Replies
1
Boosts
1
Views
990
Activity
Nov ’22
Virtualization framework, linux environment
Im learning about Virtualization framework from Apple, and Im currently trying to create an Arch Linux environment to run on top of it. Im still a bit confused about few concepts regarding how this works, so I gathered them into 3 sections. Kernel and Initial Ram Disk (initrd) usage. From what I learned to start Virtual Machine, I need to have extracted linuz and initrdfiles, and use them to create a bootloader. This is kind of different approach from other VMsolutions, but I think I get why it is. But to make sure few questions: Since Im loading the kernel and initramdisk at this step, I can extract exact files from my linux distribution disk image, and remove them from linux /boot folder right? And going forward since this is a bootloader, I don’t really need to install Grub to run it, right? Kernel and inited capabilities and format. Until now I was only able to run a single kernel and initrd - some Ubuntu cloud 20.04images downloaded from the internet. I tried also other versions of Ubuntu, and my own Arch build, but it usually ends with either some error or sometimes virtualMachine.start()returns success but after that nothing is happening. I think I need either to compile some required features into the kernel (but have no idea which) or have these files with some specific format. I noticed that when using file command on initrd I get different information about these files. For example, the one from Ubuntu that works for me is: LZ4 compressed data (v0.1-v0.9). The other one I tried, but didn’t work was Zstandard compressed data (v0.8+), Dictionary ID: None. Does that play a role here? If so how to prepare initrd in correct format? Virtual disk format. After booting into the environment I would like to perform Arch Linux installation on separate virtual disk, and later switch to use this disk as the main one. How should I prepare .img empty file to use? From Disk utility Im only able to prepare .dmg format. Can I use some other formats as well? And later how should I partition this disk? I was planning to create GTP partition table with just a single Linux ext4 partition. On other Virtual Machine I was also creating a 1MB partition for Grub, but I think this can be skipped here. Is that correct? Do I need initrd? I think that I will need to compile my own kernel to achieve nicely working environment. And this might be the good solution for me. If that's the case do I really need initrd at all? Would it be possible to create fully prepared kernel that boots without it? If so what features do I need to use in kernel config?
Replies
1
Boosts
1
Views
2.5k
Activity
Oct ’22
Virtual Box won't load Kali Linux or ParrotOS (Info.plist error)
macOS Monterey iMac (21.5-inch, 2017) I had to erase my Mac because I was having problems with Xcode getting stuck installing in the App Store so I just decided to start fresh. I downloaded the current version of VirtualBox (7.0) and the proper iso for Kali and ParrotOS. Both of them will begin to start and load up then unexpectedly crash. I get the report and when I open it, it's basically issuing the same problem. I've seen different things about this in regards to apple specific apps like iTunes & Apple Library so I'm hoping someone with experience with this can kindly explain the steps I need to take to fix this. I'm currently in a networking program at the community college and would like to start my journey in cyber security as blue or red team though I still haven't decided. Thanks in advance! **Termination Reason:    Namespace TCC, Code 0  This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.audio-input key with a string value explaining to the user how the app uses this data.**
Replies
3
Boosts
0
Views
3.0k
Activity
Oct ’22
How to use 'VZVirtioBlockDeviceConfiguration' with block device which create by zfs zvol.
I want to create a linux vm by the  Virtualization framework on mac.And There are disk configure i should set. my code  VZDiskImageStorageDeviceAttachment *disc_sda = [[VZDiskImageStorageDeviceAttachment alloc]                             initWithURL:discURL                             readOnly:dinfo[i].readOnly error:nil];     if (disc_sda) {       VZVirtioBlockDeviceConfiguration *disc_conf = [[VZVirtioBlockDeviceConfiguration alloc]                             initWithAttachment:disc_sda];       discs = [discs arrayByAddingObject:disc_conf];     } else {       NSLog(@"--- Couldn't open disc%d at %@ (URL %@)\n", i, disc_path, discURL);     } The value of param discUrl is /dev/disk6.the info of the device. diskutil info /dev/disk6     Device Identifier:     disk6   Device Node:        /dev/disk6   Whole:           Yes   Part of Whole:       disk6   Device / Media Name:    ZVOL matpool/fromBin   Volume Name:        Not applicable (no file system)   Mounted:          Not applicable (no file system)   File System:        None   Content (IOContent):    GUID_partition_scheme   OS Can Be Installed:    No   Media Type:        Generic   Protocol:         Disk Image   SMART Status:       Not Supported   Disk Size:         10.7 GB (10737418240 Bytes) (exactly 20971520 512-Byte-Units)   Device Block Size:     512 Bytes   Media OS Use Only:     No   Media Read-Only:      No   Volume Read-Only:     Not applicable (no file system)   Device Location:      External   Removable Media:      Fixed   Solid State:        Yes   Virtual:          Yes and i put data to the disk from data.raw.If the discUrl is data.raw, the vm will create successfully. sudo dd if=/Users/zhangkeli/Downloads/data.raw of=/dev/disk6 but the follow info will be shown while i create the vm by the disk. Loading, please wait... Starting version 245.4-4ubuntu3.17 [  1.160420] virtio_blk virtio2: [vda] 0 512-byte logical blocks (0 B/0 B) [  1.176709] cryptd: max_cpu_qlen set to 1000 [  1.212226] AVX version of gcm_enc/dec engaged. [  1.212414] AES CTR mode by8 optimization enabled [  1.233134] virtio_net virtio0 enp0s1: renamed from eth0 [  1.764724] tsc: Refined TSC clocksource calibration: 2304.011 MHz [  1.765456] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21360249f5a, max_idle_ns: 440795291588 ns [  1.766393] clocksource: Switched to clocksource tsc Begin: Loading essential drivers ... [  2.424787] raid6: sse2x4  gen() 17701 MB/s [  2.472679] raid6: sse2x4  xor() 11138 MB/s [  2.520689] raid6: sse2x2  gen() 16157 MB/s [  2.568793] raid6: sse2x2  xor() 9438 MB/s [  2.616876] raid6: sse2x1  gen() 11038 MB/s [  2.664726] raid6: sse2x1  xor() 9349 MB/s [  2.664979] raid6: using algorithm sse2x4 gen() 17701 MB/s [  2.665083] raid6: .... xor() 11138 MB/s, rmw enabled [  2.665253] raid6: using ssse3x2 recovery algorithm [  2.666442] xor: automatically using best checksumming function  avx     [  2.667482] async_tx: api initialized (async) done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... [  2.710909] Btrfs loaded, crc32c=crc32c-intel Scanning for Btrfs filesystems done. ... some info mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: error opening /dev/md?*: No such file or directory mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. mdadm: No devices listed in conf file were found. done. Gave up waiting for root file system device. Common problems:  - Boot args (cat /proc/cmdline)   - Check rootdelay= (did the system wait long enough?)  - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/vda does not exist. Dropping to a shell! BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.4) built-in shell (ash) Enter 'help' for a list of built-in commands. So i have a question, how can i use the disk? Thank you for you reply.
Replies
1
Boosts
2
Views
1.5k
Activity
Sep ’22
MacOs Change Identifier
Hi. Is there any way to change macos Identifier (i mean this one) for some reasons. For example, telegram using this identifier to show you connection list: is there any way to specify (for example) A telegram that I'm connecting with a Macbook Pro 2019? In my understanding, I just need to change the macbook ID in the system. Even if i want to do this in virtual machine (parallels for example)
Replies
1
Boosts
0
Views
1.2k
Activity
Sep ’22
Required Import Statements and Unresolved Identifiers in `Running Linux in a Virtual Machine`
Apple Docs describe how to create a Swift executable to run Linux on an Intel based Mac, but the docs don't include the import statements required for the code to compile. I've determined I need to import both Cocoa and Virtualization but the following code from the final section Instantiate and Start the Virtual Machine is still generating an error: let virtualMachine = VZVirtualMachine(configuration: configuration) let delegate = Delegate() // Cannot find 'Delegate' in scope virtualMachine.delegate = delegate How do I resolve the Delegate() constructor?
Replies
1
Boosts
0
Views
1.4k
Activity
Sep ’22
Virtualization Framework: Enabling Nested Virt
Now that M2 has support for FEAT_NV2 will the virtualization framework expose a setting to enable nested virt, or is the thinking that it will just be always on? Any plans for this to land in Ventura?
Replies
2
Boosts
0
Views
1.9k
Activity
Aug ’22
Use of Apple Developer Certificate in a VM on Apple hardware
Hi there, I'm posting this here as directed by Apple Developer Program Support over email. I was wondering if I can use a developer certificate and notary services in a macOS VM running on Apple hardware? My VMs run under QEMU/KVM on top of Linux (as I'm more familiar with the tooling and platform) on Intel Apple hardware. I'd like to confirm that using these with a developer certificate and notary services wouldn't be in breach of Apple's EULA, or be generally disliked by Apple or undesirable for any other reason. I have not joined the Developer program yet. Thanks in advance, Hamish
Replies
2
Boosts
0
Views
865
Activity
Aug ’22
Virtualization Framework: Does it require administrative privileges to use?
I'd like to be able to run Linux in a virtual environment on my M1 macOS Monterey system that is managed by my IT department. Can I use the Virtualization Framework Virtualization Framework to do the installation without any admin privileges? Are there other virtualization products (eg, Parallels, VMware, VirtualBox) that are usable without admin privileges? The side-by-side comparison that I found (at https://www.pcmag.com/picks/the-best-virtualization-software) doesn't have any indication either way. In asking about these 3rd-party ones, I'm not looking for a recommendation per se, but just a yay/nay on being able to work within an unprivileged account.
Replies
3
Boosts
1
Views
2.5k
Activity
Jul ’22
MacOS based VM and XCode
Hi, Can I use MacOS based VM inside my windows system to build an XCode application and will I be able to test the same on my iPhone device? If yes, how do I connect the iPhone to VM. Can I publish this app to Apple Store.
Replies
1
Boosts
0
Views
1.2k
Activity
Jul ’22
.swift:119: Fatal error: Internal Virtualization error. Installation failed.
Hi, I run the RunningMacOSInAVirtualMachineOnAppleSiliconMacs to build the VM and I get the error ".swift:119: Fatal error: Internal Virtualization error. Installation failed." when it go to install step. I am using M1 Mac Studios and MacOS Monterey 12.4 Thanks, Gavin
Replies
2
Boosts
1
Views
1.1k
Activity
Jul ’22
Basic example of Virtualization fails with Error Domain=VZErrorDomain Code=1
System details MacBook Pro macOS Monterey: 12.4 Chip: Apple M1 Max Mem: 32 GB Language & Region config Primary Language: English Secondary Langauge: Polish STR: goto https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine?language=objc download recommended https://fedora.cu.be/linux/releases/36/Everything/aarch64/os/images/pxeboot/ Build it in XCode run LinuxVirtualMachine passing downloaded pxeboot files Result: Failed to start the virtual machine. Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.}
Replies
2
Boosts
2
Views
2.6k
Activity
Jul ’22
Linux VM on M1
Hi, I am trying the GUILinuxVirtualMachineSampleApp.xcodeproj to build the Linux VM to also take advantage of the Rosetta in there. However, I get some errors compiling the sample app. Cannot find 'VZGenericMachineIdentifier' in scope I have the Macbook Pro M1 laptop with MacOS Monterey 12.4 Thanks, Saeed
Replies
1
Boosts
2
Views
1.3k
Activity
Jul ’22