mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-31 04:04:24 +01:00
The patchset will help users to easily enter guest VM by debug console sock. In order to enter guest VM smoothly, users needs to do some configuration, options as below: (1) Set debug_console_enabled = true with default vport 1026. (2) Or add agent.debug_console agent.debug_console_vport=<PORT> into kernel_params, and the vport is <PORT> you set. The detail of usage: $ kata-ctl exec -h kata-ctl-exec Enter into guest VM by debug console USAGE: kata-ctl exec [OPTIONS] <SANDBOX_ID> ARGS: <SANDBOX_ID> pod sandbox ID Fixes: #5340 Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
# Copyright (c) 2022 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
|
|
[package]
|
|
name = "kata-ctl"
|
|
version = "0.0.1"
|
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.31"
|
|
clap = { version = "3.2.20", features = ["derive", "cargo"] }
|
|
serde_json = "1.0.85"
|
|
thiserror = "1.0.35"
|
|
privdrop = "0.5.2"
|
|
nix = "0.25.0"
|
|
strum = "0.24.1"
|
|
strum_macros = "0.24.3"
|
|
serde = { version = "1.0.149", features = ["derive"] }
|
|
url = "2.3.1"
|
|
futures = "0.3.24"
|
|
base64 = "0.13.0"
|
|
|
|
shim-interface = { path = "../../libs/shim-interface"}
|
|
kata-types = { path = "../../libs/kata-types" }
|
|
safe-path = { path = "../../libs/safe-path" }
|
|
agent = { path = "../../runtime-rs/crates/agent"}
|
|
serial_test = "0.5.1"
|
|
vmm-sys-util = "0.11.0"
|
|
epoll = "4.0.1"
|
|
libc = "0.2.138"
|
|
slog = "2.7.0"
|
|
slog-scope = "4.4.0"
|
|
hyper = "0.14.20"
|
|
ttrpc = "0.6.0"
|
|
tokio = "1.8.0"
|
|
|
|
[target.'cfg(target_arch = "s390x")'.dependencies]
|
|
reqwest = { version = "0.11", default-features = false, features = ["json", "blocking", "native-tls"] }
|
|
|
|
[target.'cfg(not(target_arch = "s390x"))'.dependencies]
|
|
reqwest = { version = "0.11", default-features = false, features = ["json", "blocking", "rustls-tls"] }
|
|
|
|
[dev-dependencies]
|
|
semver = "1.0.12"
|
|
tempfile = "3.1.0"
|
|
test-utils = { path = "../../libs/test-utils" }
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|