Home
last modified time | relevance | path

Searched refs:VmManager (Results 1 – 13 of 13) sorted by relevance

/device/google/cuttlefish/host/libs/vm_manager/
Dvm_manager.cpp40 std::unique_ptr<VmManager> GetVmManager(VmmMode vmm_mode, Arch arch) { in GetVmManager()
41 std::unique_ptr<VmManager> vmm; in GetVmManager()
65 … (num_disks < VmManager::kDefaultNumBootDevices) ? num_disks : VmManager::kDefaultNumBootDevices; in ConfigureMultipleBootDevices()
70 << pci_offset + i + VmManager::kDefaultNumHvcs + VmManager::kMaxDisks - num_disks; in ConfigureMultipleBootDevices()
79 INJECT(VmmCommands(const CuttlefishConfig& config, VmManager& vmm)) in INJECT()
103 VmManager& vmm_;
109 VmManager>
Dcrosvm_manager.cpp260 fmt::format("00:{:0>2x}.0", VmManager::kGpuPciSlotNum); in BuildVhostUserGpu()
379 fmt::format(",pci-address=00:{:0>2x}.0", VmManager::kGpuPciSlotNum) + in ConfigureGpu()
540 CF_EXPECT(VmManager::kMaxDisks >= disk_num, in StartCommands()
542 << VmManager::kMaxDisks << "supported"); in StartCommands()
600 const pci::Address mobile_pci = pci::Address(0, VmManager::kNetPciDeviceNum, 1); in StartCommands()
601 const pci::Address ethernet_pci = pci::Address(0, VmManager::kNetPciDeviceNum, 2); in StartCommands()
803 for (auto i = 0; i < VmManager::kMaxDisks - disk_num; i++) { in StartCommands()
807 VmManager::kMaxDisks + VmManager::kDefaultNumHvcs, in StartCommands()
810 << VmManager::kMaxDisks + VmManager::kDefaultNumHvcs in StartCommands()
Dqemu_manager.cpp215 int pci_offset = 3 + num_gpu - VmManager::kDefaultNumHvcs; in ConfigureBootDevices()
463 fmt::format(",addr={:0>2x}.0", VmManager::kGpuPciSlotNum), in StartCommands()
607 for (auto i = 0; i < VmManager::kMaxDisks - disk_num; i++) { in StartCommands()
612 hvc_num + disk_num == VmManager::kMaxDisks + VmManager::kDefaultNumHvcs, in StartCommands()
615 << VmManager::kMaxDisks + VmManager::kDefaultNumHvcs in StartCommands()
618 CF_EXPECT(VmManager::kMaxDisks >= disk_num, in StartCommands()
620 << VmManager::kMaxDisks << "supported"); in StartCommands()
Dvm_manager.h37 class VmManager {
89 virtual ~VmManager() = default;
120 VmManager>
123 std::unique_ptr<VmManager> GetVmManager(VmmMode vmm, Arch arch);
Dqemu_manager.h32 class QemuManager : public VmManager {
Dgem5_manager.h32 class Gem5Manager : public VmManager {
Dcrosvm_manager.h32 class CrosvmManager : public VmManager {
/device/google/cuttlefish/host/commands/assemble_cvd/
Ddisk_builder.h45 DiskBuilder& VmManager(VmmMode vm_manager) &;
46 DiskBuilder VmManager(VmmMode vm_manager) &&;
Ddisk_builder.cpp94 DiskBuilder& DiskBuilder::VmManager(VmmMode vm_manager) & { in VmManager() function in cuttlefish::DiskBuilder
98 DiskBuilder DiskBuilder::VmManager(VmmMode vm_manager) && { in VmManager() function in cuttlefish::DiskBuilder
Ddisk_flags.cc515 .VmManager(config.vm_manager()) in OsCompositeDiskBuilder()
534 .VmManager(config.vm_manager()) in ApCompositeDiskBuilder()
/device/google/cuttlefish/host/commands/assemble_cvd/disk/
Dinitialize_instance_composite_disk.cc100 .VmManager(config.vm_manager()) in InitializeInstanceCompositeDisk()
119 .VmManager(config.vm_manager()) in InitializeInstanceCompositeDisk()
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc161 const vm_manager::VmManager& vm_manager, in INJECT()
417 const vm_manager::VmManager& vm_manager_;
437 const vm_manager::VmManager,
Dboot_state_machine.h27 const vm_manager::VmManager,