07cceed0c8
chore: release ( #202 )
...
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-07-12 23:28:49 +00:00
04401c1d07
fix(runtime): use iommu only if devices are needed ( #243 )
2024-07-10 04:02:53 +00:00
35d585e3b1
fix(power): ensure that xeon cpus with cpu gaps are not detected as p/e compatible ( #218 )
2024-06-30 05:25:15 +00:00
a79320b4fc
Power management core functionality ( #217 )
...
* feat(power-management-core): add core power management control messages for kratad
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): expose xen hypercall client publicly
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): add indexmap to kratart crate dependencies
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): implement power management core in kratart
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): bubble up runtime context in daemon/control service
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): expose performance/efficiency core data in protobuf
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): fix up some protobuf message names
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): fix up performance core heuristic
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): implement GetHostCpuTopology RPC
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): hackfix to get sysctls working with tokio
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): borrow the PowerManagementContext when calling functions belonging to it
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): remove GetHostPowerManagementPolicy RPC for now
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): implement SetHostPowerManagementPolicy RPC
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): add cpu-topology command
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(power-management-core): appease format checking
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* fix(runtime): cpu topology corrections
---------
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
Co-authored-by: Alex Zenla <alex@edera.dev >
2024-06-29 15:43:08 -07:00
6f50167798
Use native loopdev implementation instead of loopdev-3 ( #209 )
...
* feature(loopdev): add native loop device implementation
The previous loop device implementation required bindgen for no reason,
making cross-compilation difficult.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* feat(runtime): use native krata-loopdev instead of loopdev-3
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* chore: update cargo workspace lock file
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
* chore: appease formatting linter
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
---------
Signed-off-by: Ariadne Conill <ariadne@ariadne.space >
2024-06-26 10:29:58 -07:00
4175e1e3fe
chore: release ( #181 )
...
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-06-24 05:01:32 +00:00
ef068e790c
chore(xen): move device creation into transaction interface ( #196 )
...
* chore(xen): move domain creation to xenplatform
* chore(xen): move device transactions into separate interface
2024-06-21 17:38:19 +00:00
6f39f115b7
chore(xen): split platform support into separate crate ( #195 )
2024-06-21 08:10:45 +00:00
23c7302c04
docs: first pass of krata as an isolation engine
2024-06-20 19:57:18 -07:00
e219f3adf1
feature(xen): dynamic platform architecture ( #194 )
...
* wip hvm
* feat: move platform stuff all into it's own thing
* hvm work
* more hvm work
* more hvm work
* feat: rework to support multiple platforms
* hvm nonredist
* more hvm work
* more hvm work
* pvh work
* work on loading cmdline
* implement initrd loading for pvh
* partially working pvh support
* fix merge issues
* pvh works!
* swap over to pv support
* remove old kernel stuff
* fix support for pv
* pvh is gone for now
* fix(runtime): debug should be respected
* fix(xen): arm64 is currently unsupported, treat it as such at runtime
* fix(examples): use architecture cfg for boot example
* fix(x86): use IOMMU only when needed for passthrough
* chore(build): print kernel architecture during fetch
2024-06-21 02:42:45 +00:00
fc18bc6a18
feat(runtime): concurrent ip allocation ( #151 )
...
Previously, krata runtime allowed a single permit when performing operations.
This was necessary because the only IP allocation storage was xenstore, and
the commit of xenstore data happens after allocation. This commit introduces
IpVendor, a service which vends IPv4 and IPv6 addresses to guests using a
linear address strategy within an IP network space. The IpVendor table is
initialized from xenstore, and from there on out, the in-memory table
is the source of truth. This implementation is not perfect, but it will allow
us to lift the single permit limit, allowing guests to start concurrently.
2024-05-14 18:29:12 +00:00
84920a88ab
feat: pci passthrough ( #114 )
...
* feat: pci passthrough
* feat: guest device management
* feat: addons mounting and kernel modules support
* feat: more pci work
* fix: kernel build squashfs fixes
* fix: e820entry should be available on all platforms
2024-04-29 17:02:20 +00:00
95fbc62486
chore: release ( #87 )
...
Signed-off-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-23 09:41:56 +00:00
82576df7b7
feat: implement kernel / initrd oci image support ( #103 )
...
* feat: implement kernel / initrd oci image support
* fix: implement image urls more faithfully
2024-04-22 19:48:45 +00:00
e450ebd2a2
feat: oci tar format, bit-perfect disk storage for config and manifest, concurrent image pulls ( #88 )
...
* oci: retain bit-perfect copies of manifest and config on disk
* feat: oci tar format support
* feat: concurrent image pulls
2024-04-16 08:53:44 +00:00
218f848170
chore: release ( #41 )
...
Signed-off-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-15 19:15:00 +00:00
89055ef77c
feat: oci compliance work ( #85 )
...
* chore: rework oci crate to be more composable
* feat: image pull is now internally explicit
* feat: utilize vfs for assembling oci images
* feat: rework oci to preserve permissions via a vfs
2024-04-15 17:24:14 +00:00
24c71e9725
feat: oci packer can now use mksquashfs if available ( #70 )
...
* feat: oci packer can now use mksquashfs if available
* fix: use nproc in kernel build script for default jobs, and fix DEV.md guide
* feat: working erofs backend
2024-04-15 00:19:38 +00:00
0a6a112133
feat: basic kratactl top command ( #72 )
...
* feat: basic kratactl top command
* fix: use magic bytes 0xff 0xff in idm to improve reliability
2024-04-14 22:32:34 +00:00
6d07112e3d
feat: implement oci image progress ( #64 )
...
* feat: oci progress events
* feat: oci progress bars on launch
2024-04-12 18:09:26 +00:00
5e16f3149f
feat: guest metrics support ( #46 )
...
* feat: initial support for idm send in daemon
* feat: implement IdmClient backend support
* feat: daemon idm now uses IdmClient
* fix: implement channel destruction propagation
* feat: implement request response idm system
* feat: implement metrics support
* proto: move metrics into GuestMetrics for reusability
* fix: log level of guest agent was trace
* feat: metrics tree with process information
2024-04-12 07:34:46 +00:00
6050e99aa7
chore: release ( #39 )
...
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 11:47:58 +00:00
87c4d7b0c3
chore: release ( #37 )
...
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 11:06:22 +00:00
dedc514944
chore: release ( #33 )
...
Signed-off-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 02:50:52 -07:00
9c0597157b
fix: increase channel acquisition timeout to support lower performance hosts ( #36 )
2024-04-09 02:36:22 -07:00
a509f69398
chore: release ( #24 )
...
Signed-off-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-08 22:12:38 -07:00
f59976eb80
chore: release ( #16 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-03 00:27:16 +00:00
7c55e63f24
chore: implement automatic releases
2024-04-02 23:50:45 +00:00
5ad2e40a7b
krata: reimplement console to utilize channels, and provide logs support
2024-04-02 08:57:34 +00:00
8dd3cc7692
krata: work on parallel reconciliation
2024-04-02 00:56:18 +00:00
377b837db9
guest: set hostname from launch config
2024-03-31 03:18:56 +00:00
7e9bc4b910
krata: release v0.0.3
2024-03-30 09:37:54 +00:00
71dcaa7b77
daemon: rework to not use protobuf inside the crate
2024-03-30 09:29:03 +00:00
660b555be7
krata: bump to v0.0.2
2024-03-30 08:42:48 +00:00
03294f2ecd
Revert "Release krata v0.0.1, krata-oci v0.0.1, krata-xenstore v0.0.1, krata-guest v0.0.1, krata-xencall v0.0.1, krata-xenclient v0.0.1, krata-xenevtchn v0.0.1, krata-xengnt v0.0.1, krata-runtime v0.0.1, krata-daemon v0.0.1, krata-network v0.0.1, krata-ctl v0.0.1"
...
This reverts commit efba8b1316
.
2024-03-30 08:32:35 +00:00
efba8b1316
Release krata v0.0.1, krata-oci v0.0.1, krata-xenstore v0.0.1, krata-guest v0.0.1, krata-xencall v0.0.1, krata-xenclient v0.0.1, krata-xenevtchn v0.0.1, krata-xengnt v0.0.1, krata-runtime v0.0.1, krata-daemon v0.0.1, krata-network v0.0.1, krata-ctl v0.0.1
2024-03-30 08:27:20 +00:00
ee639af2ed
krata: fix workspace version references and feature discrepancies
2024-03-30 07:56:22 +00:00
b9d2dc54ea
krata: specify descriptions, licenses, repository, and homepage for crates
2024-03-30 07:11:14 +00:00
eb20a4c60c
krata: use krata-advmac fork
2024-03-30 06:51:16 +00:00
bdb91a6cb3
krata: restructure packages for cleanliness
2024-03-30 06:21:34 +00:00