Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for running quickemu on macOS hosts #1225

Merged
merged 58 commits into from
May 17, 2024
Merged

Conversation

flexiondotorg
Copy link
Member

@flexiondotorg flexiondotorg commented May 14, 2024

Support for macOS hosts

This pull request makes Quickemu compatible with macOS hosts, meaning that quickemu can now be used to create and run virtual machines on macOS hosts.

Intel and Apple Silicon CPUs on the host are supported. However, Quickemu currently only has x86 OS images available, so Apple Silicon Macs are currently provisioned with x86 virtual machines. This will be addressed in the future.

Improved compatibility for macOS guests

In addition, this pull request significantly improves the compatibility and performance when running macOS guest VMs, particularly if your host has an Intel CPU. Thanks to @TuxVinyards and @lj3954 for their research in this area.

@flexiondotorg flexiondotorg force-pushed the macos-host branch 5 times, most recently from 12908a7 to f9d6b12 Compare May 15, 2024 12:17
@flexiondotorg flexiondotorg force-pushed the macos-host branch 3 times, most recently from 4147f74 to 154f758 Compare May 17, 2024 11:08
@flexiondotorg flexiondotorg changed the title feat: add support for running quickemu of macOS (x86) hosts. close #447 feat: add support for running quickemu of macOS (x86) hosts May 17, 2024
@flexiondotorg flexiondotorg changed the title feat: add support for running quickemu of macOS (x86) hosts feat: add support for running quickemu on macOS (x86) hosts May 17, 2024
@flexiondotorg flexiondotorg changed the title feat: add support for running quickemu on macOS (x86) hosts feat: add support for running quickemu on macOS hosts May 17, 2024
@flexiondotorg flexiondotorg requested a review from lj3954 May 17, 2024 11:42
@flexiondotorg flexiondotorg force-pushed the macos-host branch 4 times, most recently from 4ab55cd to 67ffb83 Compare May 17, 2024 12:24
@TuxVinyards
Copy link
Contributor

TuxVinyards commented May 17, 2024

                for FLAG in abm aes amd_ssbd apic arat bmi1 bmi2 clflush cmov cx8 cx16 de \
                            eist erms f16c fma fp87 fsgsbase fxsr invpcid invtsc lahf_lm lm \
                            mca mce mmx movbe mpx msr mtrr nx pae pat pcid pge pse popcnt pse36 \
                            rdrand rdtscp sep smep syscall tsc tsc_adjust vaes vbmi2 vpclmulqdq \
                            x2apic xgetbv1 xsave xsaveopt; do

Remove adx as is Skylake

Remove vmx as is Intel

amd_ssbd should have had an underscore. But, edit, should be removed too. That's neither Haswell nor Intel.

Couple of things that I spotted

@flexiondotorg flexiondotorg merged commit dbe9f61 into master May 17, 2024
3 checks passed
@flexiondotorg flexiondotorg deleted the macos-host branch May 17, 2024 22:18
TuxVinyards added a commit to TuxVinyards/quickemu that referenced this pull request May 18, 2024
@lj3954 lj3954 mentioned this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants