MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / guest_args

Method guest_args

cloud-hypervisor/tests/common/utils.rs:51–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49 }
50
51 pub(crate) fn guest_args(&self) -> Vec<String> {
52 match self {
53 TargetApi::HttpApi(api_socket) => {
54 vec![format!("--api-socket={}", api_socket.as_str())]
55 }
56 TargetApi::DBusApi(service_name, object_path) => {
57 vec![
58 format!("--dbus-service-name={}", service_name.as_str()),
59 format!("--dbus-object-path={}", object_path.as_str()),
60 ]
61 }
62 }
63 }
64
65 pub(crate) fn remote_args(&self) -> Vec<String> {
66 // `guest_args` and `remote_args` are consistent with each other

Callers 6

remote_argsMethod · 0.80
_test_api_create_bootFunction · 0.80
_test_api_shutdownFunction · 0.80
_test_api_deleteFunction · 0.80
_test_api_pause_resumeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected