7 Commits

Author SHA256 Message Date
4ddf5717b0 Accepting request 1305836 from Virtualization
- Jump from 1.9.8 to 1.15.1
- Update to version 1.15.1:
  * unixgram: Make fd non-blocking
- Update to version 1.15.0:
  * clippy: Fix clippy uninlined_format_args
  * build: Bump virtio-bindings to v0.2.6
  * nitro: Fix typos
  * fdt: Gate aarch64 fdt behind a module
  * README: add libkrun logo
  * net: support multiple network interfaces
  * Enable libkrun on RISC-V 64-bit architecture
  * Add AUTHORS file and update authors in metadata
  * nitro: Remove vsock proxying + documentation additions
  * Devices: clean up interrupt sending code
  * Move/vendor the krun-sys crate in this repository + new version of the crate
  * Add preliminary Intel TDX support [v2]
  * init.c: only use KRUN_EXIT_CODE_IOCTL if root is really virtiofs
  * Introduce an API for hooking up GPU display (callbacks)
  * rustc: Fix mismatched_lifetime_syntaxes
  * aarch64: Expose pointer authentication to guests
  * Add support for EDID display information
  * Simplify booting from block devices
  * net: implement a backend for tap devices
  * KRUN_* environment variables should be preserved when a custom kernel cmdline is configured
  * Implement a ENOMEM workaround for our integration tests
  * libkrun: on legacy interface delay net creation
  * console: avoid logging error on ENOTTY
  * init: translate unicode strings into ascii
- Update to version 1.14.0:
  * Tweak the Makefile to decouple EFI and GPU features
  * Update rust-vmm/kvm dependencies
  * Preliminary support for AWS Nitro Enclaves
  * misc: Use align module form vmm-sys-util
  * vmm: fix worker thread panic
  * Fix main breakage
  * Fix the library install name and path
  * arch: aarch64: Provide initrd_size to arch_memory_regions
- Update to version 1.13.0:
  * 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
- update to version 1.12.0:
  * Add support for userspace IOAPIC
  * include: Add #ifndef header guards
  * Update KVM dependencies
  * tee/snp: Update SEV-SNP APIs, use KVM guest_memfd
  * Fix clippy warnings
  * Implement the ability to record the exit code from the entrypoint in userspace
  * hvf: Add API to verify Nested Virt is supported
  * arch_gen: add Cargo edition
  * Consolidate worker threads
- Update to version 1.11.0:
  * fix krunkit typo in README
  * Drop bare SEV in favor of SEV-ES
  * devices/console: Fix a bug which would cause libkrun to hang on exit
  * demote WARN log to DEBUG
  * Connect to gvproxy socket
  * Fix incremental builds using make
  * Fix clippy warnings
  * tee: Remove legacy AMD-SEV module
  * libkrun.pc.in: add libs and cflags directories
  * Introduce an E2E testing framework
  * init: escape json strings
  * Remove vendor-ed imago crate
  * CODEOWNERS: add jakecorrenti
  * upgrade imago to 0.1.4
  * Support loading external kernels
  * libkrun: avoid failing when libkrunfw is missing
  * vsock: TCP test + fix a bug leading to an error in TCP connect call in guest
  * Remove amd-sev specific cmdline
  * ci: add integration tests
  * libkrun: fix shutdown_efd for efi flavor
  * libkrun/macos: only spawn helper thread with a gpu
  * ci: consolidate tests on github runners
  * Added new functions: krun_setuid, krun_setgid
  * Revert "vsock: Fix TCP connection bug" and implement a different approach
  * Generalize interrupt controllers and implement support for the in-kernel GICv3 in HVF
  * Implement support for HVF Nested Virtualization
  * Another round of clippy fixes and deprecated unit tests
  * devices: set CacheType::Unsafe for macOS raw disks
  * libkrun: stop using patchelf
- Update to version 1.10.0:
  * Add support for Qcow2 disk images
  * Fix Code Quality failure
  * hvf: ensure vcpus run in the right thread
  * Emulate GICv3 on macos
  * virtio/fs: Check capabilities & act accordingly
  * net: Allow creating vsocks in listen mode.
  * Adopt latest clippy suggestions
  * Add pipewire cross domain channel type.
  * Don't use SO_REUSEPORT with UNIX sockets

