Commit 1f4177c
committed
fix: Only create darwin examples for hypervisors that work on macOS
Most hypervisors (firecracker, cloud-hypervisor, crosvm, kvmtool,
stratovirt, alioth) require Linux KVM and cannot run on macOS.
Only qemu (via Apple's HVF) and vfkit work on darwin, so only create
example configurations for these two hypervisors on darwin systems.
This removes 24 misleading example configurations that could be built
but never run on macOS:
- aarch64-darwin-{alioth,cloud-hypervisor,crosvm,firecracker,kvmtool,stratovirt}-*
- x86_64-darwin-{alioth,cloud-hypervisor,crosvm,firecracker,kvmtool,stratovirt}-*
Net result:
- Added: 2 vfkit examples (aarch64-darwin, x86_64-darwin)
- Removed: 24 KVM-only darwin examples
- Kept: All Linux examples + qemu darwin examples (HVF)1 parent 95a1204 commit 1f4177c
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
175 | | - | |
176 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| |||
0 commit comments