Releases: containers/libkrun
Releases · containers/libkrun
libkrun-1.18.0
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
libkrun-1.17.4
libkrun-1.17.3
What's Changed
- libkrun: reject HIJACK_UNIX on macOS by @slp in #528
- test: fix macos::eventfd::tests by @McNight in #523
- Introduce krun_has_feature() API by @mtjhrc in #525
- virtio/fs/macos: keep a fd to unlinked files by @slp in #513
- aws-nitro: Relax dependencies for packaging by @tylerfanelli in #534
- Bump version to 1.17.3 by @slp in #537
New Contributors
Full Changelog: v1.17.2...v1.17.3
libkrun-1.17.2
What's Changed
- Nitro reformatting + rootfs writing update by @tylerfanelli in #521
- Bump version to 1.17.2 by @slp in #529
Full Changelog: v1.17.1...v1.17.2
libkrun-1.17.0
What's Changed
- ci: fix unix_tests.yml by @slp in #450
- readme: add minimum supported macOS version by @jakecorrenti in #451
- Implement support for TSIv3 by @slp in #410
- doc: disk exhaustion risk for virtio-fs in readme by @ggoodman in #453
- replace hard coded dependency on gcc by @peppergrayxyz in #434
- add nix crate feature fs (fix #437) by @peppergrayxyz in #438
- krun_input: Fix clippy warnings by @tylerfanelli in #448
- Creat DummyIrqChips GICDevice and AIADevice by @peppergrayxyz in #443
- gitignore: Add missing example binaries by @mtjhrc in #459
- virtio/fs: allow idmap mounts to virtiofs by @SilverBut in #456
- gtk_display: Fix keyboard focus not being grabbed by @mtjhrc in #458
- Add explicit multiport virtio-console API by @mtjhrc in #422
- devices/x86_64: add cmos legacy device by @slp in #419
- Update nitro enclaves support by @tylerfanelli in #457
- init/nitro: Fix typo by @tylerfanelli in #468
- init/nitro: Various fixes/improvements by @tylerfanelli in #469
- init/nitro: Avoid measuring
/etc/{hostname, hosts}with NSM PCRs by @tylerfanelli in #470 - nitro: Return error message if no rootfs dirname by @tylerfanelli in #471
- init: set MS_SHARED for the root mount by @valpackett in #467
- examples: remove external_kernel by @slp in #475
- Improve presentation of integration test results by @mtjhrc in #473
- vmm: linux: Do not use guest_memfd outside of TEE builds (fixes #478) by @valpackett in #479
- Chroot vm build doc update by @FabienTregan in #463
- Add cross-compilation support to Makefile by @nohajc in #461
- examples: Fix obsolete comment by @FabienTregan in #481
- Implement support for both F_DISCARD and F_WRITE_ZEROES by @slp in #464
- arch/aarch64: use different RAM start addresses by @slp in #476
- Add support for readonly FLAT/ZERO VMDK format by @hsiangkao in #474
- aarch64: small fixes for BSD systems by @slp in #477
- Another round of clippy fixes for 1.92.0 by @slp in #486
- examples/boot_efi: use an explicit firmware by @slp in #484
- hvf: forward read/write ops on MDCCINT_EL1 and CNTHCTL_EL2 by @slp in #485
- Allow virtio_gpu to auto-fallback to a safe rutabaga config by @slp in #426
- include, block: add
krun_add_disk3API by @jakecorrenti in #452 - vmm/amdsnp: Remove sev library dependency by @tylerfanelli in #482
- Fix aarch64 unit tests and extend CI to run them on self-hosted runner by @slp in #487
- libkrun_display.h: Fix incorect include guard by @mtjhrc in #488
- Make sure the rust bindings rebuild automatically upon header change by @mtjhrc in #489
- nitro: Preliminary networking support with passt, remove cached EIF by @tylerfanelli in #491
- nitro: improve console support by @jakecorrenti in #490
- README: Minor wording fix by @mz-pdm in #499
- Fix: Add block scope for variable declarations in switch case 'u' by @mchassara in #503
- nitro: Update architecture by @tylerfanelli in #497
- Add debug logging for nitro enclaves by @tylerfanelli in #504
- Fix fw write for ExternalKernel payload on aarch64 by @ericcurtin in #496
- Fix external kernel memory region calculation by @ericcurtin in #495
- Add explicit vsock and TSI configuration API by @mtjhrc in #483
- devices/vsock: change log::warn! to info! for proxy removal msgs by @mtjhrc in #507
- Bump version to 1.17.0 by @slp in #506
New Contributors
- @peppergrayxyz made their first contribution in #434
- @SilverBut made their first contribution in #456
- @FabienTregan made their first contribution in #463
- @hsiangkao made their first contribution in #474
- @mz-pdm made their first contribution in #499
- @mchassara made their first contribution in #503
Full Changelog: v1.16.0...v1.17.0
libkrun-1.16.0
What's Changed
- Implement krun_get_max_vcpus function for both macOS and Linux by @ericcurtin in #408
- krun_display: Fix clippy warning by @tylerfanelli in #409
- Round of dependency updates and consolidations by @slp in #406
- rutabaga_gfx: fixes for wayland/sommelier by @valpackett in #407
- Add granular console APIs by @jakecorrenti in #363
- Bump kbs-types to 0.13.0 by @slp in #413
- Generalize external firmware support by @slp in #412
- Fix gui_vm compilation + warning, missing examples/Cargo.lock by @mtjhrc in #416
- CI improvements by @mtjhrc in #417
- Fall back to GICv2 if GICv3 is not supported by @slp in #421
- devices/rng: remove leftover file by @slp in #425
- Add virtio-input device and implement input support in the reference implementation by @mtjhrc in #415
- init: allow running the user-provided init as pid 1 (fix #223) by @valpackett in #424
- libkrun: only create shutdown_efd on macOS by @slp in #427
- Enable relaxed sync by default on macOS by @jakecorrenti in #428
- Bump version to 1.16.0 by @slp in #449
New Contributors
- @ericcurtin made their first contribution in #408
- @valpackett made their first contribution in #407
Full Changelog: v1.15.1...v1.16.0
libkrun-1.15.1
What's Changed
- unixgram: Make fd non-blocking by @jakecorrenti in #402
Full Changelog: v1.15.0...v1.15.1
libkrun-1.15.0
What's Changed
- clippy: Fix clippy
uninlined_format_argsby @RuoqingHe in #365 - build: Bump virtio-bindings to v0.2.6 by @RuoqingHe in #364
- nitro: Fix typos by @tylerfanelli in #366
- fdt: Gate aarch64 fdt behind a module by @RuoqingHe in #369
- README: add libkrun logo by @slp in #371
- net: support multiple network interfaces by @slp in #367
- Enable libkrun on RISC-V 64-bit architecture by @alicedreamed in #370
- Add AUTHORS file and update authors in metadata by @slp in #376
- nitro: Remove vsock proxying + documentation additions by @tylerfanelli in #378
- Devices: clean up interrupt sending code by @mtjhrc in #335
- Move/vendor the krun-sys crate in this repository + new version of the crate by @mtjhrc in #379
- Add preliminary Intel TDX support [v2] by @jakecorrenti in #355
- init.c: only use KRUN_EXIT_CODE_IOCTL if root is really virtiofs by @nohajc in #380
- Introduce an API for hooking up GPU display (callbacks) by @mtjhrc in #349
- rustc: Fix mismatched_lifetime_syntaxes by @RuoqingHe in #386
- aarch64: Expose pointer authentication to guests by @pcc in #388
- Add support for EDID display information by @mtjhrc in #381
- Simplify booting from block devices by @nohajc in #384
- net: implement a backend for tap devices by @slp in #368
- KRUN_* environment variables should be preserved when a custom kernel cmdline is configured by @nohajc in #394
- Implement a ENOMEM workaround for our integration tests by @slp in #396
- libkrun: on legacy interface delay net creation by @slp in #395
- console: avoid logging error on ENOTTY by @slp in #398
- init: translate unicode strings into ascii by @slp in #397
- Bump version to 1.15.0 by @slp in #400
New Contributors
- @alicedreamed made their first contribution in #370
- @pcc made their first contribution in #388
Full Changelog: v1.14.0...v1.15.0
libkrun-1.14.0
What's Changed
- Tweak the Makefile to decouple EFI and GPU features by @ggoodman in #342
- Update rust-vmm/kvm dependencies by @jakecorrenti in #348
- Preliminary support for AWS Nitro Enclaves by @tylerfanelli in #325
- misc: Use
alignmodule formvmm-sys-utilby @RuoqingHe in #354 - vmm: fix worker thread panic by @jakecorrenti in #356
- Fix main breakage by @jakecorrenti in #359
- Fix the library install name and path by @afbjorklund in #352
- arch: aarch64: Provide
initrd_sizetoarch_memory_regionsby @RuoqingHe in #361 - Bump version to 1.14.0 by @slp in #362
New Contributors
- @ggoodman made their first contribution in #342
- @RuoqingHe made their first contribution in #354
- @afbjorklund made their first contribution in #352
Full Changelog: v1.13.0...v1.14.0
libkrun-1.13.0
What's Changed
- examples: Fix connect_to_passt function by @mtjhrc in #336
- Introduce a new krun_init_log() API by @mtjhrc in #326
- Remove orphaned source files which are never used by @mtjhrc in #337
- hvf: mask SME in ID_AA64PFR1_EL1 by @slp in #338
- arch/aarch64: replace offset__of with a safe macro by @slp in #339
- vmm: bump kbs-types and drop tee-sev by @slp in #340
- Bump version to 1.13.0 by @slp in #341
Full Changelog: v1.12.2...v1.13.0