Martin Wimpress
207ebde501
Remove test stub
3 years ago
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.
3 years ago
Martin Wimpress
ca03a4dada
If EFI boot was requested an no EFI firmware is available, hard stop.
3 years ago
Martin Wimpress
444616022e
Improve error message when no SecureBoot firmware was found.
3 years ago
Martin Wimpress
7a0cf72213
Add reference for Fedora
3 years ago
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
3 years ago
Martin Wimpress
9b96f899ad
Make sure cfi.pflash01always has the secure property set
3 years ago
Martin Wimpress
b9f90d12c3
Disable Suspend to RAM (S3) if SecureBoot or SMM are enabled
3 years ago
Martin Wimpress
a4eddaa9e5
Add SMM support, enabled by default for Windows guests
3 years ago
Martin Wimpress
b6db417b81
Refactor OVMF detection and add SecureBoot support
...
Add 'secureboot="on"' to a VM configuration to enable SecureBoot.
3 years ago
Martin Wimpress
aeb2a64720
Add efi_vars() for copying EFI variable store templates to the VM dir
3 years ago
Martin Wimpress
b8d6b02796
Refactor swtpm support to catch when it is missing
...
Also adds the swtpm laucher to the debug shell script.
3 years ago
Jed Spraul
8bb9003f5a
Halt unless bash 4 or newer
3 years ago
Martin Wimpress
4634212f65
Bump version to 2.2.6
3 years ago
Martin Wimpress
3c2249934a
Disable all disk tuning, for the sake of compatibility. Close #98
3 years ago
Martin Wimpress
32da324717
Correct typo in --ignore-msrs-always argument
3 years ago
Martin Wimpress
936f79590c
Minor comment edit
3 years ago
Martin Wimpress
b915d8d797
Only display MSR alerts when required
3 years ago
Martin Wimpress
a94541c5aa
Order the argument parser
3 years ago
Martin Wimpress
d052d913f9
Order the usage
3 years ago
Martin Wimpress
acf6ef32fa
Add --ignore-msrs-always argument
3 years ago
Martin Wimpress
e493112688
Refactor ignore_msrs_alert to make in non-blocking
3 years ago
Martin Wimpress
119e4dd7ad
White space clean up
3 years ago
Martin Wimpress
af7348caf6
Refactor, and enable, OpenBSD support
3 years ago
Fabian Schmidt
94ecb1b3ec
added openbsd 7 support ( #129 )
...
Co-authored-by: Fabian Schmidt <fabian85@protonmail.com>
3 years ago
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
.
3 years ago
Martin Wimpress
4eb11caa10
Store the pid of the VM
3 years ago
Martin Wimpress
380451df4c
Clean up status messages
3 years ago
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.,
3 years ago
Martin Wimpress
45457c8808
Replace the use of which with command -v
3 years ago
Martin Wimpress
d785c89a38
Add distro, kernel and CPU details to start up messages. Close #96
3 years ago
Martin Wimpress
c3b3f4ee86
Get partial USB SPICE redirection working on macOS. Close #120
3 years ago
Martin Wimpress
2009ffc103
Bump version to 2.2.5
3 years ago
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.
3 years ago
Martin Wimpress
f75c7f402b
Correct status message for killing VMs
3 years ago
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.
3 years ago
Martin Wimpress
f3659e760b
Move 9p mount code outside of the SPICE conditional. Close #85
3 years ago
Martin Wimpress
9de5ea19cf
Correct merge error. Close #83
3 years ago
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>
3 years ago
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.
3 years ago
Martin Wimpress
5ad176155f
Actually honour requested disk_size
3 years ago
Martin Wimpress
fe86d970ec
Try to ensure PUBLIC_TAG stays under 31 chars
3 years ago
Martin Wimpress
6bc4c6202a
Make shellcheck happy
3 years ago
Martin Wimpress
4afaf9b21d
l10n for ~/Public
3 years ago
Martin Wimpress
0d5f393b70
Look for OVMF firmware in common locations. Close #74 Close #75
3 years ago
Martin Wimpress
d2d9bc1f1a
Fix deleting EFI VARS when VM deletion is requested
3 years ago
Martin Wimpress
6d926d66e9
Fix missing ]
3 years ago
Martin Wimpress
6f49efee2f
Correct Samba sharing to use ${PUBLIC}
3 years ago
Martin Wimpress
45b09c1f5e
Bump version to 2.2.4
3 years ago
Martin Wimpress
fd52be1dfb
Do not expose any file sharing if ${PUBLIC} is not set.
3 years ago