OBS-URL: https://build.opensuse.org/request/show/1305836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkrun?expand=0&rev=13
2025-09-18 19:12:23 +00:00
1141752890 - Fix some spec-file issues
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libkrun?expand=0&rev=34
2025-09-18 08:09:01 +00:00
2fdc0f2628 - Jump from 1.9.8 to 1.15.1
- Update to version 1.15.1:
  * unixgram: Make fd non-blocking
- Update to version 1.15.0:
  * clippy: Fix clippy uninlined_format_args
  * build: Bump virtio-bindings to v0.2.6
  * nitro: Fix typos
  * fdt: Gate aarch64 fdt behind a module
  * README: add libkrun logo
  * net: support multiple network interfaces
  * Enable libkrun on RISC-V 64-bit architecture
  * Add AUTHORS file and update authors in metadata
  * nitro: Remove vsock proxying + documentation additions
  * Devices: clean up interrupt sending code
  * Move/vendor the krun-sys crate in this repository + new version of the crate
  * Add preliminary Intel TDX support [v2]
  * init.c: only use KRUN_EXIT_CODE_IOCTL if root is really virtiofs
  * Introduce an API for hooking up GPU display (callbacks)
  * rustc: Fix mismatched_lifetime_syntaxes
  * aarch64: Expose pointer authentication to guests
  * Add support for EDID display information
  * Simplify booting from block devices
  * net: implement a backend for tap devices
  * KRUN_* environment variables should be preserved when a custom kernel cmdline is configured
  * Implement a ENOMEM workaround for our integration tests
  * libkrun: on legacy interface delay net creation
  * console: avoid logging error on ENOTTY
  * init: translate unicode strings into ascii
- Update to version 1.14.0:
  * Tweak the Makefile to decouple EFI and GPU features
  * Update rust-vmm/kvm dependencies
  * Preliminary support for AWS Nitro Enclaves
  * misc: Use align module form vmm-sys-util
  * vmm: fix worker thread panic
  * Fix main breakage
  * Fix the library install name and path
  * arch: aarch64: Provide initrd_size to arch_memory_regions
- Update to version 1.13.0:
  * 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
- update to version 1.12.0:
  * Add support for userspace IOAPIC
  * include: Add #ifndef header guards
  * Update KVM dependencies
  * tee/snp: Update SEV-SNP APIs, use KVM guest_memfd
  * Fix clippy warnings
  * Implement the ability to record the exit code from the entrypoint in userspace
  * hvf: Add API to verify Nested Virt is supported
  * arch_gen: add Cargo edition
  * Consolidate worker threads
- Update to version 1.11.0:
  * fix krunkit typo in README
  * Drop bare SEV in favor of SEV-ES
  * devices/console: Fix a bug which would cause libkrun to hang on exit
  * demote WARN log to DEBUG
  * Connect to gvproxy socket
  * Fix incremental builds using make
  * Fix clippy warnings
  * tee: Remove legacy AMD-SEV module
  * libkrun.pc.in: add libs and cflags directories
  * Introduce an E2E testing framework
  * init: escape json strings
  * Remove vendor-ed imago crate
  * CODEOWNERS: add jakecorrenti
  * upgrade imago to 0.1.4
  * Support loading external kernels
  * libkrun: avoid failing when libkrunfw is missing
  * vsock: TCP test + fix a bug leading to an error in TCP connect call in guest
  * Remove amd-sev specific cmdline
  * ci: add integration tests
  * libkrun: fix shutdown_efd for efi flavor
  * libkrun/macos: only spawn helper thread with a gpu
  * ci: consolidate tests on github runners
  * Added new functions: krun_setuid, krun_setgid
  * Revert "vsock: Fix TCP connection bug" and implement a different approach
  * Generalize interrupt controllers and implement support for the in-kernel GICv3 in HVF
  * Implement support for HVF Nested Virtualization
  * Another round of clippy fixes and deprecated unit tests
  * devices: set CacheType::Unsafe for macOS raw disks
  * libkrun: stop using patchelf
