Commit Graph

2157 Commits

Author SHA1 Message Date
Martin Wimpress 9fe835d107 fix(quickreport): discover quickemu if not in the PATH. close #1235 2024-05-24 09:38:58 -04:00
Martin Wimpress 1fea6b46c2 feat: add timeout and retry to web_check() 2024-05-24 09:38:58 -04:00
Martin Wimpress 7bfeb7721e fix(freebsd): filter out 14.1; it is not released yet. close #1231 2024-05-24 09:38:58 -04:00
Martin Wimpress 143e3574fb chore: limit nixos to recent releases 2024-05-24 09:38:58 -04:00
Martin Wimpress 6e01e38298 chore: limit deepin to 10 releases 2024-05-24 09:38:58 -04:00
Martin Wimpress 1e7714a1af refactor(debian): only return the latest releases from each release 2024-05-24 09:38:58 -04:00
Martin Wimpress 5e96af3eca chore!(ubuntu): remove EOL releases 2024-05-24 09:38:58 -04:00
Martin Wimpress 590bd560cb fix(quickget): remove use of grep -P and replace with portable equivalent 2024-05-24 09:38:58 -04:00
Martin Wimpress 7f250ed1b0 fix: make sure all use of head and tail is portable. close #1238 2024-05-24 09:38:58 -04:00
Martin Wimpress dbe9f612fb fix: handle multiple CPU models returned via lscpu; Asahi Linux for example 2024-05-17 23:18:54 +01:00
Martin Wimpress b009e5cef5 feat: improve compatibility of macOS on non-Intel host CPUs
Adapted from https://github.com/quickemu-project/quickemu/issues/1114#issuecomment-2115516935

Tested full installs of Mojave, Catalina, Big Sur, Monterey, Ventura and Sonoma on AMD Ryzen 5950X. Performed updates post-install and installed Revolutionator.
2024-05-17 23:18:54 +01:00
Martin Wimpress 023a7355db doc: add comments about improving detection of running in a VM 2024-05-17 23:18:54 +01:00
Martin Wimpress 1b6cf0ad69 fix(wsl): suppress error getting sys_vendor when running on WSL2 2024-05-17 23:18:54 +01:00
Martin Wimpress 3e6acd8c98 feat: best guess for arach64 VMs on aarch64/arm64 hosts 2024-05-17 23:18:54 +01:00
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