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