vmm/vmm_config/
serial.rs

1// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4use std::path::PathBuf;
5
6use serde::Deserialize;
7
8/// The body of a PUT /serial request.
9#[derive(Debug, PartialEq, Eq, Deserialize)]
10#[serde(deny_unknown_fields)]
11pub struct SerialConfig {
12    /// Named pipe or file used as output for guest serial console.
13    pub serial_out_path: Option<PathBuf>,
14}