- Update to version 1.10.0:
  * Add support for Qcow2 disk images
  * Fix Code Quality failure
  * hvf: ensure vcpus run in the right thread
  * Emulate GICv3 on macos
  * virtio/fs: Check capabilities & act accordingly
  * net: Allow creating vsocks in listen mode.
  * Adopt latest clippy suggestions
  * Add pipewire cross domain channel type.
  * Don't use SO_REUSEPORT with UNIX sockets

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libkrun?expand=0&rev=33
2025-09-18 08:02:20 +00:00
eac0905d81 Accepting request 1230314 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1230314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkrun?expand=0&rev=12
2024-12-13 21:25:43 +00:00
c845e58169 Accepting request 1229954 from home:jfehlig:branches:Virtualization
Some work from hackweek...

- Update to version 1.9.8:
  * Bump version to 1.9.8
  * Update rust-vmm deps
  * Bump version to 1.9.7
  * vmm: update sev crates to latest version
  * chroot_vm: fix argument types
  * Bump version to 1.9.6
  * vmm/amdsnp: Remove deprecated as_slice() for guest memory
  * vmm/amdsnp: Set SMT bit in guest policy
  * Add X11 cross domain channel type.
  * rutabaga: cross_domain: Handle Host->Guest dmabufs correctly
  * rutabaga: cross_domain: Clean up resource item logic
  * vmm: Create an export table and pass it to the FS and GPU code.
  * gpu: Plumb through export_table into cross_domain
  * virtio/fs: Add support for exporting FDs to other subsystems
  * rutabaga: cross_domain: Signal host-initiated EOF
  * rutabaga: cross_domain: Fix EPOLLRDHUP logic
  * device_manager: Keep SHM region order
  * virtio/fs/linux: Fix redundant close()
  * virtio/fs/linux: Fix xattrs on symlinks (leak fix)
  * virtio/fs/linux: Fix xattrs on symlinks
  * virtio, krun: Name all the worker threads
  * Bump version to 1.9.5
  * init: support other locations for krun_config
  * virtio/fs/linux: announce submounts
  * Add krun_add_disk() method; deprecate set_*_disk
  * Drop outdated comment
  * Drop deadcode
  * Drop unused is_disk_root field
  * README: update for virtio-block on non-SEV

OBS-URL: https://build.opensuse.org/request/show/1229954
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libkrun?expand=0&rev=31
2024-12-12 10:24:35 +00:00
2d55742672 Accepting request 1178754 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1178754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkrun?expand=0&rev=11
2024-06-06 10:30:57 +00:00
779ae725ee Accepting request 1178751 from home:dfaggioli:devel:Virtualization
- Update to version 1.9.0:
  * console: send a resize event on PORT_READY by @slp in #179
  * Fix another batch of new clippy warnings by @slp in #182
  * Fix constness when taking an array of string pointers by @teohhanhui in #181
  * Fix new lints in Rust 1.78 by @teohhanhui in #184
  * Use the correct documentation comment style recognized by clang by @teohhanhui in #183
  * virtio/snd: import virtio-snd from vhost-user-sound by @slp in #186
- Changes from 1.8.1:
  * VirtIO optimizations
- Changes from 1.8.0:
  * Implement stdin/stdout/stderr redirection support using multiport virtio-console
  * devices/legacy: import PL011 for aarch64
  * init: accept arguments from the "args" Field
  * Fix various minor issues on macOS and add a CI workflow for this OS
  * Add Matej Hrica (mtjhrc) to CODEOWNERS
  * Implement an EFI flavor
  * Implement krun_add_vsock_port() and UnixProxy for guest communication with host UNIX sockets.
  * Implement the infrastructure to support sending shut down signals to the guest
  * lib: allow having multiple virtio-fs devices
  * devices/net: allow configuring a custom MAC
  * Import SECURITY_CTX support from virtiofsd
  * Makefile: fix EFI library naming
  * virtio/net: implement gvproxy backend
  * macos/eventfd: ignore EAGAIN on write
  * Import rutabaga_gfx+virtio_gpu from crosvm
  * devices/vsock/unix: implement update_peer_credit
  * devices/console: implement an empty port input
  * Extend virtio-gpu to support Venus on macOS
  * libkrun: Extend API to redirect console to file
  * virtio/fs/macos: overhaul to use macos inodes
