What's Changed
- devices: Refactor to make virtqueues fully created at transport layer by @mtjhrc in https://github.com/containers/libkrun/pull/514
- vsock/tsi: use EDGE_TRIGGERED on EventSet::OUT by @slp in https://github.com/containers/libkrun/pull/531
- vsock/tsi: converts BSD sockaddr to Linux wire format to prevent invalid sa_family in guests by @ihexon in https://github.com/containers/libkrun/pull/543
- vsock/tsi: fix listen() with backlog > 128 fails with EINVAL by @ihexon in https://github.com/containers/libkrun/pull/546
- CODEOWNERS: add dorindabassey by @slp in https://github.com/containers/libkrun/pull/547
- fs/macos: fix ghost files are double fd closing by @slp in https://github.com/containers/libkrun/pull/544
- ci: remove publish prebuilt job by @slp in https://github.com/containers/libkrun/pull/533
- Replace KILLPRIV with KILLPRIV_V2 by @slp in https://github.com/containers/libkrun/pull/532
- virtio/fs/macos: fix buffer size on setxattr by @slp in https://github.com/containers/libkrun/pull/550
- libkrun, fs: Restrict the usage of REMOVE_ROOT_DIR_REQ ioctl by @mtjhrc in https://github.com/containers/libkrun/pull/551
- virtio/fs/macos: preload directory entries to avoid calling telldir() by @pftbest in https://github.com/containers/libkrun/pull/548
- misc: configure gemini for manual reviews by @slp in https://github.com/containers/libkrun/pull/559
- aws-nitro: Separate guest kernel module loading, updates by @tylerfanelli in https://github.com/containers/libkrun/pull/549
- vmm: prevent CR translation to LF in interactive term by @jakecorrenti in https://github.com/containers/libkrun/pull/563
- Cleanup macOS epoll shim by @nirs in https://github.com/containers/libkrun/pull/564
- utils/macos/epoll: Derive event_name from kevent by @nirs in https://github.com/containers/libkrun/pull/566
- cpuid: remove unsafe from cpuid methods by @slp in https://github.com/containers/libkrun/pull/572
- feat: allow overriding embedded binary paths via env variables by @rrauch in https://github.com/containers/libkrun/pull/553
- vmm/builder: correctly handle invalid fd for serial console by @d-e-s-o in https://github.com/containers/libkrun/pull/570
- rutabaga: do not rely on seals to detect read-only shm fds by @valpackett in https://github.com/containers/libkrun/pull/558
- init: Don't use newlines in perror messages by @mz-pdm in https://github.com/containers/libkrun/pull/582
- init: exit clock_worker child process on failure by @jhrozek in https://github.com/containers/libkrun/pull/581
- devices: Replace cap-ng dependency with caps by @d-e-s-o in https://github.com/containers/libkrun/pull/575
- virtio/net/unixgram: Fix SO_SNDBUF size on macOS by @nirs in https://github.com/containers/libkrun/pull/574
- utils/macos/epoll: Fix EV_EOF mapping by @nirs in https://github.com/containers/libkrun/pull/567
- Support running integration tests on macOS by @mtjhrc in https://github.com/containers/libkrun/pull/524
- devices: build init binary as part of build script by @d-e-s-o in https://github.com/containers/libkrun/pull/578
- cpuid: allow unused unsafes by @slp in https://github.com/containers/libkrun/pull/585
- devices: build init binary in Cargo
OUT_DIRby @d-e-s-o in https://github.com/containers/libkrun/pull/586 - devices: Make sure to drain virtio TX port on stop by @d-e-s-o in https://github.com/containers/libkrun/pull/583
- Fix init crosscompliation on macOS using wrong sysroot path by @mtjhrc in https://github.com/containers/libkrun/pull/594
- Don't install libcap-ng-dev in CI by @d-e-s-o in https://github.com/containers/libkrun/pull/596
- Fix hang on SIGINT when I/O pipes are broken by @d-e-s-o in https://github.com/containers/libkrun/pull/595
- virtio/net/unixgram: Retry on ENOBUFS by @nirs in https://github.com/containers/libkrun/pull/556
- init: Fix out of bounds access when reading config file by @mz-pdm in https://github.com/containers/libkrun/pull/600
- riscv64: install legacy serial irqchip via set_intc by @yzewei in https://github.com/containers/libkrun/pull/591
- init: Fix args processing by @mz-pdm in https://github.com/containers/libkrun/pull/599
- Fix fence completion race in virtio-gpu worker by @aford173 in https://github.com/containers/libkrun/pull/608
- Fix cross-compilation of build.rs for aarch64 target by @aford173 in https://github.com/containers/libkrun/pull/607
- init: another macOS build fix by @nohajc in https://github.com/containers/libkrun/pull/620
- libkrun: Produce a proper Rust library by @d-e-s-o in https://github.com/containers/libkrun/pull/588
- vmm: Fix bzip2 magic header detection by @d-e-s-o in https://github.com/containers/libkrun/pull/622
- virtiofs: support read-only mounts by @JAORMX in https://github.com/containers/libkrun/pull/623
- devices/mmio: Read QueueSizeMax from queue_config instead of actual queues by @mtjhrc in https://github.com/containers/libkrun/pull/631
- Implement support for nested virt on Linux by @slp in https://github.com/containers/libkrun/pull/630
- Fix cargo feature propagation by @nohajc in https://github.com/containers/libkrun/pull/629
- FreeBSD guest: port init.c, make libkrun adjustments for processing kernel cmdline by @nohajc in https://github.com/containers/libkrun/pull/480
- virtio/console: Fixed libkrun panic caused by console resizing during VM startup by @ihexon in https://github.com/containers/libkrun/pull/611
- Add
KRUN_FS_ROOT_TAGdefine and documentkrun_set_rootalternative by @d-e-s-o in https://github.com/containers/libkrun/pull/637 - Fix cargo fmt, clippy warnings for newest Rust toolchain by @mtjhrc in https://github.com/containers/libkrun/pull/641
- init: embed a simple DHCP client by @slp in https://github.com/containers/libkrun/pull/589
- Add a simple test for the newly introduced read-only virtiofs by @mtjhrc in https://github.com/containers/libkrun/pull/638
- virtio/fs/macos: fix fallocate semantics by @slp in https://github.com/containers/libkrun/pull/597
- virtio/gpu: mmap dma-buf blob fds into the guest shm region by @aford173 in https://github.com/containers/libkrun/pull/644
- Queue Rng device events only when active by @Golui in https://github.com/containers/libkrun/pull/643
- init/aws-nitro: support partial read/write ethernet packet forwarding by @jakecorrenti in https://github.com/containers/libkrun/pull/616
- Add GitHub workflow for cross-compilation and fix build issues for macOS and FreeBSD by @nohajc in https://github.com/containers/libkrun/pull/636
- tests: Add virtio-net tests + supporting testing framework improvements by @mtjhrc in https://github.com/containers/libkrun/pull/603
- Rework workspace crates to get ready to publish them by @slp in https://github.com/containers/libkrun/pull/645
- init: explictly issue sync+reboot by @slp in https://github.com/containers/libkrun/pull/648
- init: don't fail if a fs is already mounted by @slp in https://github.com/containers/libkrun/pull/647
- Bump version to 1.18.0 by @slp in https://github.com/containers/libkrun/pull/649
New Contributors
- @ihexon made their first contribution in https://github.com/containers/libkrun/pull/543
- @pftbest made their first contribution in https://github.com/containers/libkrun/pull/548
- @rrauch made their first contribution in https://github.com/containers/libkrun/pull/553
- @d-e-s-o made their first contribution in https://github.com/containers/libkrun/pull/570
- @jhrozek made their first contribution in https://github.com/containers/libkrun/pull/581
- @yzewei made their first contribution in https://github.com/containers/libkrun/pull/591
- @aford173 made their first contribution in https://github.com/containers/libkrun/pull/608
- @JAORMX made their first contribution in https://github.com/containers/libkrun/pull/623
- @Golui made their first contribution in https://github.com/containers/libkrun/pull/643
Full Changelog: https://github.com/containers/libkrun/compare/v1.17.3...v1.18.0