This is redundant with QEMU commit a5804fcf7b ("9pfs: local: ignore
O_NOATIME if we don't have permissions"), included in QEMU since
5.1.0, which will retry opens without O_NOATIME if they fail with it.
According to the QEMU documentation, virtiofsd is supposed to be run
directly by users. It therefore makes sense to have it in bin/, so it
will be in PATH. Such a change wouldn't make sense upstream, because
it would then conflict with the virtiofsd package, which is generally
preferred if available. But in Nixpkgs, we don't have to worry about
that and can just make QEMU's virtiofsd a lower priority than the one
from the dedicated package.
[1]: https://qemu.readthedocs.io/en/latest/tools/virtiofsd.html
Fixes: https://github.com/NixOS/nixpkgs/issues/113172 ("QEmu: virtiofsd prone to be garbage collected.")
Fixes: https://github.com/NixOS/nixpkgs/pull/153007 ("nixos/libvirtd: add ${cfg.qemu.package}/libexec to PATH")
The qemu-ga binary is already moved to a separate
output but still depends on qemu, adding about
600MiB to it's closure.
The command "strings qemu-ga" reveals that something
like
/nix/store/bqgpvv5qrpb741swczqk3lrdm5gzaqx2-qemu-host-cpu-only-6.2.0/bin
is contained, causing this false positive. So use
remove-references-to to reduce the closure to about
600KiB.
Update SeaBIOS to version 1.16.0. Also, use the git repository as
source, since the release was tagged and announced, but no release
tarball was published.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
- Split outputs to prevent closure contamination with propagated dependencies’ dev outputs.
- Use mirror URL.
- Add update script (also change source URL so it can be auto-updated).
- Correct dependencies:
- Even though glib is propagated by other dependencies, let’s add it here as well for completeness.
- libsoup should not need to be propagated.
- Add gobject-introspection (on by default with meson).
- Use correct non-deprecated license.
- Reduce scope of lib.
Ideally, we would also switch to Meson but it currently specifies dependencies incorrectly:
https://gitlab.gnome.org/GNOME/libgovirt/-/merge_requests/15