Commit graph

2,103 commits

Author SHA1 Message Date
Liam
35f8e9333d fix: Use 1 as default sockets value 2024-08-27 10:37:54 +01:00
Chase Covello
070514d449
Fix: set RTC to localtime only for Windows/ReactOS/DOS and UTC for all others (#1429)
* Set RTC to localtime only for Windows/ReactOS/DOS and UTC for all other OS

Windows/ReactOS/DOS conventionally set the system RTC to local time, but Linux/UNIX/macOS use UTC. Guest systems that expect UTC and have the time zone set to local time will have the wrong system clock time at startup until they set the clock with NTP. This is especially an issue for disk images imported from or shared with another VM configuration that uses UTC for non-Windows guests.

* Removed RTC driftfix option for non-Windows/ReactOS/DOS guests

According to the QEMU man page:

    Enable driftfix (i386 targets only) if you experience time
    drift problems, specifically with Windows' ACPI HAL. This
    option will try to figure out how many timer interrupts were
    not processed by the Windows guest and will re-inject them.

This option thus seems unnecessary for other systems and may cause
performance or timekeeping issues, so enable only for
Windows/ReactOS/DOS.
2024-08-27 10:37:21 +01:00
github-actions[bot]
bb103295ea flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.633516%2Brev-8c50662509100d53229d4be607f1a3a31157fa12/0190f691-c019-7d99-b723-4b2dd6dfd38f/source.tar.gz?narHash=sha256-2ShmEaFi0kJVOEEu5gmlykN5dwjWYWYUJmlRTvZQRpU%3D' (2024-07-27)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.634054%2Brev-4a92571f9207810b559c9eac203d1f4d79830073/01914d63-b212-712f-bb11-24565c742847/source.tar.gz?narHash=sha256-%2BCHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o%3D' (2024-08-13)
2024-08-27 10:36:19 +01:00
Phil Clifford
bc2858ecbf fix: dequote editions pipe 2024-08-27 10:35:34 +01:00
github-actions[bot]
a13d554374 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-schemas':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.2/018b3da8-4cc3-7fbb-8ff7-1588413c53e2/source.tar.gz?narHash=sha256-j8SR19V1SRysyJwpOBF4TLuAvAjF5t%2BgMiboN4gYQDU%3D' (2023-10-16)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz?narHash=sha256-G5CxYeJVm4lcEtaO87LKzOsVnWeTcHGKbKxNamNWgOw%3D' (2024-07-26)
• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.632931%2Brev-f12ee5f64c6a09995e71c9626d88c4efa983b488/0190afd7-6008-74ee-a4f6-a75a0a8f29b3/source.tar.gz?narHash=sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE%3D' (2024-07-12)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.633516%2Brev-8c50662509100d53229d4be607f1a3a31157fa12/0190f691-c019-7d99-b723-4b2dd6dfd38f/source.tar.gz?narHash=sha256-2ShmEaFi0kJVOEEu5gmlykN5dwjWYWYUJmlRTvZQRpU%3D' (2024-07-27)
2024-08-02 10:37:50 +01:00
dependabot[bot]
a2c3572512 chore(deps): bump DeterminateSystems/nix-installer-action from 12 to 13
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 12 to 13.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 10:37:28 +01:00
Liam
885d4a84b2 fix: Don't duplicate VM path in fixed ISO from create_config function 2024-07-14 20:00:37 +01:00
Alpha
fc43f861b7 refactor: use unattended windows installation by default
Create unattended windows installation iso by default when creating
windows vms with --create-config.
To disable, pass --disable-unattended

https://github.com/quickemu-project/quickemu/pull/1373/files#r1673481239

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
2024-07-14 20:00:37 +01:00
Liam
d3a95c2fe5 refactor: General improvements to create_config function 2024-07-14 20:00:37 +01:00
Alpha
113bd4d1f5 feat: add --unattended flag to --create-config to create unattend.iso (windows hosts)
Feature request #1369
2024-07-14 20:00:37 +01:00
Alpha
3c50a65df5 refactor: move unattended win installation code inside function
move code necessary for creation of unattended.iso for windows 10 and 11
inside unattended_windows function

Change parameter required for unattended_windows function from
autounattend.xml file to $VM_PATH
2024-07-14 20:00:37 +01:00
Alpha
9276573c02 refactor: move create_config function to the bottom
move it below unattended_windows and web_get functions to reference them
later
2024-07-14 20:00:37 +01:00
github-actions[bot]
8d9c63ff6c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.631440%2Brev-2819fffa7fa42156680f0d282c60d81e8fb185b7/0190034c-678d-7039-b45c-fa38168f2500/source.tar.gz?narHash=sha256-mJi4/gjiwQlSaxjA6AusXBN/6rQRaPCycR7bd8fydnQ%3D' (2024-06-09)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2405.632931%2Brev-f12ee5f64c6a09995e71c9626d88c4efa983b488/0190afd7-6008-74ee-a4f6-a75a0a8f29b3/source.tar.gz?narHash=sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE%3D' (2024-07-12)
2024-07-14 19:57:20 +01:00
Liam
aeb14a717b chore: Remove windowskey from packaging 2024-07-11 10:34:26 +01:00
Liam
00c53fb022 chore: Remove unused dependency windowskey 2024-07-11 10:34:26 +01:00
Martin Wimpress
ca8f81f7fb refactor: display socket hints based on what tools are available 2024-07-04 16:24:26 +01:00
Martin Wimpress
0b1dbb4b9e ci: actually test running a VM 2024-07-04 15:57:02 +01:00
Mandy Schoep
083ee169dd fix: download Fedora Silverblue iso instead of ociarchive file 2024-07-03 17:12:45 +01:00
Martin Wimpress
5568e6d4a9
docs: update FUNDING.yml 2024-07-03 13:37:07 +01:00
Martin Wimpress
b519043ddb fix: make shellcheck happy by removing pointless echo 2024-07-02 16:18:18 +01:00
Martin Wimpress
ec13f369c5 fix: add resolve_quickemu() to quickget so it can locate quickemu 2024-07-02 15:57:59 +01:00
Martin Wimpress
e92fbe95a2 chore: remove ncurses from nix package and devshell 2024-07-02 14:09:29 +01:00
Martin Wimpress
e305c41118 refactor: replace all use of fold with fmt; no need for ncurses 2024-07-02 14:09:29 +01:00
Martin Wimpress
0440ce149b refactor: remove single use error_ functions 2024-07-02 14:09:29 +01:00
Martin Wimpress
8cf007f8eb fix: requesting --help is not an error 2024-07-02 13:37:16 +01:00
Martin Wimpress
66dfa6451a fix: patch samba detection in Nix flake 2024-07-02 13:13:25 +01:00
Martin Wimpress
13f98e32d3
ci: fix workflows 2024-07-02 12:58:54 +01:00
Martin Wimpress
a931b2fc2c ci: add test-build-quickemu.yml 2024-07-02 12:54:52 +01:00
Martin Wimpress
ecfafc8125 chore(ci): clean up test-quickget.yml 2024-07-02 12:54:52 +01:00
Martin Wimpress
f7861a6e7f refactor: update Nix flake to be consistent with the quickgui flake 2024-07-02 02:27:01 +01:00
Phil Clifford
1cf80e7d81 fix: get rounded integer RAM_HOST values 2024-07-02 02:26:41 +01:00
dependabot[bot]
a36d51ac98 chore(deps): bump DeterminateSystems/update-flake-lock from 22 to 23
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 22 to 23.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v22...v23)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 02:09:29 +01:00
Martin Wimpress
93ef5b2f12 docs: update pull_request_template.md 2024-07-01 01:52:26 +01:00
Martin Wimpress
f846d8f9aa chore: drop Windows 8.1 and Windows 10 LTSC
- Windows 8.1 is EOL since January 10, 2023.
- Windows 10 LTSC just doesn't make sense for virtual machines.
2024-06-30 16:17:30 +01:00
Martin Wimpress
90e9bf5087 chore: drop Windows Server 2012 R2
EOL since October 10, 2023.
2024-06-30 16:17:30 +01:00
Martin Wimpress
6a4705e365 refactor: add quoting to tpm condition for window 11 2024-06-30 16:17:30 +01:00
Luke Yelavich
e18b7ed591 feat: Disable copy on write for qcow2 disk images on btrfs
According to qemu-img documentation, it is a no-op for other filesystems.
2024-06-30 13:23:33 +01:00
Luke Yelavich
5d1c8dfc4c fix: Do not set the lazy_refcounts option for raw disk images 2024-06-30 13:23:33 +01:00
Martin Wimpress
811b48cc4e fix: pass relevant arguments to Exec when creating shortcuts. close #1285 2024-06-30 13:14:58 +01:00
Martin Wimpress
52e50f9815 fix: get VM PID early so kill_vm() works reliably 2024-06-30 12:13:58 +01:00
Martin Wimpress
589f2c9a5c refactor: attempt to press any key 5 times during Window boot from CD/DVD 2024-06-30 12:06:54 +01:00
Martin Wimpress
8c10b20fb7
fix: correctly run VMs when PWD is not relative to the VM directory 2024-06-30 12:05:46 +01:00
Martin Wimpress
5e90e336fe fix(windows-server): default to e1000 network device. fixes #1315 2024-06-30 11:52:25 +01:00
Martin Wimpress
e035121f71 docs: add pull_request_template.md 2024-06-30 00:50:19 +01:00
Martin Wimpress
14feb27a8c docs: update SECURITY.md 2024-06-30 00:12:20 +01:00
Phil Clifford
88ae2a100e chore: reflect wiki updates to man page 2024-06-30 00:04:47 +01:00
Martin Wimpress
e34e3c5169 docs: update issue templates 2024-06-30 00:01:08 +01:00
Martin Wimpress
0addc66fb6 docs: update README.md 2024-06-30 00:00:51 +01:00
Martin Wimpress
e0492eac17 docs: remove old issue template 2024-06-30 00:00:00 +01:00
Martin Wimpress
8265298a7e docs: add SECURITY.md 2024-06-29 23:36:14 +01:00