Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1894 commits
Select commit Hold shift + click to select a range
1314ac8
build: Release v52.0
likebreath May 14, 2026
2557909
vmm: Revert "vmm: create memfd for private mappings"
rbradford May 18, 2026
3759424
vm-migration: be explicit about commands
phip1611 May 15, 2026
0860597
vmm: migration: better observe and log invalid states
phip1611 May 15, 2026
ebc1e7e
vmm: Don't store the snapshot on the DeviceManager
rbradford May 19, 2026
2ab7ee6
vmm: remove redundant SocketStream overrides
amphi Apr 14, 2026
cbfe183
vmm: remove AsRawFd trait for SocketStream
amphi Apr 14, 2026
162f74e
vm-migration: client-side of a TLS connection
amphi Apr 14, 2026
1eb31b1
vm-migration: server-side of a TLS connection
amphi Apr 14, 2026
725f0f8
vmm: add TLS streams to migration transport
amphi Apr 14, 2026
a5a248b
vmm: accept migration connections over TLS
amphi Apr 14, 2026
7da1e8c
vmm: tighten migration URL validation
amphi Apr 15, 2026
db5213f
vmm: add TLS API option to send migration call
amphi Apr 15, 2026
cd1c00d
vmm: add TLS API option to receive migration call
amphi Apr 15, 2026
5e0484b
vmm: encrypt migration data with TLS if configured
amphi Apr 15, 2026
ab64813
docs: document live migration TLS encryption
amphi Apr 24, 2026
ce9340e
docs: update README for gardenlinux Cloud Hypervisor
phip1611 Aug 15, 2025
41c8341
misc: adjust AGENTS.md for our fork
phip1611 Mar 30, 2026
53be0f7
ci: enforce SAP commit style
phip1611 Oct 30, 2025
6f07b15
ci: remove irrelevant CI for this fork
phip1611 Apr 28, 2026
f83009e
build: flake: init
phip1611 Jan 28, 2026
44dd0ab
build: nix: add commit to version info
arctic-alpaca Apr 9, 2026
5b45689
build: ci/nix: build cloud-hypervisor
phip1611 Jan 28, 2026
7499991
build: cargo: add optimized-dev profile
phip1611 Aug 27, 2025
e8ba7f3
build: cargo: don't strip binary
phip1611 Dec 1, 2025
3caabf4
main: print build version and date on startup
phip1611 Mar 30, 2026
714551c
vmm: cpu: improve timeout handling in wait_until_signal_acknowledged()
phip1611 Mar 19, 2026
9f6ca3d
vmm: increase logging level of precopy from debug -> info
phip1611 May 12, 2026
26c0baf
vmm: pci: rename pci_device_id -> bdf_device
phip1611 May 5, 2026
f795caf
main: restore absolute timestamp behavior in logger
phip1611 May 12, 2026
ead7662
misc: live-migration with virtio-net devices with network fds
phip1611 Jun 27, 2025
07d1f92
vmm: properly unset immediate_exit on -EINTR
phip1611 Sep 10, 2025
b3b0988
vmm: vcpu: optimize lock usage
phip1611 Sep 11, 2025
46f6d30
vmm: prerequisites for accessing KVM_RUN in the vCPU loop
phip1611 Apr 30, 2026
caff5a7
vmm: fix kicking vCPU out of KVM_RUN from signal handler
phip1611 Sep 10, 2025
babc663
vmm: temporarily make "resize" API call fail fast
phip1611 Sep 11, 2025
a346961
vm-migration: mTLS -> TLS (make upstream compatible with our fork)
phip1611 May 4, 2026
ed3e81e
vmm: add vCPU throttling (auto-converge) for pre-copy
phip1611 Jun 10, 2025
37505a8
vmm: console: add tcp option
hertrste Sep 11, 2025
c068d9d
vmm: serial: add Tcp enum entry
hertrste Sep 11, 2025
67cc1af
vmm: serial: rename CloneUnixStream -> CloneStream
hertrste Sep 11, 2025
eae34fe
vmm: serial: add serial tcp implementation
hertrste Sep 11, 2025
6d3b70a
vmm: serial: implement writer combiner
hertrste Sep 16, 2025
4c396f3
vmm: config: allow additional file when mode TCP
hertrste Sep 17, 2025
73a98d0
vmm: serial: additional log to file
hertrste Sep 17, 2025
8a65636
vmm: serial_manager: use TypeId trait for key type in FanoutWriter
hertrste Sep 29, 2025
fef3e3f
vmm: api: receive_migration can get a tcp_serial_url
hertrste Oct 21, 2025
59763b3
arch: x86_64: refactor SMBIOS helpers
Coffeeri Feb 9, 2026
7a1d331
vmm: plumb legacy SMBIOS config
Coffeeri Feb 9, 2026
287c2c0
vmm: platform: add structured SMBIOS config
Coffeeri Feb 9, 2026
29fab19
vmm: deprecate legacy SMBIOS keys in API and CLI
Coffeeri Feb 9, 2026
9e3afb7
arch: smbios: add tests for table serialization
Coffeeri Feb 10, 2026
90d53ef
vmm: Allow to modify host numa settings
scholzp Feb 10, 2026
a904e9b
vmm: migration: prepare EventFd for async migration events
phip1611 Nov 21, 2025
034935a
vmm: migration: handle in dedicated thread (make async)
phip1611 Nov 21, 2025
e397792
vmm: better VM ownership handling in context of live migration
phip1611 Oct 30, 2025
f7303f3
vmm: api: temporarily make VmSendMigration call blocking again
phip1611 Oct 30, 2025
3b3eda1
vmm: migration: fix missing resume() VM after failed live migration
phip1611 Feb 12, 2026
27ba41b
vmm: migration: limit to running VMs only
phip1611 Feb 12, 2026
04dd58f
vm-migration: prepare progress types for new API endpoint
phip1611 Jan 13, 2026
e27612d
vmm: add migration-progress API endpoint
phip1611 Jan 13, 2026
2dd9618
vmm: add migration-progress HTTP endpoint
phip1611 Jan 12, 2026
fe5387d
vmm: actually populate migration progress
phip1611 Jan 22, 2026
d9a8206
ch-remote: add `migration-progress` command
phip1611 Feb 12, 2026
cf18742
vmm: migration: switch to non-blocking SendMigration call
phip1611 Feb 12, 2026
8bbea46
ch-remote: wait for migration to finish by querying migration progress
phip1611 Feb 12, 2026
9840545
vmm: api: less verbose log
phip1611 Feb 19, 2026
26778e9
devices: stop reset loops when vCPUs are paused
Coffeeri Feb 19, 2026
07426a5
devices: cmos: simplify pause/kill wait flags
Coffeeri Feb 19, 2026
668a637
vmm: set timeouts on sockets used for live migrations
amphi Feb 12, 2026
8be5c81
vmm: make aborted migrations return errors
amphi Feb 11, 2026
599d53a
vm-migration: send periodic keep alive messages during live migration
amphi Feb 12, 2026
a3f00f1
vmm: return error if the migration sender never connects
amphi Feb 23, 2026
eebf20f
vmm: add context to MigrateSend-Error
amphi Feb 26, 2026
fc81e2a
vmm: return error if prefaulting fails
amphi Feb 26, 2026
0041e57
vmm: migration receiver: report error when migration is aborted
amphi Mar 2, 2026
dc00fe1
vmm: add context to MigrateReceive-Error
amphi Feb 27, 2026
fbb64c8
vmm: add post-migration event to VmSnapshot
Coffeeri Feb 17, 2026
23414bb
vmm: postpone reset/exit during migration
Coffeeri Feb 17, 2026
fe3709f
vmm: migration: switch downtime on postponed event
Coffeeri Feb 17, 2026
838ea2e
vmm: streamline migration failure cleanup
phip1611 Feb 17, 2026
1688e55
vmm: api: add VmCancelMigration action
phip1611 Feb 19, 2026
9fa49fd
vmm: http api: add VmCancelMigration action
phip1611 Feb 19, 2026
2a2f4e6
vmm: migration: add handle wrapper for MigrationWorker
phip1611 Feb 19, 2026
c70dd77
vmm: add try_resume_vm() helper
phip1611 Feb 27, 2026
806b51b
vmm: migration: actually support cancellation
phip1611 Mar 2, 2026
a925363
vmm: migration: early cancellation (add more checks)
phip1611 Mar 2, 2026
a2abcf5
vmm: migration cancellation: integrate into TCP threads
phip1611 Mar 5, 2026
5283a0c
ch-remote: add cancel-migration
phip1611 Feb 19, 2026
0aebb7b
vmm: migration: properly print error chain on failure
phip1611 Mar 30, 2026
0795c73
vmm: defer guest exit during migration
Coffeeri Mar 9, 2026
09c6399
vmm: reduce API event verbosity
phip1611 Mar 13, 2026
8c86589
vmm: keep virtio activation alive in migration
Coffeeri Mar 10, 2026
0c04114
vm-migration: speed up volatile read and write
amphi Mar 17, 2026
dd4f596
vm-migration: Add AsFd for KeepAliveStream
amphi Mar 17, 2026
4db6bd3
vmm: differentiate timeouts by reader/writer, not sender/receiver
amphi Mar 17, 2026
7c79afe
vm-migration: move keep alive handling into the protocol
amphi Mar 17, 2026
37268c0
vm-migration: add KeepAlive status to response
amphi Mar 17, 2026
2c89466
vm-migration: make KeepAliveStream work for sender and receiver
amphi Mar 17, 2026
1d7098a
vmm: always use KeepAliveStream for main connection
amphi Mar 17, 2026
60fa667
vmm: Use KeepAliveStream also for receiver
amphi Mar 17, 2026
481c725
vmm: migration: longer accept timeout for receiver
phip1611 Apr 8, 2026
e01f34a
vmm: migration: improve error message on timeout
phip1611 Apr 8, 2026
b641706
vm-migration: fix UB in network parsing
arctic-alpaca Mar 23, 2026
0e4be70
vm-migration: stop sending abandon after error response
amphi Mar 25, 2026
3655c61
vmm: add mechanism for post-migration announcements
amphi Jan 16, 2026
0f8e073
vmm: add internal post-migration announce action
amphi Mar 25, 2026
2bffeb4
vmm: api: add API call for post migration announcements
amphi Mar 25, 2026
54c920e
net_util: refactor ctrl queue parsing
amphi Mar 31, 2026
909cb53
virtio-devices: net: refactor constructor state
amphi Mar 31, 2026
70fc3a2
virtio-devices: net: report link up in config status
amphi Apr 7, 2026
cd9eb4b
virtio-devices: net: support guest announce after migration
amphi Mar 31, 2026
8a01679
virtio-devices: net: add guest announce tests
amphi Mar 27, 2026
f07580b
virtio-devices: net: fix guest announce compatibility
amphi Mar 31, 2026
7bfbdc3
virtio-devices: net: restore pending announce notifications
amphi Mar 31, 2026
a80ce71
virtio-devices: net: invalidate stale announce retries
amphi Apr 1, 2026
dcdf37c
vmm: Enable AMX states prior to checking CPUID compatibility
olivereanderson Dec 9, 2025
6646945
arch: Initial data structures for describing CPUID parameters
olivereanderson Dec 9, 2025
f599f64
hypervisor: Implement common traits for HypervisorType and CpuVendor
olivereanderson Oct 7, 2025
14d2466
arch: CpuProfile data structures
olivereanderson Dec 9, 2025
997cfe3
misc: Make CPU profile part of various configs
olivereanderson Oct 7, 2025
65a8e4c
arch: Apply CPU profile (if any) when generating common CPUID
olivereanderson Dec 9, 2025
563b274
arch: Include Skylake and Sapphire rapids CPU profiles
olivereanderson Dec 9, 2025
fd04dca
arch: CPUID definitions data structures
olivereanderson Dec 10, 2025
a8f9757
arch: Intel CPUID definitions
olivereanderson Dec 10, 2025
fe5512e
arch: KVM CPUID definitions
olivereanderson Dec 10, 2025
329d56c
arch: Improve CPUID incompatibility logging
olivereanderson Dec 10, 2025
3c6e4c9
arch: CPU profile generation CLI
olivereanderson Dec 10, 2025
92a9442
arch: Change numeric serialization for CPU profiles
olivereanderson Feb 9, 2026
7bbbd02
arch: Passthrough policies for mutable CPUID fields
olivereanderson Feb 6, 2026
1f77620
arch: Update CPU profiles (passthrough mutable fields)
olivereanderson Feb 6, 2026
e4ae34a
arch: Regenerate CPU profiles after updating the serialization format
olivereanderson Feb 13, 2026
dd47149
misc: move MSR retrieval to Hypervisor trait (KVM)
phip1611 Feb 18, 2026
27b843a
hypervisor: Add get_msr_based_features method
olivereanderson Jan 25, 2026
846d221
hypervisor: Add get_msr_index_list method to the hypervisor trait
olivereanderson Feb 18, 2026
96aa3bf
misc: Don't expose MSR buffer directly through the hypervisor
olivereanderson Feb 20, 2026
a0d6833
hypervisor: msr_filter method on Vm trait
olivereanderson Feb 20, 2026
d40d067
arch: Disable UINTR state components
olivereanderson Feb 25, 2026
bdfd8c1
arch: Disable CET in CPUID for CPU profiles
olivereanderson Feb 26, 2026
d4bdb77
arch: Change CPU profile policy for MCA
olivereanderson Mar 3, 2026
48815aa
arch: Change CPUID profile policy for WAITPKG
olivereanderson Feb 25, 2026
1dcb703
arch: More Inherit for CPUID leaf 0x7.EDX
olivereanderson Mar 11, 2026
d7becd7
arch: Disable PKU and OSPKE for non-host CPU profiles
olivereanderson Mar 13, 2026
ce5aee5
arch: Change CPU profile generation tool
olivereanderson Jan 26, 2026
4bd67c5
arch: Lookup methods on CPUID definitions
olivereanderson Feb 17, 2026
09df0a5
arch: Add data structures for MSR definitions
olivereanderson Jan 7, 2026
d0a764a
arch: INTEL MSR-based feature definitions
olivereanderson Jan 7, 2026
56afe85
arch: I32_ARCH_CAPABILITIES changes according to PR review
olivereanderson Mar 11, 2026
fe5b3df
arch: Change policies for CR4_FIXED_I
olivereanderson Mar 13, 2026
b249f20
arch: MSR compatibility checks
olivereanderson Jan 16, 2026
550d633
arch: Stricter MSR compatibility checks for IA32_ARCH_CAPABILITIES
olivereanderson Mar 11, 2026
0869f9e
arch: Add a list of all Intel architectural MSRS
olivereanderson Feb 12, 2026
47c55a6
arch: Address architectural msrs review
olivereanderson Mar 11, 2026
af970c7
arch: Include a list of non-architectural MSRs
olivereanderson Feb 13, 2026
e81cd26
arch: Add lists of KVM MSRS
olivereanderson Feb 13, 2026
a3cc017
arch: Add a list of HyperV MSRs
olivereanderson Mar 5, 2026
bdfeb7e
arch: Add required MSR update functionality
olivereanderson Jan 21, 2026
1ba49cf
arch: Deny MSR functionality
olivereanderson Feb 24, 2026
6c332a1
vmm: Apply MSR adjustments according to CPU profile (if any)
olivereanderson Jan 26, 2026
6ef99ea
arch: Make the CPU profile generation tool MSR aware
olivereanderson Jan 26, 2026
1b33c3c
arch: Use MSR aware profiles
olivereanderson Jan 29, 2026
043bd6a
arch: Inherit policy for MCA
olivereanderson Mar 17, 2026
83619ba
arch: Permit IA32_MCG_CAP and IA32_MCG_STATUS
olivereanderson Mar 17, 2026
1f1ddf5
arch: Regenerate CPU profiles
olivereanderson Mar 18, 2026
683d613
arch: FORDIB IA32_U_CET and IA32_S_CET in CPU Profiles
olivereanderson Mar 23, 2026
fa08c47
arch: Disable HDC state components for CPU profiles
olivereanderson Mar 24, 2026
52a3920
arch: Disable LBR state components
olivereanderson Mar 24, 2026
6c31b6e
arch: Disable HWP state components
olivereanderson Mar 24, 2026
11cd2cc
arch: Disable PT state components
olivereanderson Mar 24, 2026
8086bdf
arch: Disable PASID state components
olivereanderson Mar 24, 2026
fa9dc5f
arch: Disable VM_ENTRY_HARDWARE_EXCEPTIONS for CPU profiles
olivereanderson Mar 24, 2026
19a662d
arch: Forbid IA32_XSS for non-host CPU profiles
olivereanderson Mar 24, 2026
b3abc68
arch: Clear LBR related bits in the VM-Exit and VM-Entry CTL MSRs
olivereanderson Mar 24, 2026
8e5bc8f
docs: CPU Profile generation
olivereanderson Mar 23, 2026
81fbb61
build: flate2 Workspace dependency
olivereanderson Apr 10, 2026
65785e9
arch: Code generation for CPU profiles
olivereanderson Apr 9, 2026
37239a6
arch: Update cpu_profile.rs to include code generation from build.rs
olivereanderson Apr 10, 2026
b88d1b9
docs: Update CPU profile generation developer documentation
olivereanderson Apr 10, 2026
8a11273
arch: Deserialize CPU profiles in kebab-case
olivereanderson Apr 13, 2026
9902cf3
Merge pull request #153 from phip1611/gardenlinux-next-v52
phip1611 May 20, 2026
7d2b664
vmm: add seccomp rules for absolute timestamps
amphi Apr 17, 2026
0cf621d
virtio-devices: add seccomp rules for absolute timestamps
amphi Apr 17, 2026
13adaea
ci: bring back unit tests
phip1611 May 21, 2026
1d5cab1
ci: implementation of flake bump auto approve and merge
pkr4711 May 21, 2026
6c38ad2
vmm: Fix memory_bytes_total value in do_memory_iterations
olivereanderson May 27, 2026
0b2ba9d
vmm: Fix memory_transmission_bps value in do_memory_iterations
olivereanderson May 27, 2026
afa060f
vmm: Remove duplicated update_migration_progress in do_memory_iterations
olivereanderson May 27, 2026
7e0b120
vmm: seccomp: extend event-monitor allowlist
phip1611 May 28, 2026
48e6ed9
Revert "arch: smbios: add tests for table serialization"
Coffeeri May 29, 2026
bd4572a
Revert "vmm: deprecate legacy SMBIOS keys in API and CLI"
Coffeeri May 29, 2026
ca72aa8
Revert "vmm: platform: add structured SMBIOS config"
Coffeeri May 29, 2026
a7736bc
Revert "vmm: plumb legacy SMBIOS config"
Coffeeri May 29, 2026
62a6d87
Revert "arch: x86_64: refactor SMBIOS helpers"
Coffeeri May 29, 2026
af30c74
vmm: store PCI MMIO allocators as slices
phip1611 May 14, 2026
746cc49
vmm: store PCI segments as a slice
phip1611 May 14, 2026
104e12f
vmm: store CPU affinity lists as slices
phip1611 May 14, 2026
37cbc45
virtio-devices, vmm: replace Vec<T> with Box<[T]> in config structs
phip1611 May 15, 2026
f5362f7
arch: x86_64: refactor SMBIOS helpers
Coffeeri Feb 9, 2026
f65d01c
vmm: plumb legacy SMBIOS config
Coffeeri Feb 9, 2026
295863f
vmm: platform: add structured SMBIOS config
Coffeeri Feb 9, 2026
57ec3b8
vmm: deprecate legacy SMBIOS keys in API and CLI
Coffeeri Feb 9, 2026
cfeba65
arch: smbios: add tests for table serialization
Coffeeri Feb 10, 2026
2d26a5f
tests: cover new SMBIOS platform fields
Coffeeri May 27, 2026
bc8f289
vmm: Emit complete ACPI S5 sleep package
tpressure Jun 1, 2026
d6b2484
vmm: seccomp: add read to event-monitor allowlist
amphi Jun 2, 2026
246bda5
vmm: seccomp: add read to http-server allowlist
amphi Jun 2, 2026
3544c4c
build: nix: update to nixos-26.05
arctic-alpaca Jun 9, 2026
4a11781
vmm: remove spammy log message
phip1611 Jun 10, 2026
598ec8b
block: Retry locking when interrupted by EINTR
scholzp Jun 16, 2026
079ed4d
vmm: prevent serial manager TCP shutdown deadlock
amphi Jun 18, 2026
780b18e
virtio-devices: block: drain async I/O before pausing
dgreid Jun 11, 2026
e648432
build: bump all Nix Flake dependencies
phip1611 Jun 25, 2026
0bd3750
ci: fix flake bump auto approve workflow with forked PRs
pkr4711 Jun 26, 2026
7c88aec
vmm: temporarily decrease info logging for PIO access
amphi Jun 29, 2026
0582771
vmm, vm-migration: add MigrationStateOngoingPhase::Started
phip1611 Jul 1, 2026
e6cd3d8
vmm, vm-migration: streamline error chain message with upstream
phip1611 Jul 1, 2026
af99501
hypervisor: Fix clippy: for_kv_map
rbradford May 27, 2026
5d6a2e1
virtio-devices: Fix clippy: for_kv_map
rbradford May 27, 2026
dae9118
vmm: Fix clippy: for_kv_map
rbradford May 27, 2026
40f032c
test_infra: Fix clippy: useless_borrows_in_formatting
rbradford May 27, 2026
24f10e4
virtio-devices: Fix clippy: useless_borrows_in_formatting
rbradford May 27, 2026
9ae2d58
vmm: Fix clippy: useless_borrows_in_formatting
rbradford May 27, 2026
54b5da1
arch: Fix clippy: unused_format_specs
rbradford May 27, 2026
a78aa63
test_infra: Fix clippy: uninlined_format_args
rbradford May 27, 2026
1ed8481
vmm: Fix clippy: uninlined_format_args
rbradford May 27, 2026
cb47649
tests: Fix clippy: useless_borrows_in_formatting
rbradford May 27, 2026
4926f13
tests: Fix clippy: uninlined_format_args
rbradford May 27, 2026
851a8e6
arch: Fix clippy: unused_format_specs
arctic-alpaca Jul 9, 2026
373036f
vmm: Fix clippy: useless_borrows_in_formatting
arctic-alpaca Jul 9, 2026
7f30e9c
vmm: remove `get_lock_state` function
arctic-alpaca Jun 30, 2026
fc056d5
vmm: remove `get_` prefix
arctic-alpaca Jun 30, 2026
b4b7f59
vmm: refactor locking functions to be methods of `LockGranularity`
arctic-alpaca Jun 30, 2026
82a6c76
vmm: refactor `LockGranularity` for easier addition of variants
arctic-alpaca Jun 30, 2026
b177424
vmm: move error handling into `fcntl` function
arctic-alpaca Jul 1, 2026
c6acfa0
vmm: fix safety comment for `fcntl` wrapper
arctic-alpaca Jul 1, 2026
b72315b
vmm: add option for QEMU compatible file locking
arctic-alpaca Jun 30, 2026
72c474d
vmm: set `QemuCompatible` to the default `LockGranularityChoice`
arctic-alpaca Jul 1, 2026
3e60ea9
pci: Detect masked BAR size probes
Coffeeri Jun 1, 2026
e790c85
Revert "main: restore absolute timestamp behavior in logger"
arctic-alpaca Jul 24, 2026
ff86599
main: Add support for "glog style" timestamps
rbradford May 21, 2026
b3d0d50
main: logger: capture local timezone before seccomp
dgreid Jun 3, 2026
489a922
Revert "main: print build version and date on startup"
arctic-alpaca Jul 24, 2026
8b0b6f1
main: print build version on startup
arctic-alpaca Jul 24, 2026
d00bdc0
vmm: clean up migration threads on failure
arctic-alpaca Jul 29, 2026
016be78
vmm: Remove Copy and Clone Derive from ThrottleCommand
olivereanderson Aug 3, 2026
f074f07
vmm: Remove PartialEq and Eq derive from ThrottleCommand
olivereanderson Aug 3, 2026
2ac36e0
vmm: Switch from gerund to imperative form in ThrottleCommand variants
olivereanderson Aug 3, 2026
e38e586
vmm: Do not stop vCPU throttle thread at the end of a live migration
olivereanderson Aug 3, 2026
636637c
vmm: Reset throttle thread when do_memory_iteration fails
olivereanderson Aug 6, 2026
847d8d8
vmm: fix migration sender hang on worker failure
Coffeeri Aug 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[profile.default]
# Don't let one individual test run for more than 10 minutes
slow-timeout = { period = "60s", terminate-after = 10 }
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://editorconfig.org/
#
# Hints for editors to assist with correct formatting as you type.
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_size = 4
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# Recommendation, not enforced.
max_line_length = 80

