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
Martin Wimpress
d8417a6abe
Make shellcheck happy
2022-08-18 17:51:55 +01:00
Martin Wimpress
13abd0c5a7
Move MSR warning to an appropriate section of the status messages
2022-08-18 17:51:31 +01:00
Martin Wimpress
3f05e41e13
Clean up status messages
2022-08-18 16:02:59 +01:00
Martin Wimpress
74e72404b4
Automatically press any key when booting Windows install. Close #231
2022-08-18 16:02:35 +01:00
Martin Wimpress
fd105ab8f5
White space clean up
2022-08-18 12:57:24 +01:00
Martin Wimpress
10c35369a1
Don't pass-through the CPU for macOS guest on Intel CPU hosts. Close #502
2022-08-18 10:50:29 +01:00
Deihim Poornader
309057f984
Add udp port forward
...
Add udp port forward, which can be useful for windows rdp udp acceleration.
2022-08-18 09:48:35 +01:00
Deihim Poornader
6474505dc2
Update quickemu
...
Limit spice to localhost, preventing potential unauthorized access.
2022-08-18 09:48:22 +01:00
Dani Llewellyn
e19a2ce837
Remove duplicate option (usb_controller)
...
the default for `usb_controller` is set twice in `quickemu` script.
Remove the second `usb_controller` default setting.
2022-08-18 09:46:29 +01:00
3nprob
8e8c65eac6
Allow overriding some VM arguments via env vars ( #519 )
...
* allow overriding MACHINE_TYPE,MAC_DISK_DEV,NET_DEVICE,SMM via env vars
* allow overriding EFI_CODE,EFI_EXTRA_VARS
2022-08-18 09:45:10 +01:00
Mikael Bak
600ada52ae
Add reactos ( #423 )
...
* Add initial support for ReactOS
* Move code block to be able to override default cdrom settings
2022-08-18 09:44:09 +01:00
Martin Wimpress
54908fa3da
Bump the version to 4.0
2022-08-01 11:21:47 +01:00
MatejSpindler
7ce97daf27
Add multiscreen mode ( #473 )
...
Enable multiscreen with max_outputs for the virtio-vga if user configures max_outputs in the .conf file
2022-08-01 09:23:19 +01:00
infokiller
e8b1b7cb3e
Add support for spice-app ( #510 )
...
* Add spice-app as display option
* Rework how we set the default OUTPUT
variable display is never set and display_param_check is already checked when parsing options
* enable overriding the gl param
3d acceleration is not stable on some setups (looking at you, nvidia)
Co-authored-by: Matej <spindler.matej@gmail.com>
2022-08-01 09:22:12 +01:00
Martin Wimpress
39da52a3bf
Bump the version to 3.16
2022-07-29 11:45:59 +01:00
Martin Wimpress
974c9ab5fa
White space clean up
2022-07-29 09:31:10 +01:00
kaikikokuke
601273de40
Updates MSRs alert comment to include windows ( #507 )
...
Adds windows to MSRs alert comment in addition to macOS
2022-07-24 01:22:01 +01:00
Phil Clifford
ecc37fa329
Additional OVMF paths for recently updated Solus hosts ( #422 )
...
* Extra OVMF search paths needed for Solus
who have moved things around
also spotted a possible typo to investigate in the void additions
* Revert "updated submodule position"
This reverts commit 9648f79b81b5e72465785993bc62469130ac848f.
* minor cleanup
* try realign submodule backwards
2022-07-24 00:59:39 +01:00
Phil Clifford
7d1e909088
Cleanly Add Batocera ( #403 )
...
just batocera
removed leakage from ludos
2022-07-24 00:59:15 +01:00
Radomir Ochtyra
9e368b64bc
Add support for "extra_args" in commandline
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
1174282660
fix code duplication
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
29efdbbdc0
Improve support for keyboard, mouse and usb-controller
...
- add support to choose preferred usb-controller either ehci (USB2.0) or xhci (USB 3.0)
- add support to choose preferred keyboard either ps2, usb or virtio
- add support to choose preferred keyboard-layout
- add support to choose preferred mouse either ps2, usb, tablet, virtio
- fix some bugs regarding missing variables - releated to MONTITOR_TELNET_* and SERIAL_TELNET_*
- Support implemented on commandline as well as for configuration file
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
a13e6735e7
Add support to connect guest-console via serial
...
- support commandline parameter --serial, --serial-telnet-host and
--serial-telnet-port
- support serial options: 'socket', 'telnet' and 'none'
- add support to find free ports for monitor-telnet and serial-telnet
- replace nc with socat
- change default port for monitor-telnet to 4440
- some bugfix
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
bd00b34067
Add support to send command to QEMU-Monitor
...
- Add commandline parameter --monitor-cmd
- Support implemented on commandline as well as for configuration file
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
21788f525d
Add support for qemu-monitor and custom public-directory
...
- Add commandline parameter --public-dir for custom directory
- Add commandline parameter --monitor for qemu-monitor support
- Add commandline parameter --monitor-telnet-host and --monitor-telnet-port to configure qemu-monitor via telnet
- <VMNAME>.ports enhanced to provide data for monitor-telnet
- Support implemented on commandline as well as for configuration file
- Fixed bug regarding extra_args
2022-07-24 00:58:14 +01:00
Radomir Ochtyra
8a2057715c
Add support to reuse remote-client when call command again and support for other clients
...
- add suport for custom ssh-port and spice-port
- add suport for alternate viewer: 'remote-viewer' and 'none'
- support implemented on commandline as well as for configuration file
2022-07-24 00:58:14 +01:00
Martin Wimpress
187da46c3b
Bump version to 3.15
2022-04-22 09:53:12 +01:00
Martin Wimpress
6cea15885b
Bump version to 3.14
2022-03-11 16:17:22 +00:00
Phil Clifford
09a707846c
Fixed boot problems and logic correction in FreeDOS support. Fixes #382 ( #421 )
...
* minor correction in freedos
* freedos fix - boot problems needed smm on
2022-03-11 15:25:36 +00:00
nqvrg
ebc83ebacf
Add FreeDOS support ( #374 )
...
* Add support for FreeDOS 1.2 to quickget
* Add support for freedos guests to quickemu
* Add support for FreeDOS 1.3 to quickget
* Force qemu to keep booting from cd after formatting disk
* Adjust VM settings
* Refactor FreeDOS to use create_vm
* Add FreeDOS to README
* Add unzip to README as a dependency
2022-02-24 22:31:23 +00:00
nqvrg
480b916398
Add some whitespace-formatting rules ( #379 )
...
* Embed whitespace rules for vim at the end of quickemu and quickget files
* Add .editorconfig file with some basic whitepace rules
2022-02-23 11:45:39 +00:00
Martin Wimpress
7fe2980b13
Bump version to 3.13
2022-02-23 09:53:41 +00:00
Martin Wimpress
d1a984ff12
Minor code cleanup
2022-02-23 09:53:27 +00:00
Martin Wimpress
921d06e025
Minor code clean up
2022-02-23 03:33:32 +00:00
Martin Wimpress
6694a3af5f
Test for Windows and macOS before calculating available RAM
...
Prevents throwing a syntax error when launching KolibriOS.
2022-02-22 02:37:44 +00:00
Martin Wimpress
2d271e3176
Tidy up the KolibriOS support
2022-02-22 02:28:04 +00:00
Martin Wimpress
45eaaa08c2
Add GhostBSD
...
Includes MATE and XFCE editions.
2022-02-21 23:32:50 +00:00
Martin Wimpress
2490060192
Refactor Braille support
2022-02-21 07:10:13 +00:00
Martin Wimpress
5bfec8a9d3
Consolidate BSD, Haiku and Linux guests
2022-02-21 05:57:59 +00:00
Martin Wimpress
8f41c4c90f
Drop shorthand options
2022-02-21 05:33:23 +00:00
Martin Wimpress
22c664ad93
Bump the version to 3.12
2022-02-21 05:30:27 +00:00
Martin Wimpress
056afa9575
Fix SPICE audio. Close #272
2022-02-21 05:23:43 +00:00
Blaz
167be4da1d
Add extra_args option in vm conf file ( #280 )
...
* Add extra_args option in vm conf file
I added this simple piece of code for any extra arguments one wants to use.
You just add extra_args variable to your vm conf file.
ex. add host disk partition
extra_args="-drive file=/dev/sdb2,cache=none,if=virtio"
This is the easiest way to "extend" quickemu functionality.
* add missing variable
2022-02-21 02:33:25 +00:00
Blaz
99af8f9923
Update quickemu ( #279 )
2022-02-21 02:32:45 +00:00
Phil Clifford
87c9cdb690
Ovmf secure firmware dedupe ( #356 )
...
* Remove duplicate elif option
This option ended up in twice
* white space
2022-02-19 11:45:02 +00:00
Phil Clifford
ace017236c
Add support for braille terminal ( #310 )
...
* Add support for braille terminal
fixes #307
* Add braille to Readme
* quote tidying
* currently requires sdl display
noted in the docs rather than forcing so if Qemu and/or brtty provide
a solution we will get immediate or easy benefit.
* add needed sdl to braille examples
2022-02-17 10:35:40 +00:00
Martin Wimpress
b933bf77d5
Merge branch 'master' into merging-fixes
2022-02-17 09:49:19 +00:00
Phil
1560060d62
correction to secureboot firmware
2022-01-31 03:19:45 +00:00
Phil
daa730a2d9
Merge branch 'void' into mud-plus-void
2022-01-31 02:19:19 +00:00
Phil
2dcc05abac
Merge remote-tracking branch 'nqvrg/add-haiku'
...
into merging-updated-distros
2022-01-17 04:50:03 +00:00
Phil
f1604ee722
Merge remote-tracking branch 'guinuxbr/master' into merging-updated-distros
2022-01-17 01:52:23 +00:00
zenobit
3ef5ff47bc
added initial support for void linux
2022-01-16 04:38:45 +01:00
Giorgio Gallo
3bcf36f625
Check for both qemu-system-x86_64 and qemu-img
2022-01-03 22:34:39 +01:00
nqvrg
98266009f0
Allow using a different chipset on quickemu
...
Haiku is incompatible with the q35 machine type, as it emulates a ICH9
host chipset. Instad, the "pc" machine type needs to be used (emulates
I44FX).
https://wiki.qemu.org/Features/Q35
2021-12-26 19:22:14 +01:00
Vitaliy Krylov
82be8d324c
Improved support of KolibriOS:
...
CD-ROM (iso), Disk, Internet and Audio are working now.
Also added forced LiveCD booting (because release named latest-iso, not latest-img).
Did some tweaks with '-machine' and '-cpu'. Now these VMs will run with 'qemu32' processor since KolibriOS throw an MTRR error (I didnt get how to fix it by any other way).
2021-12-23 20:36:34 +03:00
Vitaliy Krylov
310d2d3aa1
Adding KolibriOS support
...
It can download and boot this OS. There is one requirement: 7z.
Its not completed yet (at least internet and sound dont work)
2021-12-22 00:13:47 +03:00
guinuxbr
74068d240b
Added openSUSE path for OVMF
2021-12-20 21:51:38 +00:00
Martin Wimpress
12fbf6b02f
Bump version to 3.11
2021-12-08 10:54:41 +00:00
Martin Wimpress
9cf2d9ac3c
Correct OSK location
2021-12-08 10:50:50 +00:00
Martin Wimpress
5eb6a20402
Change USB controller for Big Sur and Monterey to nec-usb-xhci
2021-12-08 10:50:50 +00:00
Martin Wimpress
4325a1e79a
Disable S3 for macOS to try and prevent installs suspending
2021-12-08 10:50:50 +00:00
Martin Wimpress
b40f1d8925
Update OEM fields in quickemu to match unattended
...
Change references to Quickemu Project, instead of Wimpys World
2021-12-08 10:42:54 +00:00
Martin Wimpress
2a0ba4d10a
Enable network during Windows installs
2021-12-08 10:42:54 +00:00
Martin Wimpress
9210054c05
Enable VirtIO for Windows disks
2021-12-08 10:42:54 +00:00
Martin Wimpress
20ca3aff8d
Bump version to 2.3.4
2021-12-06 11:44:22 +00:00
Martin Wimpress
ace30551fc
Always disable S3 on WIndows
...
This should prevent fresh installs from failing during the multiple reboots
2021-12-06 11:38:26 +00:00
Phil
f8aee430ec
Re-disabled network for re-appearance of #115
2021-12-06 11:00:08 +00:00
Martin Wimpress
59e9a73e4c
Clairfy QEMU not found messages
2021-12-03 16:54:33 +00:00
Jinming Wu, Patrick
194b303a54
add a display setting in the conf file
2021-12-03 13:49:34 +00:00
Martin Wimpress
ca0f144351
Bump version to 2.3.3
2021-12-03 11:33:56 +00:00
Martin Wimpress
e6823edde7
Make port scans non-blocking
2021-12-03 11:33:41 +00:00
Martin Wimpress
4f0bbfc667
Add --delete-disk and --delete-vm options. Close #227
2021-12-03 11:33:17 +00:00
Leonardo Brondani Schenkel
566faa97d8
Fix case statement
...
The correct separator is "|" and not ",".
2021-11-15 12:33:32 +00:00
Martin Wimpress
084b632eae
Disable S3 when booting Windows with SecureBoot #162
...
Disabling S3 is required while booting Windows with SecureBoot enable. Disabling S3 is not the cause of #162
2021-11-15 10:41:08 +00:00
Martin Wimpress
f8e7f10ffd
Consistent formatting of GUEST_TWEAKS
2021-11-13 19:07:50 +00:00
Martin Wimpress
20e5b02e43
Disable S3 when SecureBooting Windows on Arch Linux. Close #220
2021-11-13 19:07:30 +00:00
Martin Wimpress
1036cd7ec9
Tune all display devices to have 64MB VRAM. Close #211
...
64MB VRAM is sufficient to run 3840 x 2160 with page flipping., even though qemu support a max of 2560x1600. No need to tune this since 64MB is relatively small in the great scheme of things.
References:
- https://www.ovirt.org/develop/internal/video-ram.html
- https://stafwag.github.io/blog/blog/2018/04/22/high-screen-resolution-on-a-kvm-virtual-machine-with-qxl/
-
2021-11-13 18:52:10 +00:00
Martin Wimpress
95748059b9
Update comments about macOS VirtIO support
2021-11-13 18:18:24 +00:00
Zach Bacon
6d7b87254c
This adds OMVF support in solus
...
however secureboot in OMVF isn't enabled in solus.
2021-11-13 18:17:21 +00:00
Martin Wimpress
e53021d029
When SPICE is requested, also use SPICE for audio. Close #209
2021-11-13 16:30:56 +00:00
Martin Wimpress
16f379e044
Bump version to 2.3.2
2021-11-13 15:57:50 +00:00
Martin Wimpress
5c490be79a
Correct comment indentation
2021-11-13 15:56:58 +00:00
Martin Wimpress
743b051526
Make shellcheck happy
2021-11-13 15:56:36 +00:00
Martin Wimpress
72704684dd
Replace incorrect references to AuthenticIntel with GenuineIntel #223
2021-11-13 15:53:18 +00:00
Martin Wimpress
e5053ec566
Add USB pass-through and WebDAV via SPICE for macOS. Close #223 Close #196
2021-11-13 15:51:58 +00:00
Martin Wimpress
cff40f8db0
Allocate VRAM for all display devices #211
2021-11-13 15:31:40 +00:00
Martin Wimpress
9197e0c981
Fix seamless mouse via SPICE for macOS by only using VGA. Close #222
2021-11-13 15:30:36 +00:00
Martin Wimpress
d3506d1c4a
Remove disabling S3 (Suspend to RAM). Close #162
2021-11-08 15:11:25 +00:00
Martin Wimpress
b38e220f6c
Do not prevent macOS running when AVX2 is absent. Close #201
2021-11-07 23:51:50 +00:00
Gary Graham
979a11ca1b
confused file names
...
added secboot file to non-secboot. whoops. fixed.
2021-11-07 23:26:58 +00:00
Gary Graham
c5e8a8e8e2
ovmf_path_gentoo
...
Add Gentoo's paths for OVMF.
2021-11-07 23:26:58 +00:00
Phil Clifford
2f8b14d2c7
fix for shortcut presumption
2021-11-07 23:24:08 +00:00
Dani Llewellyn
87fea6c845
Re-enable networking during Windows installation ( #193 )
...
* Force Windows VMs to use AHCI for the cdrom and hard disk devices.
* Re-enable networking during Windows installation.
2021-11-07 23:20:50 +00:00
Martin Wimpress
8f832a843b
Revert "Rename swtpm socket". Close #192
...
This reverts commit c5efb7d79d
.
2021-11-01 18:31:57 +00:00
Blaz
82ea95918d
fix for virtio-vga-gl to be usable
...
See https://github.com/wimpysworld/quickemu/issues/107#issuecomment-951943497
2021-10-30 08:58:35 +01:00
Martin Wimpress
81e8a8db9c
Bump version to 2.3.1
2021-10-29 11:27:02 +01:00
Martin Wimpress
cd908c5a85
Bump version to 2.3.0
2021-10-29 09:51:05 +01:00
Martin Wimpress
66fb440359
Bump version to 2.2.9
2021-10-28 22:44:13 +01:00
Martin Wimpress
528064383b
Add support for QEMU Guest Agent
2021-10-27 22:20:57 +01:00
Martin Wimpress
c5efb7d79d
Rename swtpm socket
2021-10-27 22:20:57 +01:00
Adam Fairbrother
6e851ff1c8
Added support for Bridge mode networking. ( #160 )
...
* Added support for Bridge mode networking.
added config file option "bridge"
set to a correctly configured bridge device to enable qemu-bridge-helper
* Added Docs for Bridge network feature
2021-10-27 22:07:14 +01:00
Martin Wimpress
95b5f84816
Bump version to 2.2.8
2021-10-27 15:46:37 +01:00
Martin Wimpress
ea8f459977
Make shellcheck happy
2021-10-27 12:18:10 +01:00
Martin Wimpress
1421492f87
Add initial support for macOS Monterey
2021-10-27 11:56:56 +01:00
Martin Wimpress
5367286915
Unify process related status messages
2021-10-27 11:42:28 +01:00
Martin Wimpress
5c0a7885c9
Reduce wait for swtpm initialisation
2021-10-25 15:57:15 +01:00
Martin Wimpress
835ce6bce5
Minor cleanup
2021-10-25 15:42:33 +01:00
Martin Wimpress
61ac7ad809
Correct typo
2021-10-25 15:42:01 +01:00
Martin Wimpress
205023fd50
Add -display none option. Close #110
...
Using the -display none option will start the VM with SPICE enabled but no display attached. The .ports file in the VM directory can be used to lookup the SSH and SPICE ports used by the VM.
2021-10-25 15:37:17 +01:00
Martin Wimpress
0567229405
Fix VMNAME
2021-10-25 15:14:59 +01:00
Martin Wimpress
ed2ba41cb5
Bump version to 2.2.7
2021-10-25 14:38:33 +01:00
Martin Wimpress
c6659a5b77
Fix shortcuts. Close #141
2021-10-25 14:32:19 +01:00
Martin Wimpress
33adadc988
Make shellcheck happy
2021-10-25 14:31:45 +01:00
Martin Wimpress
3257768677
Derive the absolute VMPATH
2021-10-25 14:31:07 +01:00
Martin Wimpress
91e7e18955
Add support for virtio-vga-gl on QEMU 6.1 and newer. Close #107
2021-10-25 14:03:59 +01:00
Martin Wimpress
4003144cf6
Add ports file. Close #156
2021-10-25 13:40:35 +01:00
Martin Wimpress
5c53dec449
Increase disk_size for macOS and display MSR alerts more often. Close #153
2021-10-25 12:54:41 +01:00
Martin Wimpress
db855be6ed
Fallback to /etc/os-release if lsb_release is not available
2021-10-25 11:17:32 +01:00
Martin Wimpress
23e3da40e3
Remove erroneous EFI_VARS references
2021-10-25 11:17:32 +01:00
Martin Wimpress
0598fb3321
Make sure Legacy boot is in legacy mode
2021-10-25 11:17:32 +01:00
Martin Wimpress
145dc472af
Show full $EFI_CODE path in boot status
2021-10-25 11:17:32 +01:00
Martin Wimpress
207ebde501
Remove test stub
2021-10-25 11:17:32 +01:00
Martin Wimpress
44673e94c6
Add guards for $EFI_CODE and $EFI_VARS
...
Make sure that $EFI_VARS references an actual writable file.
Check if $EFI_CODE reference a symlink, if so resolve the the real file.
2021-10-25 11:17:32 +01:00
Martin Wimpress
ca03a4dada
If EFI boot was requested an no EFI firmware is available, hard stop.
2021-10-25 11:17:32 +01:00
Martin Wimpress
444616022e
Improve error message when no SecureBoot firmware was found.
2021-10-25 11:17:32 +01:00
Martin Wimpress
7a0cf72213
Add reference for Fedora
2021-10-25 11:17:32 +01:00
Martin Wimpress
44bc5faec0
Use the paths to actual firmware on Fedora, rather than to symlinks.
...
Useful reference in this comment: https://bugzilla.redhat.com/show_bug.cgi?id=1929357#c5
2021-10-25 11:17:32 +01:00
Martin Wimpress
9b96f899ad
Make sure cfi.pflash01always has the secure property set
2021-10-25 11:17:32 +01:00
Martin Wimpress
b9f90d12c3
Disable Suspend to RAM (S3) if SecureBoot or SMM are enabled
2021-10-25 11:17:32 +01:00
Martin Wimpress
a4eddaa9e5
Add SMM support, enabled by default for Windows guests
2021-10-25 11:17:32 +01:00
Martin Wimpress
b6db417b81
Refactor OVMF detection and add SecureBoot support
...
Add 'secureboot="on"' to a VM configuration to enable SecureBoot.
2021-10-25 11:16:35 +01:00
Martin Wimpress
aeb2a64720
Add efi_vars() for copying EFI variable store templates to the VM dir
2021-10-25 11:16:35 +01:00
Martin Wimpress
b8d6b02796
Refactor swtpm support to catch when it is missing
...
Also adds the swtpm laucher to the debug shell script.
2021-10-25 11:16:35 +01:00
Jed Spraul
8bb9003f5a
Halt unless bash 4 or newer
2021-10-21 21:28:13 +01:00
Martin Wimpress
4634212f65
Bump version to 2.2.6
2021-10-21 01:47:03 +01:00
Martin Wimpress
3c2249934a
Disable all disk tuning, for the sake of compatibility. Close #98
2021-10-21 00:33:01 +01:00
Martin Wimpress
32da324717
Correct typo in --ignore-msrs-always argument
2021-10-21 00:28:03 +01:00
Martin Wimpress
936f79590c
Minor comment edit
2021-10-21 00:28:03 +01:00
Martin Wimpress
b915d8d797
Only display MSR alerts when required
2021-10-21 00:28:03 +01:00
Martin Wimpress
a94541c5aa
Order the argument parser
2021-10-21 00:28:03 +01:00
Martin Wimpress
d052d913f9
Order the usage
2021-10-21 00:28:03 +01:00
Martin Wimpress
acf6ef32fa
Add --ignore-msrs-always argument
2021-10-21 00:28:03 +01:00
Martin Wimpress
e493112688
Refactor ignore_msrs_alert to make in non-blocking
2021-10-21 00:28:03 +01:00
Martin Wimpress
119e4dd7ad
White space clean up
2021-10-21 00:28:03 +01:00
Martin Wimpress
af7348caf6
Refactor, and enable, OpenBSD support
2021-10-20 23:22:35 +01:00
Fabian Schmidt
94ecb1b3ec
added openbsd 7 support ( #129 )
...
Co-authored-by: Fabian Schmidt <fabian85@protonmail.com>
2021-10-20 22:07:07 +01:00
Phil Clifford
78b9a3f7f2
Politely offer to set ignore_msrs ( #134 )
...
* attempt to offer appropriate setting of ignore_msrs if needed
* Removed done TODO
* Revert "Removed done TODO"
to resolve merge conflict since all TODOS removed upstream
This reverts commit eb18fcf829
.
2021-10-20 01:22:45 +01:00
Martin Wimpress
4eb11caa10
Store the pid of the VM
2021-10-19 20:49:57 +01:00
Martin Wimpress
380451df4c
Clean up status messages
2021-10-19 02:17:23 +01:00
Martin Wimpress
fd901a987c
Disable all network interfaces during Windows install. Close #115
...
During the Windows install network interfaces are completely disabled! This is to allow those users who want to create local accounts to do so.
A side affect is that the first time Windows boots with the QEMU network enabled it will blue screen,
automatically restart and then boot normally with fully functioning networking.,
2021-10-19 01:35:25 +01:00
Martin Wimpress
45457c8808
Replace the use of which with command -v
2021-10-18 16:35:48 +01:00
Martin Wimpress
d785c89a38
Add distro, kernel and CPU details to start up messages. Close #96
2021-10-18 16:26:48 +01:00
Martin Wimpress
c3b3f4ee86
Get partial USB SPICE redirection working on macOS. Close #120
2021-10-18 15:33:06 +01:00
Martin Wimpress
2009ffc103
Bump version to 2.2.5
2021-10-16 11:33:57 +01:00
Yannick Mauray
448e8885e7
Unable to start a linux VM.
...
```
qemu-system-x86_64: -device virtio-vga,xres=,yres=: Parameter 'xres' expects uint64
```
This fixes a typo in the name of the variable used to determine a sane resolution for linux guests.
2021-10-16 10:58:56 +01:00
Martin Wimpress
f75c7f402b
Correct status message for killing VMs
2021-10-15 02:46:15 +01:00
Martin Wimpress
cc397fc088
Only try to coerce the screen resolution of Linux guests
...
This feature was originally developed for Linux guests. macOS doesn't honur it and not Windows automatically installs all the required drivers it is not required for Windows either.
2021-10-15 02:44:41 +01:00
Martin Wimpress
f3659e760b
Move 9p mount code outside of the SPICE conditional. Close #85
2021-10-13 04:16:46 +01:00
Martin Wimpress
9de5ea19cf
Correct merge error. Close #83
2021-10-13 03:31:10 +01:00
navycatt
018fb1c454
Improvments of port scanning. ( #79 )
...
* Fix port scan. Don't send a new line character when scanning.
* Fix port scanning. Possible infinite loop when all range of ports is busy.
Changed port scanning scheme from random to linear because this is the same faster but more predictable.
* Fix port scan. Don't send a new line character when scanning.
echo -n "" for clarity instead of cat < /dev/null
Co-authored-by: navycat <navycat@ultrasparc>
2021-10-09 22:27:47 +01:00
Martin Wimpress
d1afc10857
Detect insufficient RAM for Windows and macOS Close #78
...
Also changes the RAM allocation for the VM to better attempt a working configuration.
2021-10-09 16:51:30 +01:00
Martin Wimpress
5ad176155f
Actually honour requested disk_size
2021-10-09 16:26:06 +01:00
Martin Wimpress
fe86d970ec
Try to ensure PUBLIC_TAG stays under 31 chars
2021-10-09 15:42:42 +01:00
Martin Wimpress
6bc4c6202a
Make shellcheck happy
2021-10-09 15:41:53 +01:00
Martin Wimpress
4afaf9b21d
l10n for ~/Public
2021-10-09 15:41:13 +01:00
Martin Wimpress
0d5f393b70
Look for OVMF firmware in common locations. Close #74 Close #75
2021-10-09 15:28:26 +01:00
Martin Wimpress
d2d9bc1f1a
Fix deleting EFI VARS when VM deletion is requested
2021-10-09 15:27:06 +01:00
Martin Wimpress
6d926d66e9
Fix missing ]
2021-10-09 15:22:18 +01:00
Martin Wimpress
6f49efee2f
Correct Samba sharing to use ${PUBLIC}
2021-10-09 14:34:22 +01:00
Martin Wimpress
45b09c1f5e
Bump version to 2.2.4
2021-10-09 14:32:30 +01:00
Martin Wimpress
fd52be1dfb
Do not expose any file sharing if ${PUBLIC} is not set.
2021-10-09 14:32:06 +01:00
Martin Wimpress
ec89223b22
Reinstate sharing ~/Public is smbd is available. Close #76
...
This is a "bonus item". Samba, specifically smbd, is not a hard requirement of Quickemu, but if present quickemu will enable Samba file sharing.
2021-10-09 14:30:21 +01:00
Martin Wimpress
ca9c01eec2
Bump version to 2.2.3
2021-10-08 15:09:17 +01:00
Martin Tournoij
061c454a82
Deal with systems without xdg-user-dir better
...
My system doesn't have xdg-user-dir, and shows the following errors on
startup:
./quickemu: line 828: xdg-user-dir: command not found
mkdir: cannot create directory '': No such file or directory
basename: missing operand
Try 'basename --help' for more information.
Usage
quickemu --vm ubuntu.conf
You can also pass optional parameters
--delete : Delete the disk image.
--display : Select display backend. 'sdl' (default), 'gtk' or 'spice'
--shortcut : Create a desktop shortcut
--snapshot apply <tag> : Apply/restore a snapshot.
--snapshot create <tag> : Create a snapshot.
--snapshot delete <tag> : Delete a snapshot.
--snapshot info : Show disk/snapshot info.
--status-quo : Do not commit any changes to disk/snapshot.
--fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)
--screen <screen> : Use specified screen to determine the window size.
--version : Print version
From a quick look it should still function correctly, but better to deal
with this case explicitly.
It's only used to get the PUBLIC, which is optional anyway. If I install
it then it just returns ~, at which point it's set to "" anyway.
I also removed it from the list of "requirements" for this reason.
This also deals with an edge case I happened to notice: "xdg-user-dir
PUBLICSHARE" returns "/home/martin/" on my system, whereas $HOME is
"/home/martin", so the equality check fails. This is arguable a problem
in xdg-user-dir, but better to fix it here. This only deals with a
single slash (multiple slashes is harder in bash), which should be
sufficient.
2021-10-08 14:50:45 +01:00
Edward Betts
6332e037a0
Correct a spelling mistake
2021-10-08 14:48:48 +01:00
Martin Wimpress
d7e2407bc9
Correct typo
2021-10-08 02:42:08 +01:00
Martin Wimpress
632f1c682c
Bump version to 2.2.2
2021-10-08 02:04:50 +01:00
Martin Wimpress
d191d0da44
Add unattended configuration for Windows 10 and 11
...
Automates some of the install/configuration steps for Windows 10 and 11, most notably essential drivers and disk formatting.
2021-10-08 02:04:30 +01:00
Martin Wimpress
8106026fd0
Use usb-mouse instead of usb-tablet on FreeBSD
2021-10-07 21:57:22 +01:00
Martin Wimpress
4d8e619988
FreeBSD 12 and 13, like Linux, both fully support VirtIO
...
Treat FreeBSD like Linux for basic optimisation.
2021-10-07 20:29:47 +01:00
Martin Wimpress
5e5b68f4f4
Bump version to 2.2.1
2021-10-07 16:11:58 +01:00
Martin Wimpress
d49bcb3452
Always boot macOS via OpenCore
2021-10-07 16:05:10 +01:00
Martin Wimpress
7553e77b11
Improve disk used heuristics. Disk preallocation is disabled by default (again)
2021-10-07 15:56:06 +01:00
Martin Wimpress
fcc050ed82
When deleting a disk, also remove the EFI vars
2021-10-07 15:54:24 +01:00
Martin Wimpress
90669add62
Bump version to 2.2.0
2021-10-06 11:01:53 +01:00
Martin Wimpress
023185291e
Add TPM support.
2021-10-06 11:01:33 +01:00
Martin Wimpress
a6847d41aa
Refactor topoext
2021-10-05 23:17:17 +01:00
Martin Wimpress
50ce992c1d
Minor clean up
2021-10-05 23:13:59 +01:00
Martin Wimpress
bc0ce93b82
Add topoext for AMD CPUs to enable hyperthreading
2021-10-05 23:13:40 +01:00
Yannick Mauray
ee774d2584
Fixed : problem with the generated shell script.
2021-10-05 20:09:24 +01:00
Martin Wimpress
3e49d4b154
Tidy MAC_BOOTLOADER
2021-10-05 00:17:51 +01:00
Martin Wimpress
1bce0374f4
Change $disk to $disk_size
2021-10-05 00:03:03 +01:00
Martin Wimpress
021e176026
Indentation correction
2021-10-05 00:02:21 +01:00
Martin Wimpress
9ac49a94d2
Make nested case statements easier to follow
2021-10-05 00:01:51 +01:00
Martin Wimpress
199952a13e
Replace PID in message with force kill details
2021-10-04 23:52:13 +01:00
Martin Wimpress
2fe80e1fe5
Check CPU capabilities, don't assume.
2021-10-04 23:47:37 +01:00
Martin Wimpress
0a56dea565
Add check_cpu_flag()
2021-10-04 23:46:43 +01:00
Martin Wimpress
62fb6690db
Minor refactor of macOS DISPLAY_DEVICE
2021-10-04 22:25:29 +01:00
Martin Wimpress
faf38a2f5d
Refactor CPU/SMP configuration to reflect host CPU sockets and threads
2021-10-04 22:24:37 +01:00
Martin Wimpress
1c53d86004
Consolidate start up status messages
2021-10-04 22:19:37 +01:00
Martin Wimpress
9611080f50
Correct MAC_DISK_DEV
2021-10-04 22:15:15 +01:00
Martin Wimpress
bd3b24ee71
Refactor DISPLAY_DEVICE for Linux guests
2021-10-04 17:50:19 +01:00
Martin Wimpress
e6c7603864
Tweak DISPLAY_DEVICE based on macOS release
...
Do not try and coerce the screen resolution on macOS. Resolution is defined via System Preferences only on macOS.
qxl is the display device on Catalina and Big Sur and VGA is used on Mahave and High Sierra.
bochs-display also appears to work correctly on Big Sur providing the QEMU moniotor is set to none, which Quickemu does by default.
2021-10-04 17:49:37 +01:00
Martin Wimpress
2a344f6fad
Add -no-hpet to macOS guest configurations
2021-10-04 17:35:07 +01:00
Martin Wimpress
561d04a2b5
Add macos_release VM configuration variable. Tune macOS based on release
...
Tune Qemu optimisations based on the macOS release, or fallback to lowest common supported options if macos_release is not specified.
2021-10-04 17:34:31 +01:00
Martin Wimpress
c240a17bda
Correctly disable mixing-engine for audio output
...
Add a note to the README that audio is not working at all on macOS Big Sur
2021-10-04 17:29:47 +01:00
Martin Wimpress
faeefcfb50
Always expose virtio-rng-pci
...
macOS Big Sur support virtio-rng-pci, so always expose it for simplicity as it doesn't matter if the guest OS doesn't support the device
2021-10-04 17:27:49 +01:00
Martin Wimpress
82f28a83ee
Correct disk order and boot priorities
...
Optimise disk performance where possible and use consistent drive ids for all boot environments.
2021-09-30 19:03:28 +01:00
Martin Wimpress
d6cbcf29ee
Don't honour --status-quo when boot macOS recovery
2021-09-30 19:00:42 +01:00
Martin Wimpress
6ea4fa812f
Don't download macOS firmware/bootloader at runtime
...
quickget it the tool to acquire macOS with compatible firmware and bootloader. quickemu is backwards compatible with Clover.
2021-09-30 18:59:00 +01:00
Martin Wimpress
5b74011219
Assorted string tweaks.
2021-09-30 17:40:40 +01:00
Martin Wimpress
e2fed9c51f
Simplify boot conditional
2021-09-29 04:11:26 +01:00
Martin Wimpress
9cb78e1fb7
Double quote "${floppy}" variable
2021-09-29 04:10:54 +01:00
Martin Wimpress
36f6c782ec
Use correct path for shortcut deletions
2021-09-29 04:10:20 +01:00
Martin Wimpress
eac94b6a6f
Text output/display improvements
2021-09-29 04:09:58 +01:00
Martin Wimpress
165e615a41
Use a variable for the virtio-9p tag and alert permission fix for macOS
2021-09-29 04:09:08 +01:00
Martin Wimpress
f190117a8a
Refactor EFI/Legacy BIOS logic
2021-09-29 03:32:55 +01:00
Martin Wimpress
2fa3a1319d
Correct path for shortcut creation
2021-09-29 03:31:46 +01:00
Martin Wimpress
2f992c5941
Minor text/display improvements
2021-09-29 03:31:14 +01:00
Martin Wimpress
01fca96f28
Add support for virtio-9p
2021-09-29 03:30:16 +01:00
Martin Wimpress
d63a57a26f
Only expose ~/Public on the host to to guests
...
Not actually ~/Public but XDG PUBLICSHARE
2021-09-29 03:27:28 +01:00
Martin Wimpress
bc2680c198
Replace rot13 with a tr implementation
2021-09-29 03:21:36 +01:00
Martin Wimpress
418c633546
Optimise disk performance
2021-09-28 22:48:38 +01:00
Martin Wimpress
a611aa6005
Add disk preallocation support
...
preallocation=metadata is now the default as it offers the best size/performance.
2021-09-28 22:47:26 +01:00
Martin Wimpress
ad7f4a2aef
Optimise RTC
2021-09-28 22:44:24 +01:00
Martin Wimpress
d08f64a9b6
Optimise Hyper-V Enlightenments
2021-09-28 22:43:46 +01:00
Martin Wimpress
e5a0bdf876
Add floppy disk image support
2021-09-28 19:01:44 +01:00
Martin Wimpress
454b639df4
Fill out SMBIOS entries
2021-09-28 17:44:02 +01:00
Martin Wimpress
7ebc66cc50
Add --version argument
2021-09-28 17:43:38 +01:00
Martin Wimpress
494d3ca22a
Fix VGA VRAM allocation
2021-09-28 17:38:06 +01:00
Martin Wimpress
232bddeed6
Optimise Hyper-V Enlightenments
2021-09-28 17:37:40 +01:00
Martin Wimpress
c755e10405
Overwrite the log for each VM launch
2021-09-28 15:51:06 +01:00
Martin Wimpress
4f68841daa
Minor disk configuration refactor
2021-09-28 15:50:24 +01:00
Martin Wimpress
c83b0ff7fc
Only expose org.spice-space.webdav.0 on Linux and Windows
...
Not supported on macOS
2021-09-28 15:49:46 +01:00
Martin Wimpress
f9d1bc21a1
White space cleanup
2021-09-28 15:48:18 +01:00
Martin Wimpress
ab994d3859
Only expose virtio-rng-pci to Linux and Windows
...
Not supported on macOS
2021-09-28 15:47:32 +01:00
Martin Wimpress
9378d6b637
Refactor video configuration
...
macOS now ignores any resolution coercion. Display resolution on macOS is now configured via macOS System Preferences only.
2021-09-28 15:43:18 +01:00
Martin Wimpress
fc2331ae92
Switch macOS video device to qxl by default
2021-09-28 15:40:00 +01:00
Martin Wimpress
3527001973
Add $virtio_blk to disable VirtIO Block Media
...
Currently only required for macOS High Sierra and Mojave
2021-09-28 15:37:36 +01:00
Martin Wimpress
f60e92d80e
Change $driver_iso to $fixed_iso
...
Compatibility for configurations using $driver_iso is preserved.
2021-09-28 15:32:12 +01:00
Martin Wimpress
ac13c5875a
Do not use VirtIO Balloon on macOS
2021-09-28 15:27:02 +01:00
Martin Wimpress
b4ec24fa07
Fix Hyper-V Enlightenments
2021-09-28 05:03:40 +01:00
Martin Wimpress
a4cfed64e1
Minor code clean up
2021-09-28 02:14:30 +01:00
Martin Wimpress
7e04f471bc
Only connect a CD/DVD to macOS when an ISO image is presented
2021-09-28 02:13:54 +01:00
Martin Wimpress
bf461eb966
Drop macOS High Sierra support
...
High Sierra doesn't support VirtIO Disk devices so dropping support from Quickemu.
2021-09-28 02:11:06 +01:00
Martin Wimpress
eee84e0c0b
Minor clean up
2021-09-27 22:53:34 +01:00
Martin Wimpress
b96587dabd
Optimise guest CPU for Windows
2021-09-27 22:53:18 +01:00
Martin Wimpress
58faf5c299
Optimise guest CPU for macOS
2021-09-27 22:52:56 +01:00
Martin Wimpress
2609189dbb
Add NET_DEVICE and USB_HOST_PASSTHROUGH_CONTROLLER variables
...
macOS doesn't support USB3 in Qemu and needs a different network interface device from Linux and Windows.
2021-09-27 22:51:48 +01:00
Martin Wimpress
89e61c4e9e
Refactor VM configuration builder using an array or arguments
...
Also create a (non-executable) shell script in the VM directory which includes the last used VM configuration.
2021-09-27 22:50:06 +01:00
Martin Wimpress
0dcbe75fb5
Refactor web_get() and add progress
2021-09-27 22:47:10 +01:00
Martin Wimpress
3a86f6c2dd
Add host CPU vendor detection
2021-09-27 22:46:26 +01:00
Martin Wimpress
0237499331
Default to sane disk image size based on OS
2021-09-25 23:26:50 +01:00
Martin Wimpress
01ca84566a
Default to EFI booting
2021-09-25 23:25:18 +01:00
Martin Wimpress
5ed1904f64
Migrate macOS to OpenCore bootloader
2021-09-25 22:50:00 +01:00
Martin Wimpress
a6fc0cac56
Reorder variables
2021-09-25 13:57:22 +01:00
Martin Wimpress
63c32ae0c3
Minor code corrections
2021-09-25 13:42:04 +01:00
Martin Wimpress
780735cce6
Qemu version check is now major/minor version only
2021-09-25 13:41:37 +01:00
Martin Wimpress
d88ae70aa8
Make usage() match README.md
2021-09-25 13:40:52 +01:00
Martin Wimpress
df4f12a3ad
Refactor enable_usb_passthrough()
...
USB host pass-through no longer builds a script and executes it. It will now display any required USB permission changes and halt execution until they are correct.
2021-09-25 13:38:54 +01:00
Martin Wimpress
f18d8e994e
Refactor qemu launcher
...
Disks, network device, Smartcard and USB pass-through are exported platform specific variables then composed in a single launcher.
2021-09-25 13:35:02 +01:00
Martin Wimpress
bf69f54d74
Add initial SPICE support. Close #35 Close #51 Close #53
2021-09-25 13:30:56 +01:00
Martin Wimpress
29e4922e6e
Refactor ssh port forwarding
2021-09-25 13:14:32 +01:00
Martin Wimpress
f7bcd3ccf5
Refactor CPU and graphics configuration
2021-09-25 13:13:26 +01:00
Martin Wimpress
f061c3a67f
Drop smbd support
2021-09-25 13:08:56 +01:00
Yannick Mauray
288d779e2c
Feature : --screen option
...
This option allows to select which screen is used to compute the window's size. Usefull when the main monitor is not the smallest one, and the VM doesn't need to be moved around. Also mandatory to make the fullscreen mode work properly.
2021-09-24 11:25:46 +01:00
Yannick Mauray
3e0d45e660
Fixed : -full-screen option to qemu
...
The option is -full-screen and not --full-screen, and should not be part of the -device option
2021-09-24 11:00:47 +01:00
Yannick Mauray
d083b69ec7
Fixed a typo
2021-09-21 10:27:34 +01:00
Martin Wimpress
334c137c99
Remove obsolete code.
2021-09-07 12:38:15 +01:00
Martin Wimpress
960056b9d9
Use standard VGA if an unknown guest OS is presented
2021-09-07 12:37:59 +01:00
Martin Wimpress
57f888ae4c
More shellcheck compliance. Closes #38 Closes #44
2021-09-07 12:35:33 +01:00
Martin Wimpress
5912d669b1
White space clean up
2021-09-06 22:27:06 +01:00
Martin Wimpress
5d5d925469
Remove unused arguments
2021-09-06 22:26:48 +01:00
Martin Wimpress
afaad48fbf
Correct syntax for deprecated shorthand code
2021-09-06 22:25:54 +01:00
Martin Wimpress
943612589b
Add a check for minimum support Qemu version
2021-09-06 22:24:20 +01:00
Martin Wimpress
0332b23b31
Update graphics/resolution support for new Qemu
2021-09-06 22:23:10 +01:00
Martin Wimpress
8c642fd3ef
Remove dependency on qemu-virgl
2021-09-06 22:21:06 +01:00
Martin Wimpress
3124138e47
Cater to high ram systems
2021-09-06 15:31:07 +01:00
Martin Wimpress
c368e7ee9e
Cater for high core count systems
2021-09-06 15:30:41 +01:00
Martin Wimpress
211e5ca90c
Add missing function keyword
2021-09-06 15:30:01 +01:00
Martin Wimpress
ad13351455
Make shellcheck happy
2021-09-06 15:29:37 +01:00
Martin Wimpress
c4bc80f0ad
Removed unused variable
2021-09-06 15:28:15 +01:00
Martin Wimpress
170bff092a
Correct typo
2021-09-06 15:27:49 +01:00
Ben
628d1ee088
Added Basic SMB Managment ( #43 )
...
Co-authored-by: Sec Scout <secscout@localhost.localdomain>
2020-10-20 09:49:56 +01:00