Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using the script in maintainers/scripts/update-redirected-urls.sh
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
qemu_kvm.tests: use finalPackage
|
|
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.
|
|
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.
|
|
While at it added a trivial updater.
Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg981379.html
|
|
Changes: https://www.mail-archive.com/qemu-devel@nongnu.org/msg975665.html
|
|
|
|
Currently using the -d in_asm flag in QEMU does not report any
dissassembly. This fixes it.
|
|
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.
|
|
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>
|
|
|
|
|
|
...into staging
|
|
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'
```
|
|
Failing Hydra build: https://hydra.nixos.org/build/214419156
Relevant upstream thread: https://lore.kernel.org/qemu-devel/20230110174901.2580297-1-berrange@redhat.com/
|
|
'./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/
|
|
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.
|
|
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.
|
|
|
|
spice works on Darwin now
|
|
|
|
|
|
|
|
This patch has been accepted by the upstream 9p subsystem maintainer
and should improve the performance of NixOS tests massively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 04be5ced7efb8838821a16c78af4ad91ce38fa5a.
Builds fine without the change now, so presumably either Glibc, QEMU,
or both, fixed this in the meantime.
|
|
|
|
|
|
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.
|
|
|
|
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
|
|
|