- Update to version 1.7.2:
  * Fix aarch64 build by adapting to changes in kvm-ioctl
- Changes from 1.7.1
  * Update kbs-types version to 0.5 and release 1.7.1
- Update to version 1.7.0:
  * SNP Attestation
  * Read TEE config from the end of the block device
  * De-vendorize kbs-types
  * Remove libfdt dependency
  * init: place SEV behind build-time conditional
  * devices/fs: fix reading the end of init.krun
  * init: don't build init.c on SEV flavor
  * Prepare to support libkrunfw 4.x
  * init: Report an error when execution of the user binary fails
  * virtio-net implementation using passt
  * Make krun_set_vm_config use the same argument type for num_vcpus as ...
  * Update sev crate to 1.2.0
  * virtio net bugfixes and performance improvement
  * Makefile: De-couple KBS init sources from SEV-SNP
  * Update rust-vmm deps and bump version for upcoming release 
- Changes from 1.5.1
  * Fix CI clippy
  * Add a pkgconf file
  * examples: Fix error handling of krun_create_ctx
  * VSOCK: fix reaper timeout
  * Fix typo in README.md
  * macos: implement host->guest time sync
  * Bump version to v1.5.1
- Changes from 1.5.0
  * devices: update lru dep to 0.9
  * Introduce the krun_set_data_disk API.
- The vendored tarball already contains the config these days, so
  don't mess with that in the spec file

OBS-URL: https://build.opensuse.org/request/show/1178751
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libkrun?expand=0&rev=29
2024-06-05 13:30:24 +00:00
10 changed files with 298 additions and 32 deletions

View File

@@ -1,18 +1,18 @@
<services>
<service name="obs_scm" mode="disabled">
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="revision">v1.4.10</param>
<param name="revision">v1.15.1</param>
<param name="url">https://github.com/containers/libkrun.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="cargo_vendor" mode="disabled">
<service name="cargo_vendor" mode="manual">
<param name="srcdir">libkrun</param>
<param name="update">true</param>
<param name="update">false</param>
</service>
<service name="cargo_audit" mode="disabled">
<service name="cargo_audit" mode="manual">
<param name="srcdir">libkrun</param>
</service>
<service mode="buildtime" name="tar" />
@@ -20,6 +20,6 @@
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled">
<service name="set_version" mode="manual">
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/containers/libkrun.git</param>
<param name="changesrevision">74bda657239c1c8a1834e66c10672cc7d46587c6</param></service></servicedata>
<param name="changesrevision">d3e1755b19a3086e7309679125c448ae175b8766</param></service></servicedata>

View File

@@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
libkrun-1.15.1.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff0abea8d706ba0bb67d28f0fa6c5cf0bb914b684bccdc57c2e0c8c360e458b2
size 125723150

Binary file not shown.

View File

