Home
last modified time | relevance | path

Searched refs:config_commands (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/libs/vm_manager/
Dvm_manager.cpp111 std::vector<std::string>* config_commands) { in UserInGroup() argument
114 config_commands->push_back("# Add your user to the " + group + " group:"); in UserInGroup()
115 config_commands->push_back("sudo usermod -aG " + group + " $USER"); in UserInGroup()
136 bool VmManager::LinuxVersionAtLeast(std::vector<std::string>* config_commands, in LinuxVersionAtLeast() argument
146 config_commands->push_back("# Please upgrade your kernel to >=" + in LinuxVersionAtLeast()
153 std::vector<std::string>* config_commands) const { in ValidateHostConfiguration()
162 auto in_cvdnetwork = VmManager::UserInGroup("cvdnetwork", config_commands); in ValidateHostConfiguration()
170 VmManager::LinuxVersionAtLeast(config_commands, version, 4, 4); in ValidateHostConfiguration()
175 auto in_kvm = VmManager::UserInGroup("kvm", config_commands); in ValidateHostConfiguration()
177 VmManager::LinuxVersionAtLeast(config_commands, version, 4, 8); in ValidateHostConfiguration()
Dvm_manager.h59 std::vector<std::string>* config_commands) const;
63 std::vector<std::string>* config_commands);
67 static bool LinuxVersionAtLeast(std::vector<std::string>* config_commands,
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc464 std::vector<std::string> config_commands; in main() local
465 if (!vm_manager->ValidateHostConfiguration(&config_commands)) { in main()
468 for (auto& command : config_commands) { in main()