aboutsummaryrefslogtreecommitdiff
path: root/host/libs/config/cuttlefish_config.h
diff options
context:
space:
mode:
authorElie Kheirallah <khei@google.com>2024-04-17 23:56:07 +0000
committerElie Kheirallah <khei@google.com>2024-04-21 01:45:46 +0000
commit32e01973ecb13b1e41916fbcdf674ba06faffc88 (patch)
tree712b37fb8288b602c92e813b09eaf209d034738d /host/libs/config/cuttlefish_config.h
parent6ec513b15cbd6bf3b9a8e5774903780140b0066d (diff)
downloadcuttlefish-32e01973ecb13b1e41916fbcdf674ba06faffc88.tar.gz
add flag to enable usb passthrough
add enable_usb_passthrough with default value FALSE. Bug: 335492801 Test: cvd start --enable_usb=true Test: cvd start --enable_usb Test: cvd start --enable_usb=true --enable_virtiofs=false && try to snapshot the VM. Change-Id: I50c716c37bc21f661640fcde2ac92c8c87e4abe1
Diffstat (limited to 'host/libs/config/cuttlefish_config.h')
-rw-r--r--host/libs/config/cuttlefish_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/libs/config/cuttlefish_config.h b/host/libs/config/cuttlefish_config.h
index e4a924806..e24939e15 100644
--- a/host/libs/config/cuttlefish_config.h
+++ b/host/libs/config/cuttlefish_config.h
@@ -559,6 +559,7 @@ class CuttlefishConfig {
bool enable_audio() const;
bool enable_gnss_grpc_proxy() const;
bool enable_bootanimation() const;
+ bool enable_usb() const;
std::vector<std::string> extra_bootconfig_args() const;
bool record_screen() const;
std::string gem5_debug_file() const;
@@ -761,6 +762,7 @@ class CuttlefishConfig {
void set_pause_in_bootloader(bool pause_in_bootloader);
void set_run_as_daemon(bool run_as_daemon);
void set_enable_audio(bool enable);
+ void set_enable_usb(bool enable);
void set_enable_gnss_grpc_proxy(const bool enable_gnss_grpc_proxy);
void set_enable_bootanimation(const bool enable_bootanimation);
void set_extra_bootconfig_args(const std::string& extra_bootconfig_args);