Searched refs:VmManager (Results 1 – 9 of 9) sorted by relevance
31 VmManager::VmManager(const vsoc::CuttlefishConfig* config) in VmManager() function in vm_manager::VmManager36 VmManager* GetManagerSingleton(const vsoc::CuttlefishConfig* config) { in GetManagerSingleton()37 static std::shared_ptr<VmManager> vm_manager(new T(config)); in GetManagerSingleton()42 std::map<std::string, VmManager::VmManagerHelper>43 VmManager::vm_manager_helpers_ = {65 VmManager* VmManager::Get(const std::string& vm_manager_name, in Get()67 if (VmManager::IsValidName(vm_manager_name)) { in Get()74 bool VmManager::IsValidName(const std::string& name) { in IsValidName()78 bool VmManager::IsVmManagerSupported(const std::string& name) { in IsVmManagerSupported()79 return VmManager::IsValidName(name) && in IsVmManagerSupported()[all …]
31 class VmManager {36 static VmManager* Get(const std::string& vm_manager_name,46 virtual ~VmManager() = default;71 VmManager(const vsoc::CuttlefishConfig* config);79 std::function<VmManager*(const vsoc::CuttlefishConfig*)> builder;
29 class QemuManager : public VmManager {
30 class CrosvmManager : public VmManager {
120 : VmManager(config) {} in CrosvmManager()
113 : VmManager(config) {} in QemuManager()
57 vm_manager::VmManager::ConfigureGpuMode(config.vm_manager(), config.gpu_mode())); in KernelCommandLineFromConfig()58 AppendVector(&kernel_cmdline, vm_manager::VmManager::ConfigureBootDevices(config.vm_manager())); in KernelCommandLineFromConfig()
348 auto vm_manager = vm_manager::VmManager::Get(config->vm_manager(), config); in main()
268 if (!vm_manager::VmManager::IsValidName(FLAGS_vm_manager)) { in InitializeCuttlefishConfiguration()271 if (!vm_manager::VmManager::IsValidName(FLAGS_vm_manager)) { in InitializeCuttlefishConfiguration()276 if (vm_manager::VmManager::ConfigureGpuMode(tmp_config_obj.vm_manager(), in InitializeCuttlefishConfiguration()