hvlite_defs/
entrypoint.rs

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Definitions for the mesh entrypoint.
5//!
6//! These are here instead of in `openvmm_entry` to support launching hvlite from
7//! a foreign mesh host. The only supported use case is launching hvlite from
8//! petri for testing.
9
10use mesh::MeshPayload;
11use mesh_worker::WorkerHostRunner;
12
13/// The initial message to send when launching a mesh child process.
14#[derive(MeshPayload)]
15pub struct MeshHostParams {
16    pub runner: WorkerHostRunner,
17}