Commit Graph

427 Commits

Author SHA1 Message Date
Martin Wimpress dc81b8c2b3 fix: clean exit returns 0. Fixes #531 2024-04-17 00:12:43 +01:00
Martin Wimpress b6f5b1aeb8 fix: use vmware-svga for old Ubuntu releases. Fixes #966 2024-04-16 23:49:59 +01:00
Martin Wimpress 3c6e803c77 fix: correct align and format Host and CPU information 2024-04-16 23:49:59 +01:00
Martin Wimpress 6266e37eec chore: white space clean up 2024-04-16 22:48:11 +01:00
Martin Wimpress c9f477517a fix: disable HPET based on the version of QEMU being used. Fixes #1001 2024-04-16 22:48:11 +01:00
zen0bit 29be0990fe fix: failing to launch VMs from outside directory
https://github.com/quickemu-project/quickemu/pull/875
2024-04-16 13:08:56 +01:00
Alex Genovese 70cf5c2100 fix sse41 contradiction and cpuid host warnings
Previously grepped for sse4_1
but specified sse4_2

Also needs TSX controls.

See comments at end of #886
2024-04-12 09:50:47 +01:00
Alex Genovese d030221214 revised health checker
milliseconds, almost instant ...

fix for earlier pr which failed on new installs
if disk was not present #848
2024-04-12 09:50:14 +01:00
Martin Wimpress f2087c376b chore: white space clean up 2024-04-11 23:48:44 +01:00
Martin Wimpress 0d5b97e186 chore: update version to 4.9.3. close #458 2024-04-11 23:48:44 +01:00
Chase Covello 26ceeed84b Fix USB input devices after macOS Sonoma update
A recent macOS Sonoma update included a change to the handling of USB controllers that made the virtual keyboard and mouse inoperative. Changing the USB controller from ehci to xhci fixes it. This change also works for Big Sur and later, so the USB controller is set to xhci for Big Sur through Sonoma.
2024-04-11 22:08:12 +01:00
zen0bit 3c221ebdf1 Revert "quickemu default disk size increse"
This reverts commit 48313a94ab56aa0d9272c021de97bbc7e128bb60.
2024-04-11 22:08:12 +01:00
guyosi 6247838abb quickemu default disk size increse
this increases the default disk size from 16 to 32, fixing issues #738  and #944
2024-04-11 22:08:12 +01:00
gmt4 5d497ed2a0 quickemu: Support $disk_format var for $disk_img
This adds disk_format=${disk_format:-qcow2} variable that defaults to
qcow2 format, so the vm.conf files can use $disk_format to specify the
format of the $disk_img when this is different from the default qcow2.
2024-04-11 22:08:12 +01:00
Balazs Kiss ed8d613b8e Add the missing keyboard_layout 2024-04-11 22:08:12 +01:00
stone-w4tch3r f0b4d63412 small help improvement 2024-04-11 22:08:12 +01:00
Liam 98e44bbaa8 Extract the first numerical output from free --giga 2024-04-11 22:08:12 +01:00
Liam b3802a356e Add warning when quickemu does not support smartcard
Co-authored-by: Phil Clifford <philclifford@users.noreply.github.com>
2024-04-11 22:08:12 +01:00
Liam 6216adf6a8 Check whether smartcard is supported 2024-04-11 22:08:12 +01:00
Liam 3e22c2b3de Add support for windows languages & windows server
* Add windows languages, many bugfixes
Entering a release, edition, or OS with only part of a valid one will now throw an error, rather than attempting to download
	i.e. $quickget windows 1 > "ERROR! Windows 1 is not a supported release", rather than attempting to download a nonexistent ISO

* Replace "languages" with "editions" to improve consistency

* Remove unnecessary code, hardcode windows editions to not waste time

* Add windows server, LTSC

* Windows server requires IDE drive

* Update Windows Guests section in README.md

* Improve support for windows server

Add back the language array, change stylization of languages in list
2024-04-11 22:08:12 +01:00
Liam 8ab2590e5b inbuilt macOS downloading
* Fix quickget show-iso-url and test-iso-url creating unnecessary directory