@@ -1,3 +1,266 @@
-------------------------------------------------------------------
Thu Sep 18 06:17:34 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Jump from 1.9.8 to 1.15.1
- Update to version 1.15.1:
* unixgram: Make fd non-blocking
- Update to version 1.15.0:
* clippy: Fix clippy uninlined_format_args
* build: Bump virtio-bindings to v0.2.6
* nitro: Fix typos
* fdt: Gate aarch64 fdt behind a module
* README: add libkrun logo
* net: support multiple network interfaces
* Enable libkrun on RISC-V 64-bit architecture
* Add AUTHORS file and update authors in metadata
* nitro: Remove vsock proxying + documentation additions
* Devices: clean up interrupt sending code
* Move/vendor the krun-sys crate in this repository + new version of the crate
* Add preliminary Intel TDX support [v2]
* init.c: only use KRUN_EXIT_CODE_IOCTL if root is really virtiofs
* Introduce an API for hooking up GPU display (callbacks)
* rustc: Fix mismatched_lifetime_syntaxes
* aarch64: Expose pointer authentication to guests
* Add support for EDID display information
* Simplify booting from block devices
* net: implement a backend for tap devices
* KRUN_* environment variables should be preserved when a custom kernel cmdline is configured
* Implement a ENOMEM workaround for our integration tests
* libkrun: on legacy interface delay net creation
* console: avoid logging error on ENOTTY
* init: translate unicode strings into ascii
- Update to version 1.14.0:
* Tweak the Makefile to decouple EFI and GPU features
* Update rust-vmm/kvm dependencies
* Preliminary support for AWS Nitro Enclaves
* misc: Use align module form vmm-sys-util
* vmm: fix worker thread panic
* Fix main breakage
* Fix the library install name and path
* arch: aarch64: Provide initrd_size to arch_memory_regions
- Update to version 1.13.0:
* 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
- update to version 1.12.0:
* Add support for userspace IOAPIC
* include: Add #ifndef header guards
* Update KVM dependencies
* tee/snp: Update SEV-SNP APIs, use KVM guest_memfd
* Fix clippy warnings
* Implement the ability to record the exit code from the entrypoint in userspace
* hvf: Add API to verify Nested Virt is supported
* arch_gen: add Cargo edition
* Consolidate worker threads
- Update to version 1.11.0:
* fix krunkit typo in README
* Drop bare SEV in favor of SEV-ES
* devices/console: Fix a bug which would cause libkrun to hang on exit
* demote WARN log to DEBUG
* Connect to gvproxy socket
* Fix incremental builds using make
* Fix clippy warnings
* tee: Remove legacy AMD-SEV module
* libkrun.pc.in: add libs and cflags directories
* Introduce an E2E testing framework
* init: escape json strings
* Remove vendor-ed imago crate
* CODEOWNERS: add jakecorrenti
* upgrade imago to 0.1.4
* Support loading external kernels
* libkrun: avoid failing when libkrunfw is missing
* vsock: TCP test + fix a bug leading to an error in TCP connect call in guest
* Remove amd-sev specific cmdline
* ci: add integration tests
* libkrun: fix shutdown_efd for efi flavor
* libkrun/macos: only spawn helper thread with a gpu
* ci: consolidate tests on github runners
* Added new functions: krun_setuid, krun_setgid
* Revert "vsock: Fix TCP connection bug" and implement a different approach
* Generalize interrupt controllers and implement support for the in-kernel GICv3 in HVF
* Implement support for HVF Nested Virtualization
* Another round of clippy fixes and deprecated unit tests
* devices: set CacheType::Unsafe for macOS raw disks
* libkrun: stop using patchelf
- Update to version 1.10.0:
* Add support for Qcow2 disk images
* Fix Code Quality failure
* hvf: ensure vcpus run in the right thread
* Emulate GICv3 on macos
* virtio/fs: Check capabilities & act accordingly
* net: Allow creating vsocks in listen mode.
* Adopt latest clippy suggestions
* Add pipewire cross domain channel type.
* Don't use SO_REUSEPORT with UNIX sockets
-------------------------------------------------------------------
Mon Nov 18 23:58:38 UTC 2024 - jfehlig@suse.com
- Update to version 1.9.8:
* Bump version to 1.9.8
* Update rust-vmm deps
* Bump version to 1.9.7
* vmm: update sev crates to latest version
* chroot_vm: fix argument types
* Bump version to 1.9.6
* vmm/amdsnp: Remove deprecated as_slice() for guest memory
* vmm/amdsnp: Set SMT bit in guest policy
* Add X11 cross domain channel type.
* rutabaga: cross_domain: Handle Host->Guest dmabufs correctly
* rutabaga: cross_domain: Clean up resource item logic
* vmm: Create an export table and pass it to the FS and GPU code.
* gpu: Plumb through export_table into cross_domain
* virtio/fs: Add support for exporting FDs to other subsystems
* rutabaga: cross_domain: Signal host-initiated EOF
* rutabaga: cross_domain: Fix EPOLLRDHUP logic
* device_manager: Keep SHM region order
* virtio/fs/linux: Fix redundant close()
* virtio/fs/linux: Fix xattrs on symlinks (leak fix)
* virtio/fs/linux: Fix xattrs on symlinks
* virtio, krun: Name all the worker threads
* Bump version to 1.9.5
* init: support other locations for krun_config
* virtio/fs/linux: announce submounts
* Add krun_add_disk() method; deprecate set_*_disk
* Drop outdated comment
* Drop deadcode
* Drop unused is_disk_root field
* README: update for virtio-block on non-SEV
* devices/legacy: use pl011 for earlycon in aarch64
* libkrun: use unwrap_or while grabbing mac address
* virtio/fs/macos: drop dead code
* virtio/queue: use inspect instead of map
* CODEOWNERS: remove myself
* libkrun: (gpu/fs) introduce variants set shm size
* virtio/fs/macos: implement DAX support
* virtio/fs: plumb SHM region into worker
* arch: implement SHM region management
* vmm: unify create_guest_memory
* vmm/vstate/linux: remove broken kvm_context test
* clippy: minor fixes in docs
* virtio/fs/macos: announce submounts
* virtio/fs: add FUSE ATTR_SUBMOUNT support
* virtio/fs/macos: decouple host-guest inodes
* Bump version to 1.9.4
* Update kbs-types dependency to 0.7.0
* Make linter happy
* Remove contention on the gic
* virtiofs: fallocate: should enlarge but not shrink the file
* Bump version to 1.9.3
* vmm: Fix the nomodule kernel parameter
* console: avoid using the raw ioctl for TIOCGWINSZ
* virtio/fs: translate raw errors in server.rs
* Various minor fixes for rust 1.79.0
* edk2: update KRUN_EFI binary
* hvf: support ARM PSCI SYSTEM_OFF
* gpu: use resource_map() for mapping BOs
* rutabaga: add support for virgl's resource_map2
* Bump version to 1.9.2
* Update kvm-bindings and kvm-ioctls deps
* vmm: drop unused code for boot time logging
* rutabaga: cross_domain: Fix EINTR handling
* Bump version to 1.9.1
* virtio/fs: Fix corrupted dirents due to trailing garbage
* init: tell the kernel to reap our children for us
* builder: only enable TSI if there are no netdevs
* Add SMBIOS OEM Strings support (aarch64 only)
* Add SMBIOS internal crate
* Add edk2 firmware with SMBIOS support (aarch64)
-------------------------------------------------------------------
Mon Jun 03 08:46:39 UTC 2024 - dfaggioli@suse.com
- Update to version 1.9.0:
* console: send a resize event on PORT_READY by @slp in #179
* Fix another batch of new clippy warnings by @slp in #182
* Fix constness when taking an array of string pointers by @teohhanhui in #181
* Fix new lints in Rust 1.78 by @teohhanhui in #184
* Use the correct documentation comment style recognized by clang by @teohhanhui in #183
* virtio/snd: import virtio-snd from vhost-user-sound by @slp in #186
- Changes from 1.8.1:
* VirtIO optimizations
- Changes from 1.8.0:
* Implement stdin/stdout/stderr redirection support using multiport virtio-console
* devices/legacy: import PL011 for aarch64
* init: accept arguments from the "args" Field
* Fix various minor issues on macOS and add a CI workflow for this OS
* Add Matej Hrica (mtjhrc) to CODEOWNERS
* Implement an EFI flavor
* Implement krun_add_vsock_port() and UnixProxy for guest communication with host UNIX sockets.
* Implement the infrastructure to support sending shut down signals to the guest
* lib: allow having multiple virtio-fs devices
* devices/net: allow configuring a custom MAC
* Import SECURITY_CTX support from virtiofsd
* Makefile: fix EFI library naming
* virtio/net: implement gvproxy backend
* macos/eventfd: ignore EAGAIN on write
* Import rutabaga_gfx+virtio_gpu from crosvm
* devices/vsock/unix: implement update_peer_credit
* devices/console: implement an empty port input
* Extend virtio-gpu to support Venus on macOS
* libkrun: Extend API to redirect console to file
* virtio/fs/macos: overhaul to use macos inodes
-------------------------------------------------------------------
Thu May 30 14:14:56 UTC 2024 - dfaggioli@suse.com
- Update to version 1.7.2:
* Fix aarch64 build by adapting to changes in kvm-ioctl
- Changes from 1.7.1
* Update kbs-types version to 0.5 and release 1.7.1
-------------------------------------------------------------------
Thu May 30 13:38:30 UTC 2024 - dfaggioli@suse.com
- Update to version 1.7.0:
* SNP Attestation
* Read TEE config from the end of the block device
* De-vendorize kbs-types
* Remove libfdt dependency
* init: place SEV behind build-time conditional
* devices/fs: fix reading the end of init.krun
* init: don't build init.c on SEV flavor
* Prepare to support libkrunfw 4.x
* init: Report an error when execution of the user binary fails
* virtio-net implementation using passt
* Make krun_set_vm_config use the same argument type for num_vcpus as ...
* Update sev crate to 1.2.0
* virtio net bugfixes and performance improvement
* Makefile: De-couple KBS init sources from SEV-SNP
* Update rust-vmm deps and bump version for upcoming release
- Changes from 1.5.1
* Fix CI clippy
* Add a pkgconf file
* examples: Fix error handling of krun_create_ctx
* VSOCK: fix reaper timeout
* Fix typo in README.md
* macos: implement host->guest time sync
* Bump version to v1.5.1
- Changes from 1.5.0
* devices: update lru dep to 0.9
* Introduce the krun_set_data_disk API.
-------------------------------------------------------------------
Thu May 30 13:30:22 UTC 2024 - Dario Faggioli <dfaggioli@suse.com>
- The vendored tarball already contains the config these days, so
don't mess with that in the spec file
-------------------------------------------------------------------
Thu Jan 19 08:01:48 UTC 2023 - fcrozat@suse.com

View File

@@ -1,4 +1,4 @@
name: libkrun
version: 1.4.10
mtime: 1674077930
commit: 74bda657239c1c8a1834e66c10672cc7d46587c6
version: 1.15.1
mtime: 1756736869
commit: d3e1755b19a3086e7309679125c448ae175b8766

View File

@@ -1,7 +1,7 @@
#
# spec file for package libkrun
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,28 +32,36 @@ complexity that comes from Virtual Machine management, offering users a simple C
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: libkrun
Version: 1.4.10
Version: 1.15.1
Release: 0
Summary: A dynamic library providing KVM-based process isolation capabilities
License: Apache-2.0
URL: https://github.com/containers/libkrun
Source0: libkrun-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
Source1: vendor.tar.zst
ExclusiveArch: x86_64 aarch64
BuildRequires: binutils
BuildRequires: cargo >= 1.43.0
BuildRequires: clang-devel
BuildRequires: gcc
BuildRequires: glibc-static
BuildRequires: libkrunfw-devel >= 3.6.3
BuildRequires: libcurl-devel
BuildRequires: libdrm-devel
BuildRequires: libepoxy-devel
BuildRequires: libopenssl-devel
BuildRequires: openssl-devel
BuildRequires: patchelf
BuildRequires: pipewire-devel
BuildRequires: rust
%if %{sev}
BuildRequires: libkrunfw-sev-devel >= 3.6.3
%endif
BuildRequires: virglrenderer-devel
#%if %{sev}
#BuildRequires: libkrunfw-sev-devel >= 4.0.0
#%endif
%ifarch aarch64
BuildRequires: libfdt-devel >= 1.6.0
%endif
# Starting 1.11.0, libkrunfw is no longer build-time linked.
Requires: libkrunfw-devel >= 4.0.0
# For handling the transition from (very) old versions of the packages
Conflicts: libkrun-devel <= 0.1.7
Conflicts: libkrun0 <= 0.1.7
@@ -105,13 +113,11 @@ use libkrun-sev Virtualization-based process isolation capabilities.
%prep
%autosetup -a1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
export RUSTFLAGS=%{rustflags}
%make_build
%make_build GPU=1 BLK=1 NET=1 SND=1
%if %{sev}
%make_build SEV=1
@@ -134,7 +140,9 @@ export RUSTFLAGS=%{rustflags}
%files devel
%{_libdir}/libkrun.so
%{_libdir}/pkgconfig/libkrun.pc
%{_includedir}/libkrun.h
%{_includedir}/libkrun_display.h
%post -n %{name}1 -p /sbin/ldconfig

BIN
vendor.tar.xz LFS

Binary file not shown.

3
vendor.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21f094a1ef4167034f481934820c243fcd0f8774473b1be9936bf1d2412bf66a
size 38845573