Martin Wimpress
|
ff02a7b2cb
|
refactor: move all CPU related configuration to configure_cpu()
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
db04a6686a
|
refactor(macos): tidy up the guest CPU configuration for macOS
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
4a7f4a4932
|
refactor: enable topoext on AuthenticAMD for everything except macOS
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
aaeb413e3e
|
refactor: consolidate KVM_GUEST_TWEAKS into GUEST_TWEAKS
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
8d8c31e136
|
fix: remove Intel extended page table (ept) flag from macOS
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
da42a211d6
|
fix(darwin): emulate a CPU if attempting to run macOS in a VM
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
6985a5f135
|
fix(darwin): workaround machdep.cpu.vendor being invalid on Apple silicon
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
b7ab6f6d36
|
feat: refactor virtualisation accelerators
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
587d218f14
|
fix: use host cpu for macos if it is a GenuineIntel cpu on the host
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
62377a77c0
|
style: show CPU_MODEL in quickemu output
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
d7fe13356c
|
fix(darwin): allow display of 'none'
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
5ab447e18e
|
fix(darwin): update DISPLAY_DEVICE configuration to support cocoa
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
98802b4891
|
refactor(darwin): overhaul CPU configuration
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
83c16dad2c
|
feat: add host and VM architecture; host is hard coded to x86_64
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
cefa2556f3
|
refactor: get QEMU version from qemu-img; avoids architecture complications
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
8f58d0e07c
|
refactor: consolidate and simplify quickget tests
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
f4fbb7dd29
|
fix(darwin): just use uuidgen to create session_id
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
6c07e3acdc
|
fix(darwin): disable huge pages
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
a4818025d8
|
fix(darwin): convert CPU flags from Linux format to Darwin format
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
c3792c61f4
|
fix(darwin): call sw_vers with single switch for improved compatibility
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
085dfea742
|
refactor(darwin): change DARWIN to OS_KERNEL for clear conditionals
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
7e5d26daab
|
refactor: rename HOST_OS to OS_RELEASE
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
eb661221ef
|
refactor: change IN_VM to HYPERVISOR;
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
f14eed78ce
|
fix(darwin): default display to cocoa on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
c5b96cfcd5
|
fix(darwin): disable viewer_param_check() for darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
63409682f2
|
fix(darwin): update display_param_check() to correctly verify displays
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
6528520d0f
|
refactor: check qemu-img, qemu-system-x86_64 and curl are executable
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
989ad37d65
|
fix(quickget): find qemu-img
- close #1224
- close #1229
- close #1234
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
685b2ef742
|
style: add missing function prefix
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
20684681c6
|
feat: detect if running in a VM and use an emulated CPU
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
3d83553d62
|
refactor: add CPU_MODEL variable
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
b8c6465581
|
fix(darwin): do not enable kvm-pit.lost_tick_policy=discard on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
fb103ef072
|
fix(darwin): do not enable kvm=on or kvm_pv_unhalt on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
a67386755e
|
refactor: set NET before any other configuration
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
c194bad2d4
|
fix(linux): resolve regression in check_cpu_flag()
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
79a8f474f7
|
fix(darwin): don't configure braille on darwin; it requires SDL
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
62f6e30c70
|
fix(darwin): don't configure SPICE device on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
0e6fe28141
|
fix(darwin): do not try and change process name on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
2ccfac7ec0
|
feat(darwin): add support for coreaudio on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
4b36aed8c6
|
fix(darwin): correct path to search for firmware on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
57019e72dd
|
wip: disable VT-d for testing
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
f0b41749f6
|
feat(darwin): get the host OS info
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
178619d673
|
feat(darwin): update check_cpu_flag() to support Darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
6000546e35
|
refactor(darwin): make uname use portable between Darwin and Linux
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
c30c4612b5
|
feat(darwin): check if SMT is enabled on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
e1ee983245
|
feat(darwin): disable ignore_msrs_alert() on darwin
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
c4b2216617
|
feat(darwin): search for OVMF in brew paths
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
aeacc82b32
|
feat(darwin): add support for cocoa display
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
22d6932ce2
|
feat(darwin): get host RAM for Darwin and make Linux result consistent
|
2024-05-17 23:18:54 +01:00 |
Martin Wimpress
|
5515a9e7d7
|
feat(darwin): add get_nproc() to support Linux and Darwin
|
2024-05-17 23:18:54 +01:00 |