Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/acceptance-case-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ its own in turn.
| [The adapter's other tests](#the-adapters-other-tests) | 169 | 0 | 9 | 160 |
| [MicroVM scenarios](#microvm-scenarios) | 54 | 51 | 2 | 1 |
| [CI](#ci) | 69 | 43 | 3 | 23 |
| [Docs](#docs) | 36 | 34 | 1 | 1 |
| [Docs](#docs) | 36 | 32 | 1 | 3 |

## The adapter's scenarios

Expand Down Expand Up @@ -498,15 +498,15 @@ this matrix. The README's own code is no doctest.
| `nvx-rs/src/guest/terminal.rs - guest::terminal (line 10)` | kept | |
| `nvx-rs/src/guest/time/mod.rs - guest::time (line 15)` | kept | |
| `nvx-rs/src/host/sandbox/prepared.rs - host::sandbox::prepared::PreparedLaunch (line 92)` | kept | Its launch type leaves with the old launch paths (#1087), whose PR retires it |
| `nvx-rs/src/host/store/mod.rs - host::store (line 75)` | kept | The sandbox store leaves (#1121), whose PR retires it |
| `nvx-rs/src/host/supervisor/mod.rs - host::supervisor (line 33)` | kept | The old supervisor leaves (#1087), whose PR retires it |
| `nvx-rs/src/host/store/mod.rs - host::store (line 72)` | kept | The sandbox store leaves (#1121), whose PR retires it |
| `nvx-rs/src/host/supervisor/mod.rs - host::supervisor (line 32)` | kept | The old supervisor leaves (#1087), whose PR retires it |
| `nvx-rs/src/host/template/clone.rs - host::template::clone::ClonePlan (line 247)` | retired | `ClonePlan` and `CloneRequest` leave with the old clone path (SL6.2b, #1121) |
| `nvx-rs/src/host/template/plan.rs - host::template::plan::TemplatePlan (line 137)` | kept | The template store leaves (SL6.2a, #1121), whose PR retires it |
| `nvx-rs/src/host/template/store.rs - host::template::store::Store (line 473)` | kept | The template store leaves (SL6.2a, #1121), whose PR retires it |
| `nvx-rs/src/host/template/plan.rs - host::template::plan::TemplatePlan (line 137)` | retired | `TemplatePlan` leaves with the template store (SL6.2a, #1121) |
| `nvx-rs/src/host/template/store.rs - host::template::store::Store (line 473)` | retired | The template store leaves (SL6.2a, #1121) |
| `nvx-rs/src/host/transport.rs - host::transport (line 22)` | kept | |
| `nvx-rs/src/lib.rs - (line 58)` | kept | |
| `nvx-rs/src/protocol/nvxs/mod.rs - protocol::nvxs (line 68)` | kept | |
| `nvx-rs/src/host/snapshot/capture.rs - host::snapshot::capture::finish_capture (line 50)` | kept | |
| `nvx-rs/src/host/store/mod.rs - host::store (line 107)` | kept | The sandbox store leaves (#1121), whose PR retires it |
| `nvx-rs/src/host/store/mod.rs - host::store (line 104)` | kept | The sandbox store leaves (#1121), whose PR retires it |
| `nvx-rs/README.md`, its Example: an instance through `LaunchSpec` and the sandbox store | rewritten | Nothing compiles it. `nvx-rs/examples/host-workflows.rs` compiles the documented host workflows, and the library's guide (SL6.10a) replaces the example |
| `nvx-rs/examples/external-launch.rs` | kept | Compiled with the crate's targets, and run by hand on a host |
5 changes: 2 additions & 3 deletions doc/design/1.5-compatibility-and-versioning-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ guest's address and the identity of the complete deny-all policy under which
the capture attached it. Every restore of the template replaces that policy
with its clone's own, so a template serves the clones of every network policy
at its guest's address, and its key records none of them. The key's encoding,
version 1, has not been released, so a template store that an earlier build
created is not supported: delete it and create a new one. There is no
migration.
version 1, has not been released, so no key that an earlier build encoded is
supported. There is no migration.

## 1.5.3 Persisted State

Expand Down
3 changes: 1 addition & 2 deletions doc/design/5.3-snapshot-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ an endpoint that stops reading, stalls the capture, with nothing published and
the source never resumed, until the process that launched the VMM ends it; the
VMM logs each state unit that has not answered after five seconds, so that the
log of such a capture names it. Every launcher therefore bounds a capture with
a deadline that ends the VMM, as the nvx crate's template store does with the
deadline that creating or refreshing a template requires.
a deadline that ends the VMM.

## 5.3.4 State-Unit Ordering

Expand Down
221 changes: 49 additions & 172 deletions nvx-rs/README.md

Large diffs are not rendered by default.

222 changes: 0 additions & 222 deletions nvx-rs/public-api/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3314,228 +3314,6 @@ fn nvx::host::supervisor::reattach
fn nvx::host::supervisor::spawn
fn nvx::host::supervisor::spawn_command
fn nvx::host::supervisor::spawn_vm
mod nvx::host::template
struct nvx::host::template::Acquired
field nvx::host::template::Acquired::lease
field nvx::host::template::Acquired::locked
struct nvx::host::template::BlockGeometry
field nvx::host::template::BlockGeometry::length
field nvx::host::template::BlockGeometry::logical_block_size
field nvx::host::template::BlockGeometry::physical_block_size
const nvx::host::template::CAPTURES_NAME
const nvx::host::template::CAPTURE_RECORD_NAME
struct nvx::host::template::Capture
field nvx::host::template::Capture::adapter
field nvx::host::template::Capture::artifacts
field nvx::host::template::Capture::binding
field nvx::host::template::Capture::class
field nvx::host::template::Capture::policy_revision
struct nvx::host::template::CaptureClass
const nvx::host::template::CaptureClass::VERSION
field nvx::host::template::CaptureClass::boot_processors
method nvx::host::template::CaptureClass::check
field nvx::host::template::CaptureClass::cpu_profile
field nvx::host::template::CaptureClass::distro
field nvx::host::template::CaptureClass::guest_build
field nvx::host::template::CaptureClass::hypervisor
method nvx::host::template::CaptureClass::identity
field nvx::host::template::CaptureClass::invariants
field nvx::host::template::CaptureClass::memory
field nvx::host::template::CaptureClass::memory_capacity
field nvx::host::template::CaptureClass::network
field nvx::host::template::CaptureClass::processors
field nvx::host::template::CaptureClass::runtime
field nvx::host::template::CaptureClass::scratch
method nvx::host::template::CaptureClass::to_bytes
struct nvx::host::template::ClassIdentity
method nvx::host::template::ClassIdentity::as_bytes
method nvx::host::template::ClassIdentity::from_bytes
enum nvx::host::template::Created
variant nvx::host::template::Created::Captured
field nvx::host::template::Created::Captured::0
variant nvx::host::template::Created::Existing
field nvx::host::template::Created::Existing::0
method nvx::host::template::Created::generation
method nvx::host::template::Created::into_generation
struct nvx::host::template::Downtime
field nvx::host::template::Downtime::nanos
field nvx::host::template::Downtime::source
field nvx::host::template::Downtime::vm_time_nanos
enum nvx::host::template::DowntimeSource
variant nvx::host::template::DowntimeSource::HostMonotonic
variant nvx::host::template::DowntimeSource::Utc
enum nvx::host::template::Eligibility
variant nvx::host::template::Eligibility::Early
field nvx::host::template::Eligibility::Early::before_ns
field nvx::host::template::Eligibility::Early::source
variant nvx::host::template::Eligibility::Eligible
field nvx::host::template::Eligibility::Eligible::0
variant nvx::host::template::Eligibility::Expired
field nvx::host::template::Eligibility::Expired::0
method nvx::host::template::Eligibility::is_eligible
const nvx::host::template::GENERATIONS_NAME
struct nvx::host::template::Generation
method nvx::host::template::Generation::class
method nvx::host::template::Generation::created_at
method nvx::host::template::Generation::eligibility
method nvx::host::template::Generation::generation
method nvx::host::template::Generation::key
method nvx::host::template::Generation::memory_len
method nvx::host::template::Generation::state_len
method nvx::host::template::Generation::storage_generation
method nvx::host::template::Generation::time
enum nvx::host::template::HostClock
variant nvx::host::template::HostClock::LinuxBoottime
variant nvx::host::template::HostClock::WindowsInterruptTime
method nvx::host::template::HostClock::as_str
struct nvx::host::template::HostTime
field nvx::host::template::HostTime::boot_id
field nvx::host::template::HostTime::clock
field nvx::host::template::HostTime::host_id
field nvx::host::template::HostTime::monotonic_ns
method nvx::host::template::HostTime::now
field nvx::host::template::HostTime::utc_ns
const nvx::host::template::INDEX_LOCK_NAME
const nvx::host::template::INDEX_NAME
struct nvx::host::template::Index
method nvx::host::template::Index::generations
method nvx::host::template::Index::get
method nvx::host::template::Index::next_generation
method nvx::host::template::Index::of_key
struct nvx::host::template::Invariants
const nvx::host::template::Invariants::MAX_NAME_LEN
const nvx::host::template::Invariants::MAX_SETTINGS
const nvx::host::template::Invariants::MAX_VALUE_LEN
method nvx::host::template::Invariants::get
method nvx::host::template::Invariants::is_empty
method nvx::host::template::Invariants::iter
method nvx::host::template::Invariants::len
method nvx::host::template::Invariants::new
method nvx::host::template::Invariants::with
const nvx::host::template::KEY_NAME
struct nvx::host::template::KeyIdentity
method nvx::host::template::KeyIdentity::as_bytes
method nvx::host::template::KeyIdentity::from_bytes
const nvx::host::template::LEASES_NAME
struct nvx::host::template::Lease
method nvx::host::template::Lease::generation
method nvx::host::template::Lease::id
method nvx::host::template::Lease::key
method nvx::host::template::Lease::launch
method nvx::host::template::Lease::of
method nvx::host::template::Lease::sandbox
method nvx::host::template::Lease::store
method nvx::host::template::Lease::template
struct nvx::host::template::LeaseId
method nvx::host::template::LeaseId::as_bytes
method nvx::host::template::LeaseId::from_bytes
const nvx::host::template::MANIFEST_NAME
const nvx::host::template::MAX_DOWNTIME_NS
const nvx::host::template::MAX_GENERATIONS
const nvx::host::template::MAX_MANIFEST_LEN
const nvx::host::template::MEMORY_BLOCK_SIZE
enum nvx::host::template::Retirement
variant nvx::host::template::Retirement::Draining
field nvx::host::template::Retirement::Draining::0
variant nvx::host::template::Retirement::Retired
const nvx::host::template::SCRATCH_NAME
const nvx::host::template::SNAPSHOT_NAME
const nvx::host::template::STORE_FORMAT
const nvx::host::template::STORE_RECORD_NAME
struct nvx::host::template::StorageGeneration
method nvx::host::template::StorageGeneration::as_bytes
method nvx::host::template::StorageGeneration::from_bytes
method nvx::host::template::StorageGeneration::generate
struct nvx::host::template::Store
method nvx::host::template::Store::acquire
method nvx::host::template::Store::create
method nvx::host::template::Store::create_template
method nvx::host::template::Store::dir
method nvx::host::template::Store::id
method nvx::host::template::Store::index
method nvx::host::template::Store::leases
method nvx::host::template::Store::open
method nvx::host::template::Store::payload_dir
method nvx::host::template::Store::read_key
method nvx::host::template::Store::recover_captures
method nvx::host::template::Store::refresh_template
method nvx::host::template::Store::release
method nvx::host::template::Store::retire
method nvx::host::template::Store::select
method nvx::host::template::Store::snapshot_dir
method nvx::host::template::Store::tombstone
method nvx::host::template::Store::tombstones
struct nvx::host::template::StoreId
method nvx::host::template::StoreId::as_bytes
method nvx::host::template::StoreId::from_bytes
const nvx::host::template::TOMBSTONES_NAME
const nvx::host::template::TRANSACTION_NAME
struct nvx::host::template::TemplateKey
const nvx::host::template::TemplateKey::MAX_LEN
const nvx::host::template::TemplateKey::VERSION
method nvx::host::template::TemplateKey::boot_processors
method nvx::host::template::TemplateKey::command_line
method nvx::host::template::TemplateKey::cpu_profile
method nvx::host::template::TemplateKey::distro
method nvx::host::template::TemplateKey::filesystem_tag
method nvx::host::template::TemplateKey::from_bytes
method nvx::host::template::TemplateKey::guest_network
method nvx::host::template::TemplateKey::has_network
method nvx::host::template::TemplateKey::hypervisor
method nvx::host::template::TemplateKey::identity
method nvx::host::template::TemplateKey::invariants
method nvx::host::template::TemplateKey::memory
method nvx::host::template::TemplateKey::memory_block_size
method nvx::host::template::TemplateKey::memory_capacity
method nvx::host::template::TemplateKey::new
method nvx::host::template::TemplateKey::processors
method nvx::host::template::TemplateKey::runtime
method nvx::host::template::TemplateKey::scratch
method nvx::host::template::TemplateKey::speaks_current_contracts
method nvx::host::template::TemplateKey::time
method nvx::host::template::TemplateKey::to_bytes
struct nvx::host::template::TemplateManifest
method nvx::host::template::TemplateManifest::created_at
method nvx::host::template::TemplateManifest::hypervisor
method nvx::host::template::TemplateManifest::memory_len
method nvx::host::template::TemplateManifest::openvmm_version
method nvx::host::template::TemplateManifest::parse
method nvx::host::template::TemplateManifest::read
method nvx::host::template::TemplateManifest::state_len
method nvx::host::template::TemplateManifest::time
struct nvx::host::template::TemplatePlan
method nvx::host::template::TemplatePlan::binding
method nvx::host::template::TemplatePlan::capture_arguments
method nvx::host::template::TemplatePlan::destination
method nvx::host::template::TemplatePlan::generation
method nvx::host::template::TemplatePlan::image_capacity
method nvx::host::template::TemplatePlan::kernel_command_line
method nvx::host::template::TemplatePlan::new
method nvx::host::template::TemplatePlan::nic_arguments
method nvx::host::template::TemplatePlan::openvmm_arguments
method nvx::host::template::TemplatePlan::plan
method nvx::host::template::TemplatePlan::resources
method nvx::host::template::TemplatePlan::scratch_length
method nvx::host::template::TemplatePlan::scratch_path
method nvx::host::template::TemplatePlan::transaction
struct nvx::host::template::TemplateResources
field nvx::host::template::TemplateResources::boot_processors
field nvx::host::template::TemplateResources::memory
field nvx::host::template::TemplateResources::memory_capacity
field nvx::host::template::TemplateResources::processors
struct nvx::host::template::TimeContract
field nvx::host::template::TimeContract::apic_frequency_hz
field nvx::host::template::TimeContract::boot_id
field nvx::host::template::TimeContract::capture_monotonic_ns
field nvx::host::template::TimeContract::capture_tsc
field nvx::host::template::TimeContract::capture_utc_ns
field nvx::host::template::TimeContract::cut_to_anchor_ns
method nvx::host::template::TimeContract::eligibility
field nvx::host::template::TimeContract::host_clock
field nvx::host::template::TimeContract::host_id
field nvx::host::template::TimeContract::lineage
field nvx::host::template::TimeContract::tsc_frequency_hz
field nvx::host::template::TimeContract::tsc_tolerance_ppm
mod nvx::host::transport
struct nvx::host::transport::HostConnection
method nvx::host::transport::HostConnection::attach
Expand Down
Loading
Loading