#include <crosvm_builder.h>
|
| | CrosvmBuilder () |
| |
| void | ApplyProcessRestarter (const std::string &crosvm_binary, const std::string &first_time_argument, int exit_code) |
| |
| void | AddControlSocket (const std::string &, const std::string &) |
| |
| Result< void > | AddCpus (size_t cpus, const std::string &vcpu_config_path) |
| |
| Result< void > | AddCpus (const Json::Value &) |
| |
| void | AddCpus (size_t cpus) |
| |
| void | AddHvcSink () |
| |
| void | AddHvcReadOnly (const std::string &output, bool console=false) |
| |
| void | AddHvcReadWrite (const std::string &output, const std::string &input) |
| |
| void | AddHvcSocket (const std::string &socket) |
| |
| void | AddKvmPath (const std::string &path) |
| |
| void | AddReadOnlyDisk (const std::string &path, std::optional< pci::Address > pci=std::nullopt) |
| |
| void | AddReadWriteDisk (const std::string &path, std::optional< pci::Address > pci=std::nullopt) |
| |
| void | AddSerialSink () |
| |
| void | AddSerialConsoleReadOnly (const std::string &output) |
| |
| void | AddSerialConsoleReadWrite (const std::string &output, const std::string &input, bool earlycon) |
| |
| void | AddSerial (const std::string &output, const std::string &input) |
| |
| void | AddVhostUser (const std::string &type, const std::string &socket_path, int max_queue_size=256) |
| |
| int | HvcNum () |
| |
| Command & | Cmd () |
| |
◆ CrosvmBuilder()
| cuttlefish::CrosvmBuilder::CrosvmBuilder |
( |
| ) |
|
◆ AddControlSocket()
| void cuttlefish::CrosvmBuilder::AddControlSocket |
( |
const std::string & |
control_socket, |
|
|
const std::string & |
executable_path |
|
) |
| |
◆ AddCpus() [1/3]
| Result< void > cuttlefish::CrosvmBuilder::AddCpus |
( |
const Json::Value & |
vcpu_config_json | ) |
|
◆ AddCpus() [2/3]
| void cuttlefish::CrosvmBuilder::AddCpus |
( |
size_t |
cpus | ) |
|
◆ AddCpus() [3/3]
| Result< void > cuttlefish::CrosvmBuilder::AddCpus |
( |
size_t |
cpus, |
|
|
const std::string & |
vcpu_config_path |
|
) |
| |
◆ AddHvcReadOnly()
| void cuttlefish::CrosvmBuilder::AddHvcReadOnly |
( |
const std::string & |
output, |
|
|
bool |
console = false |
|
) |
| |
◆ AddHvcReadWrite()
| void cuttlefish::CrosvmBuilder::AddHvcReadWrite |
( |
const std::string & |
output, |
|
|
const std::string & |
input |
|
) |
| |
◆ AddHvcSink()
| void cuttlefish::CrosvmBuilder::AddHvcSink |
( |
| ) |
|
◆ AddHvcSocket()
| void cuttlefish::CrosvmBuilder::AddHvcSocket |
( |
const std::string & |
socket | ) |
|
◆ AddKvmPath()
| void cuttlefish::CrosvmBuilder::AddKvmPath |
( |
const std::string & |
path | ) |
|
◆ AddReadOnlyDisk()
| void cuttlefish::CrosvmBuilder::AddReadOnlyDisk |
( |
const std::string & |
path, |
|
|
std::optional< pci::Address > |
pci = std::nullopt |
|
) |
| |
◆ AddReadWriteDisk()
| void cuttlefish::CrosvmBuilder::AddReadWriteDisk |
( |
const std::string & |
path, |
|
|
std::optional< pci::Address > |
pci = std::nullopt |
|
) |
| |
◆ AddSerial()
| void cuttlefish::CrosvmBuilder::AddSerial |
( |
const std::string & |
output, |
|
|
const std::string & |
input |
|
) |
| |
◆ AddSerialConsoleReadOnly()
| void cuttlefish::CrosvmBuilder::AddSerialConsoleReadOnly |
( |
const std::string & |
output | ) |
|
◆ AddSerialConsoleReadWrite()
| void cuttlefish::CrosvmBuilder::AddSerialConsoleReadWrite |
( |
const std::string & |
output, |
|
|
const std::string & |
input, |
|
|
bool |
earlycon |
|
) |
| |
◆ AddSerialSink()
| void cuttlefish::CrosvmBuilder::AddSerialSink |
( |
| ) |
|
◆ AddVhostUser()
| void cuttlefish::CrosvmBuilder::AddVhostUser |
( |
const std::string & |
type, |
|
|
const std::string & |
socket_path, |
|
|
int |
max_queue_size = 256 |
|
) |
| |
◆ ApplyProcessRestarter()
| void cuttlefish::CrosvmBuilder::ApplyProcessRestarter |
( |
const std::string & |
crosvm_binary, |
|
|
const std::string & |
first_time_argument, |
|
|
int |
exit_code |
|
) |
| |
◆ Cmd()
| Command & cuttlefish::CrosvmBuilder::Cmd |
( |
| ) |
|
◆ FormatPciArgument()
| std::string cuttlefish::CrosvmBuilder::FormatPciArgument |
( |
std::optional< pci::Address > |
pci | ) |
|
|
static |
◆ HvcNum()
| int cuttlefish::CrosvmBuilder::HvcNum |
( |
| ) |
|
◆ command_
| Command cuttlefish::CrosvmBuilder::command_ |
|
private |
◆ hvc_num_
| int cuttlefish::CrosvmBuilder::hvc_num_ = 0 |
|
private |
◆ serial_num_
| int cuttlefish::CrosvmBuilder::serial_num_ = 0 |
|
private |
The documentation for this class was generated from the following files: