Commit Graph

321 Commits

Author SHA1 Message Date
Sergei Trofimovich
cc1d2f5bf5 qemu: 8.2.1 -> 8.2.2
Changes: https://lore.kernel.org/all/1709577077.783602.1474596.nullmailer@tls.msk.ru/T/
2024-03-05 21:37:06 +00:00
Shea Levy
d422836d72
qemu: 8.2.0 -> 8.2.1 2024-01-30 08:31:46 -05:00
Robert Scott
9a9ed628da qemu: add patch for CVE-2023-6693 2024-01-28 11:14:57 +01:00
Nick Cao
03ed7bac5b
qemu: enable rutabagaSupport only if rutabaga_gfx is available on host platform 2024-01-15 12:16:43 -05:00
qubitnano
7d993cf0b9 qemu: fix virtio-gpu display issues 2024-01-09 15:33:51 +01:00
Alyssa Ross
b4db0582a1
qemu: add rutabaga support 2024-01-09 00:23:05 +01:00
Alyssa Ross
fc38d28b26 qemu: 8.1.3 -> 8.2.0 2023-12-26 17:12:04 +01:00
Alyssa Ross
4db6d0ab3a qemu: 8.1.2 -> 8.1.3 2023-11-29 14:04:40 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Robert Hensing
310e449b04 qemu: Build qemu-utils on ofborg
Makes sure that the qemu-utils build succeeds when qemu-utils is
about to be updated. It's a bit of an odd build perhaps, so it's
good to check that it still builds.
2023-10-29 11:33:11 +01:00
Robert Hensing
0dd2112aa6 qemu-utils: Rework as an emulatorless qemu build
Benefits

  - Reduce the derivation closure.
      - This reduces rebuilds and makes derivations that use
        qemu-utils less susceptible to build errors.
  - Includes extra qemu tools that weren't included before.
  - Removes fragile binary copying (old qemu-utils impl).
      - Can't forget to copy somethat that a binary needs.
      - Less custom packaging is better.

Cost

  - Adds an 80 second build, but the time is offset by rebuilding
    its dependents less.

  - The output of qemu-utils goes from ~7 MB to ~40 MB, but it
    provides more functionality.
2023-10-29 11:33:11 +01:00
Sergei Trofimovich
fda60c836d qemu: 8.1.1 -> 8.1.2 2023-10-18 02:45:14 +01:00
Sergei Trofimovich
a7e7daf60d qemu: 8.1.0 -> 8.1.1 2023-09-25 06:28:00 +00:00
André Vitor de Lima Matos
5b0ed68c10 qemu: add pipewire support (8.1 feature) 2023-09-07 08:40:56 +00:00
Alyssa Ross
8c27922a0e qemu: 8.0.4 -> 8.1.0 2023-09-04 08:51:56 +00:00
Robert Scott
d9201bf799
Merge pull request #251114 from alyssais/qemu-finalPackage
qemu_kvm.tests: use finalPackage
2023-08-24 19:26:54 +01:00
Alyssa Ross
045910a1a3 qemu-utils: copy from qemu_kvm, not qemu
qemu_kvm is a much smaller build, so it's nicer if you're building
qemu-utils specifically.  None of the tools depend on the emulation
targets disabled in qemu_kvm.

The tools are copied, not linked, so we don't have to worry about
potentially depending on both qemu_kvm and qemu in a bigger
derivation, and qemu_kvm is already built by Hydra, so there's no
increase in Hydra workload by using the variant.
2023-08-24 07:15:13 -07:00
Alyssa Ross
6e980e6458
qemu_kvm.tests: use finalPackage
This makes qemu_kvm.tests do the right thing — building qemu_kvm with
tests enabled.  Previously, it would always build qemu, so all targets
would be enabled, even if accessed through qemu_kvm.tests.
2023-08-24 07:48:17 +00:00
Sergei Trofimovich
8af0d023f6 qemu: 8.0.3 -> 8.0.4
While at it added a trivial updater.

Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg981379.html
2023-08-23 20:27:03 +00:00
Sergei Trofimovich
81e0627e5f qemu: 8.0.2 -> 8.0.3
Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg975665.html
2023-07-22 13:54:25 +01:00
Alyssa Ross
3d4b845beb
qemu: 8.0.0 -> 8.0.2 2023-06-06 11:30:34 +00:00
David Gonzalez Martin
27e3c0da44 qemu: add capstone support
Currently using the -d in_asm flag in QEMU does not report any
dissassembly. This fixes it.
2023-05-18 13:03:23 +00:00
Adam Joseph
c407873d50 qemu: allow to disable generation of documentation
I've been having trouble with some qemu builds since the v8.0.0 bump
failing with:

```
kernel-doc 'perl /build/qemu/docs/../scripts/kernel-doc -rst -enable-lineno -sphinx-version 5.3.0 -Werror /build/qemu/docs/../include/qemu/bitops.h' processing failed with: [Errno 2] No such file or directory: 'perl'
```

... this happens despite `perl` being part of `stdenv`.  Adding
`perl` to `nativeBuildInputs` doesn't seem to fix it.  It is handy
to be able to simply skip the docs in situations like this in order
to maintain forward progress, so this commit adds `enableDocs?true`
to allow that.
2023-04-22 00:24:23 +03:00
Alyssa Ross
10a0be03de qemu: 7.2.1 -> 8.0.0
Now that shaderinclude is Python, I don't think we need Perl any more.