* Beautify output, add show-iso-url and test-iso-url for Windows (fully) and macOS (sorta)

* (NON-FUNCTIONAL) macrecovery shell script.

* Semi-functional (although incomplete) macrecovery shell script
Rough draft. To be completed, cleaned up and simplified (very much so)
hoping to merge into quickemu & replace the python macrecovery dependency.

* macrecovery shell script now successfully downloads the image. TODO: Verification

* Merged macrecovery functions into quickget. Chunkcheck (C) to replace macrecovery's image verification
Chunkcheck written by MCJack123: https://gist.github.com/MCJack123/943eaca762730ca4b7ae460b731b68e7

* Replace C chunkcheck binary with the Python equivalent. Re-add python to dependencies.

* force macOS guests to usually boot with core counts which are powers of 2; fix #865

* Add support for macOS Sonoma

* Fix issue where script would be unable to find chunkcheck if installed system-wide

* Update README verbiage

* Add headers to web_get function; macOS can now be downloaded via aria2; clean up code & output

* Add support for macOS Sonoma

* Fix use of wrong operator (>) which touches a file

* Small correction to README

* macOS switched from wget to default downloader (aria2/wget)

* Replace wget with cURL for downloading macOS chunklist file

* Fix variable naming in generate_id function
2024-04-11 22:08:12 +01:00
zen0bit d680eecbdc Revert "add disk health check"
This reverts commit 0e4fc7e79a.
2024-04-11 22:08:12 +01:00
Alex Genovese 59865c894e add disk health check 2024-04-11 22:08:12 +01:00
Doc Norberg 286ac1bcfe Add options to directly specify VM width and height on cmdline or config 2024-04-11 22:08:12 +01:00
David A Brown d958ae1dbe Redo of quickemu indentation - no code changes. 2023-11-25 16:13:04 +00:00
Phil Clifford b232bbfcfe Align usage() to edited README.md 2023-11-12 17:21:34 +00:00
Martin Wimpress ba1a3f4f3b
chore: bump version to 4.9.1 2023-11-10 14:15:21 +00:00
David A Brown 2a7fca0c7f resizing screen support for wayland 2023-11-10 10:49:10 +00:00
colino17 ca7faf6fad Add "--access" variable to toggle on remote Spice access
Add "--access" variable to toggle on remote Spice access
2023-11-10 10:39:00 +00:00
0x4A6F 9ebf81ba46 chore: bump version to 4.9 2023-11-10 10:32:37 +00:00
Chase Covello 1586042e34 Added support for changing virtual sound hardware
Added new configuration file option "sound_card" and new command-line
switch "--sound-card" to change the virtual sound hardware. Allowed
options are "intel-hda" (default), "ac97", "es1370", "sb16", and "none".
Also changed default sound card for Solaris to "ac97" and for FreeDOS to
"sb16".
2023-10-16 11:41:43 +01:00
Phil Clifford 6eeb3db45c
Improve test for presence of smbd (#754)
Will now work with nix / nixOS

Co-authored-by: omernaveedxyz <omernaveedxyz@users.noreply.github.com>
2023-10-16 11:36:31 +01:00
Alejandro 941b325269 Adjusted check values 2023-10-16 11:35:00 +01:00
zenobit 4e516f7455
fix nproc (#780)
Better handling available cores
2023-10-16 10:50:51 +01:00
Martin Wimpress 513a1b18c9
chore: bump version to 4.8 2023-06-14 12:33:25 +01:00
Martin Wimpress 5d26df5443
fix: detect the 1920x1080 OpenCore firmware 2023-06-14 10:33:05 +01:00
Martin Wimpress b938e9e9e8
feat: add quickemu macOS Ventura support 2023-06-14 10:09:55 +01:00
David Brown a6217167b4 issu590: fixed typo in change that was missing continuing \ 2023-06-14 09:44:42 +01:00
David Brown 8e9fba398d Issue: 591 - line breaks in generated scrip 2023-06-14 09:44:42 +01:00
David Brown d431d91618 Issue 650 - Allow --screenpct which will scale VM's screen size 2023-06-14 09:44:15 +01:00
Chase Covello 215633947e
Add initial Solaris/Illumos/OpenIndiana support (#697)
* Add initial Solaris/Illumos support

* Fix OpenIndiana kernel panic on boot

The OpenIndiana kernel panics on boot in the AHCI driver. Switching the
machine type from "q35" to "pc" seems to fix the issue.

* Fix Illumos/OpenIndiana USB controller issue.

* Add openindiana support

* Updated quickget with current OpenIndiana release

* Change OpenIndiana video card to vmware-svga

OpenIndiana's default Xorg configuration doesn't work with QXL, virtio,
or VGA, but it does with vmware-svga.

* Updated man pages for OpenIndiana support

* Changed default Solaris/OpenIndiana boot to legacy

The OpenIndiana installer defaults to MBR partition table and BIOS boot
code even in EFI mode, so changed quickget to set 'boot="legacy"' in the
configuration file.

---------

Co-authored-by: Phil Clifford <philip.clifford@gmail.com>
2023-04-30 11:51:54 +01:00
Martin Wimpress cb6d6d2ad7
chore: bump version to 4.7 2023-04-26 11:46:18 +01:00
Martin Wimpress bacb7b1a8f
Bump the version to 4.6 2023-02-04 00:24:24 +00:00
Donny Kurnia 23982c3f9d use long hv-* attributes for qemu 6.0.0 2022-12-14 16:37:06 +00:00
Martin Wimpress d13509b5a7
Bump version to 4.5 2022-12-11 20:47:44 +00:00
Dani Llewellyn 9a7ee71804
Revert "macOS: swap disk controller from virtio-blk-pci to ahci"
This reverts commit 881adb289a.
2022-12-11 20:39:46 +00:00
Dani Llewellyn 332f5b59f9
Revert "Defaults: Switch default disk from virtio-blk-pci to virtio-scsi-pci"
This reverts commit fb8deb10e8.
2022-12-11 20:39:29 +00:00
Martin Wimpress 215597eead
Bump version to 4.4 2022-10-21 08:49:14 +01:00
Dani Llewellyn 881adb289a macOS: swap disk controller from virtio-blk-pci to ahci
Currently, the virtio specification does not include provision for the TRIM (aka DISCARD) command that allows a guest operating system to signal the disk hardware that blocks have become unused so that the underlying device may clear the physical data.

The TRIM/DISCARD command was introduced for SSD disks as an extension to the AHCI specification that is used in SATA systems.

With Virtual Machines we can use this command to tell QEMU's Qcow2 driver to reclaim unused space in the disk image. This ensures the disk image file is kept to the smallest size possible where without the TRIM/DISCARD command it grows to it's maximum configured size and never shrinks again when data is deleted.

Let's swap our default disk driver from `virtio-blk-pci` which does not support TRIM to `ahci` which does.

(We cannot use `virtio-scsi-pci` when running macOS, like we do in our default disk device,  because macOS does not support SCSI disks at all on x86_64 systems.)
2022-10-21 08:44:23 +01:00
Dani Llewellyn fb8deb10e8 Defaults: Switch default disk from virtio-blk-pci to virtio-scsi-pci
Currently, the virtio specification does not include provision for the TRIM (aka DISCARD) command that allows a guest operating system to signal the disk hardware that blocks have become unused so that the underlying device may clear the physical data.

The TRIM/DISCARD command was introduced for SSD disks as an extension to the AHCI specification that is used in SATA systems.

With Virtual Machines we can use this command to tell QEMU's Qcow2 driver to reclaim unused space in the disk image. This ensures the disk image file is kept to the smallest size possible where without the TRIM/DISCARD command it grows to it's maximum configured size and never shrinks again when data is deleted.

Let's swap our default disk driver from `virtio-blk-pci` which does not support TRIM to `virtio-scsi-pci` which does.
2022-10-21 08:44:23 +01:00