Commit Graph

403 Commits

Author SHA1 Message Date
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
Martin Wimpress 7db5167cac
Bump version to 4.3 2022-09-22 09:18:25 +01:00
Martin Wimpress ddbbc23d34
Replace discrete Hyper-V Enlightenments with hv_passthrough
https://www.qemu.org/docs/master/system/i386/hyperv.html#supplementary-features
2022-09-22 09:16:41 +01:00
Martin Wimpress 62b258c296
Refactor GUEST_TWEAKS for Windows 2022-09-22 09:13:48 +01:00
Martin Wimpress 19b9e8e910
Drop -smbios 2022-09-22 09:12:46 +01:00
Martin Wimpress 8c1d867110
Enable grab-on-hover for SDL. Fixes #541 2022-09-20 14:18:19 +01:00
Martin Wimpress e97b57352c
Do not use SDL for audio. Close #542
The QEMU manpage states: "This backend is available on most systems, but you should use your platform’s native backend if possible."
2022-09-20 13:53:59 +01:00
Martin Wimpress a29dcef6ed
Apply display= if set in the VM configuration. Close #520 2022-09-20 13:02:48 +01:00
Martin Wimpress 5b14be93e0
Bump version to 4.2 2022-09-19 11:32:44 +01:00
Martin Wimpress d1d7920f0a
Bump version to 4.1 2022-08-19 23:46:51 +01:00
Martin Wimpress b19188c2dd
Update comment 2022-08-19 23:46:31 +01:00
Martin Wimpress b05208c892
Catch reconfigured USB devices for pass-through. Close #433 2022-08-19 22:39:43 +01:00
Martin Wimpress 2e15b1219f
Allow persist MAC addresses for bridged interfaces. Fixes #287 2022-08-19 21:15:36 +01:00
Martin Wimpress ae57996d54
Configure network via VM configuration file. Fixes #478 #418 2022-08-19 18:47:38 +01:00
Martin Wimpress 0ee102dc4b
Do not enable SPICE when GTK or SDL are the selected display. Fixes #466
QEMU 7.0 introduces a change/regression where it is not possible to use GL accerlation via GTK/SDL displays and also bring up SPICE: https://gitlab.com/qemu-project/qemu/-/issues/1036

This patch prevents Quickemu from bringing up SPICE when GTK or SDK are selected as the display.
2022-08-19 17:56:39 +01:00
Martin Wimpress 1b151955b0
Refactor DISPLAY_RENDERER configuration 2022-08-19 17:49:59 +01:00
Martin Wimpress eba2d52ba0
Optimise GPU acceleration for Windows guests 2022-08-19 17:49:08 +01:00
Martin Wimpress b6dbfcbc35
Optimise GPU acceleration for Linux guests 2022-08-19 17:48:26 +01:00
Martin Wimpress c22d0355b9
Refactor Display: status message 2022-08-19 17:42:58 +01:00
Martin Wimpress 92f3466d08
Make shellcheck happy 2022-08-19 17:40:57 +01:00
Martin Wimpress 55384b70b7
White space and comments 2022-08-19 17:40:22 +01:00
Martin Wimpress d0a59e161d
Configure audio device to best match the display 2022-08-19 17:35:08 +01:00
Martin Wimpress 9b5a6a44ac
Ensure only one scanout is present. Ref #222
Run QEMU with '-vga none' to avoid having two scanouts, one for VGA and another for virtio-vga-gl.

 - Workaround for a GTK assertion failure in gtk_widget_get_realized().
 - Allows seamless mouse in macOS when using the qxl-vga device.
 - Enables sane default resolutions in all support macOS versions.
2022-08-19 17:33:50 +01:00
Martin Wimpress 2071816ede
Add initial support for macOS Ventura 2022-08-19 17:20:06 +01:00
Martin Wimpress c147560731
Refactor guest tweak for Batocera, KolobriOS, ReactOS, Haiku & FreeDOS 2022-08-19 17:16:54 +01:00