virtiofsd has been removed in favor of the standalone virtiofsd package.

Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>
2023-04-20 13:22:20 +00:00
github-actions[bot]
e88cc8f10e
Merge master into staging-next 2023-04-09 18:01:15 +00:00
Alyssa Ross
3c384353a6 qemu: 7.2.0 -> 7.2.1 2023-04-09 14:36:34 +00:00
Vladimír Čunát
4eaca2b138
Merge #188492: glibc: 2.35-224 -> 2.37-8
...into staging
2023-04-03 20:29:07 +02:00
Ivan Babrou
fd56470768 qemu: fix dangling virtiofsd symlink warning
This issue goes away with the change:

```
warning: creating dangling symlink `/nix/store/...//bin/virtiofsd' -> `/nix/store/...-qemu-host-cpu-only-7.1.0/bin/virtiofsd' -> `../libexec/virtiofsd'
```
2023-04-02 09:04:03 +10:00
Maximilian Bosch
26495c833f
qemu: fix build w/ glibc-2.37
Failing Hydra build: https://hydra.nixos.org/build/214419156
Relevant upstream thread: https://lore.kernel.org/qemu-devel/20230110174901.2580297-1-berrange@redhat.com/
2023-04-01 10:35:48 +02:00
dramforever
08e6d08ace qemu: Remove --cpu= flag
'./configure --cpu=$(uname -m)' (essentially) breaks the case of riscv,
where the configure script expects '--cpu=riscv', but 'uname -m' gives
'riscv{32,64}'. This eventually leads to user-mode emulation being
disabled.

Since the configure script can auto-detect the parameter based on
compilers, remove this flag.

Originally added in #147692, but apparently it's not needed and @NickCao
couldn't remember why it was added. See also mailing list discussion at
https://lore.kernel.org/qemu-devel/20230204112502.2558739-1-mjt@msgid.tls.msk.ru/T/
2023-02-10 00:02:36 +08:00
dramforever
f70071e41d qemu: fix cross compilation, again
The python dependencies were fixed for cross in #147692, but the changes
are reversed #190560 due to concerns of accidentally mixing python
versions. Compromise by using python3Packages.python.
2023-02-09 21:55:51 +08:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Scott
0c924ec948 qemu: 7.1.0 -> 7.2.0 2022-12-17 01:47:29 +00:00
Atemu
0524da67eb qemu: enable spiceSupport on Darwin
spice works on Darwin now
2022-10-28 13:10:13 +02:00
Robert Scott
ceee8090d1 qemu: add patch for CVE-2022-3165 2022-10-17 20:25:21 +01:00
Sandro Jäckel
2861239144 qemu: cleanup 2022-10-17 01:29:54 +02:00
Weijia Wang
5353c75388 qemu: add vmnet support 2022-10-13 18:56:19 +00:00
Linus Heckemann
7b30788245 qemu: add patch improving 9p performance
This patch has been accepted by the upstream 9p subsystem maintainer
and should improve the performance of NixOS tests massively.
2022-10-13 18:15:01 +02:00
oxalica
4f74ae0d99 qemu: add canokeySupport 2022-10-04 00:59:26 +08:00
oxalica
b3ca7c9f7b canokey-qemu: init at unstable-2022-06-23 2022-10-04 00:59:26 +08:00
Sandro Jäckel
a87d3f897b
qemu: make sure to not mix python versions 2022-09-09 22:39:25 +02:00
Alyssa Ross
39958a329f qemu: 7.0.0 -> 7.1.0 2022-09-02 07:15:59 +00:00
Robert Scott
444208798a qemu: add patch for CVE-2020-14394 2022-08-28 19:20:43 +00:00
Robert Scott
02ca06405e qemu: add patches for CVE-2022-0216 2022-08-28 19:20:43 +00:00
Alyssa Ross
ab0af3267f
Revert "qemu: fix build w/glibc-2.33"
This reverts commit 04be5ced7e.

Builds fine without the change now, so presumably either Glibc, QEMU,
or both, fixed this in the meantime.
2022-08-05 15:56:36 +00:00
Martin Weinelt
4af35d92a0
python3Packages.sphinx-rtd-theme: rename from sphinx_rtd_theme 2022-08-03 18:39:37 +02:00
Robin Gloster
b2d221795b
qemu: fix CVE-2022-35414 2022-07-25 17:14:57 +02:00
Yuriy Taraday
b0bffdd36f qemu: Add patch to fix 9p support on Darwin
This patch fixes issues with error codes on Darwin host and Linux guest.
It has landed in QEMU master, so should be included in the next release.

Related to #108984.
2022-07-17 10:28:58 +04:00
Arthur Gautier
934a622f7e qemu-utils: ensure we cut off qemu dependency 2022-07-06 07:13:29 +00:00
Arthur Gautier
fef6723f9b qemu-utils: remove qemu dependency
qemu-utils was pulling qemu which is a 900MB dependency. By removing
reference to it (unneeded), we're saving space on our deployments.
qemu-utils is a dependency of cloud-utils
2022-07-06 07:13:29 +00:00