Martin Wimpress
d5e669441b
Vars refactor: Replace cores with CORES_VM
2020-03-21 10:46:38 +00:00
Martin Wimpress
62b6286564
Vars refactor: Replace allcores with CORES_HOST
2020-03-21 10:45:27 +00:00
Martin Wimpress
bd987f55d2
Vars refactor: Replace disk_curr_size with DISK_CURR_SIZE
2020-03-21 10:43:00 +00:00
Martin Wimpress
74718b2399
Vars refactor: Replace disk_min_size with DISK_MIN_SIZE
2020-03-21 10:41:25 +00:00
Martin Wimpress
21ff829078
Vars refactor: Replace snapshot_tag with TAG
2020-03-21 10:39:09 +00:00
Martin Wimpress
ce523fecdf
Add support for guest_os hinting
...
Adds an optional `$guest_so` variable to the config files. Supported options are `linux` and `windows` which defaults to `linux` if not provided. Allows for OS specific tuning in `quickemu`.
2020-03-21 10:34:21 +00:00
Martin Wimpress
373a83f9a4
Fix a logic error is -vm flag validation
2020-03-21 10:30:25 +00:00
Martin Wimpress
e566e38e9c
Catch missing iso with non-bootable disk scenario
2020-03-21 10:29:48 +00:00
Martin Wimpress
3a367090c2
Make sure all variable are initialised
...
Simplifies initial state evaluation.
2020-03-21 10:28:43 +00:00
Martin Wimpress
aef34c5150
Format tweaks for boot string
2020-03-21 02:28:44 +00:00
Martin Wimpress
5b01d18492
Add virtio-balloon
2020-03-21 02:28:14 +00:00
Martin Wimpress
f910141889
Update video driver status
2020-03-21 02:27:47 +00:00
Martin Wimpress
68f36867c5
Update Windows section in README
2020-03-21 02:27:18 +00:00
Martin Wimpress
3a42311d5e
Update Linux section in README
2020-03-21 02:26:50 +00:00
Martin Wimpress
1efe9daa6b
White space clean up
2020-03-21 01:34:24 +00:00
Martin Wimpress
d40840b7a8
Add option to use QXL driver
...
This is intended for use with Windows 10.
2020-03-21 01:33:56 +00:00
Martin Wimpress
b41fbb38c6
Add details about installing WIndows 10. #7
2020-03-21 00:32:04 +00:00
Martin Wimpress
eadb671b59
Merge remote-tracking branch 'origin/master'
2020-03-21 00:24:37 +00:00
Henrik Danielsson
cfb21db57b
Fix parsing RAM amount on non-English systems. ( #9 )
...
Export LC_ALL=C to force free and friends back to English.
2020-03-21 00:23:11 +00:00
Henrik Danielsson
4b13f3667c
Fixed typo in config example. ( #8 )
...
Added missing closing quote.
2020-03-21 00:20:04 +00:00
Martin Wimpress
c94b6a0a56
Add support for boot and driver ISO image
...
Installing Windows 10 in VirtIO enabled Qemu requires additional drivers. This change makes it possible to exposed those drivers during a Windows 10 install.
2020-03-21 00:11:04 +00:00
Martin Wimpress
e8ddb13e9b
Update README
2020-03-20 21:53:45 +00:00
Martin Wimpress
70b5d8148c
Default to gl=on and clean up graphics status
...
Actually, `gl=on` and `virgil=on` are both required to enable full acceleration. `virgil=on` is not currently working with GTK, so set to off if GTK is used.
2020-03-20 21:48:27 +00:00
Martin Wimpress
b9e6558bd6
Refactor -display configuration build
2020-03-20 20:37:11 +00:00
Martin Wimpress
8bacffc65b
Use USB3 qemu-xhci
...
8 ports assigned all are USB2 and USB3 capable.
2020-03-20 20:36:16 +00:00
Martin Wimpress
8e214447e8
Use new style -netdev
2020-03-20 20:35:11 +00:00
Martin Wimpress
cbe9125730
Set gl=off
...
Turns out `gl=on` is not required for Virgil 3D. In fact having `gtk,gl=on` and `virgl=on` will break rendering.
2020-03-20 20:34:02 +00:00
Martin Wimpress
949c3bf614
qemu-virgil should be installed from the edge channel. Closes #6
2020-03-20 18:58:19 +00:00
Martin Wimpress
65735c9c8d
Add --status-quo option to preserve the existing disk state
...
Starting a VM with `--status-quo` will prevent any changes being committed to the disk image. However, while the VM is boot you can make changes but on next boot none will have been preserved.
2020-03-20 18:35:29 +00:00
Martin Wimpress
588e5de640
Add snapshot usage
2020-03-20 18:22:03 +00:00
Martin Wimpress
a79e16e1b7
Add snapshot management support
2020-03-20 18:17:53 +00:00
Martin Wimpress
fb627583b9
Prevent starting multiple instances of the same VM
2020-03-20 18:16:51 +00:00
Martin Wimpress
d48dc74e95
Catch missing disk configuration early
2020-03-20 18:16:08 +00:00
Martin Wimpress
31c02550d3
Catch error when deleting a disk
2020-03-20 18:12:13 +00:00
Martin Wimpress
91117fb30d
Remove snap restore and slightly refactor disk deletion
2020-03-20 15:34:18 +00:00
Martin Wimpress
ed601549c0
Correct disk initialisation logic
2020-03-20 15:31:24 +00:00
Martin Wimpress
a688c798f5
Correct disk creation/enumeration order
2020-03-20 14:22:22 +00:00
Martin Wimpress
38307c1c0f
Refactor initial disk creation and boot order
2020-03-20 14:18:29 +00:00
Martin Wimpress
510c2e0525
Rename quickemu.sh to quickemu
...
For simplicity.
2020-03-20 13:53:42 +00:00
Martin Wimpress
44ca3689d8
Setup EFI vars device when EFI booting.
...
This also allows Virgil 3D to work when EFI booting
2020-03-20 13:50:01 +00:00
Martin Wimpress
c61c3dad2a
Minor refactor of disk setup.
2020-03-20 13:47:34 +00:00
Martin Wimpress
c4bea19bf2
Use new QEMU -audiodev to setup audio devices
...
Migrate to the new `-audiodev` . This also clearly labels the audio inputs and outputs in audio mixers on the host.
2020-03-20 13:46:18 +00:00
Martin Wimpress
2690663b3b
Refactored so that quickemu is only compatible with qemu-virgil
...
Trying to maintain compatibility with other builds of QEMU going back into the past is futile. Quickemu now only intended to work with the qemu-virgil snap.
2020-03-20 01:49:43 +00:00
Martin Wimpress
db33fc02a7
White space clean up
2020-03-19 23:20:58 +00:00
Martin Wimpress
34147ab202
Detect if a disk has (most likely) not been installed to and handle accordingly
...
The default qcow2 is 197632, so double that and anything smaller is considered unsed. Makes booting to a live session many times easier.
2020-03-19 23:20:46 +00:00
Martin Wimpress
27e5b6a174
Use $QEMU_VER for version based conditionals
2020-03-19 23:18:49 +00:00
Martin Wimpress
75f108ebfd
Find the most suitable QEMU executable automatically
...
The favours `qemu-virgil`. Can be overridden via `--qemu`.
2020-03-19 23:17:45 +00:00
Martin Wimpress
873e49678a
Update README
2020-03-19 21:24:07 +00:00
Martin Wimpress
47b5611aaf
Add OVMF boot logo
2020-03-19 19:22:38 +00:00
Martin Wimpress
0a1a7b3851
Automatically expose the VM via ssh
2020-03-19 17:29:01 +00:00