[Makefile]
indent_style = tab

# Inherited as default
# [*.sh]
# indent_size = 4

[{Cargo.lock,*.md,*.toml,*.yml,*.yaml}]
indent_size = 2
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
72 changes: 62 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,73 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
directories:
- "/"
- "/fuzz"
schedule:
interval: daily
open-pull-requests-limit: 1
interval: weekly
allow:
- dependency-type: direct
- dependency-type: indirect
- dependency-name: "acpi_tables"
- dependency-name: "kvm-bindings"
- dependency-name: "kvm-ioctls"
- dependency-name: "linux-loader"
- dependency-name: "micro_http"
- dependency-name: "mshv-bindings"
- dependency-name: "mshv-ioctls"
- dependency-name: "seccompiler"
- dependency-name: "vfio-bindings"
- dependency-name: "vfio-ioctls"
- dependency-name: "vfio_user"
- dependency-name: "vhost"
- dependency-name: "vhost-user-backend"
- dependency-name: "virtio-bindings"
- dependency-name: "virtio-queue"
- dependency-name: "vm-fdt"
- dependency-name: "vm-memory"
- dependency-name: "vmm-sys-util"
groups:
rust-vmm:
patterns:
- "*"
- package-ecosystem: cargo
directory: "/fuzz"
directories:
- "/"
- "/fuzz"
schedule:
interval: daily
open-pull-requests-limit: 1
interval: weekly
allow:
- dependency-type: direct
- dependency-type: indirect
- dependency-type: all
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 7
semver-patch-days: 3
ignore:
- dependency-name: "acpi_tables"
- dependency-name: "kvm-bindings"
- dependency-name: "kvm-ioctls"
- dependency-name: "linux-loader"
- dependency-name: "micro_http"
- dependency-name: "mshv-bindings"
- dependency-name: "mshv-ioctls"
- dependency-name: "seccompiler"
- dependency-name: "vfio-bindings"
- dependency-name: "vfio-ioctls"
- dependency-name: "vfio_user"
- dependency-name: "vhost"
- dependency-name: "vhost-user-backend"
- dependency-name: "virtio-bindings"
- dependency-name: "virtio-queue"
- dependency-name: "vm-fdt"
- dependency-name: "vm-memory"
- dependency-name: "vmm-sys-util"
groups:
non-rust-vmm:
patterns:
- "*"
# Makes it possible to have another config for the same directory.
# https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219
target-branch: main
- package-ecosystem: github-actions
directory: "/"
schedule:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/audit.yaml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/build.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/build_nix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Cloud Hypervisor Build (Nix)
on: [push, pull_request, merge_group]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v31
# We restore Nix evaluation and Nix tarball cache, speeding up the CI.
# This does not cover any Nix artifacts from the Nix store.
- name: Restore Nix cache
uses: actions/cache@v5
with:
path: ~/.cache/nix
key: nix-cache-${{ github.job }}
# Nix binary cache
- uses: DeterminateSystems/magic-nix-cache-action@main
# Dedicated step to separate all the
# "copying path '/nix/store/...' from 'https://cache.nixos.org'."
# messages from the actual build output.
- name: Prepare Nix Store
run: nix develop --command bash -c "nix --version"
- name: Check Nix format
run: nix fmt -- --ci
- name: Check Nix Flake
run: nix flake check -L
- name: Build Cloud Hypervisor
run: |
nix build -L .#default
nix build -L .#cloud-hypervisor
Loading
Loading