Building a VM
flowchart subgraph xenopsd VM_build[xenopsd: VM_build micro#8209;op] direction LR VM_build --> VM.build VM.build --> VM.build_domain VM.build_domain --> VM.build_domain_exn VM.build_domain_exn --> Domain.build click VM_build " https://github.com/xapi-project/xen-api/blob/83555067/ocaml/xenopsd/lib/xenops_server.ml#L2255-L2271" _blank click VM.build " https://github.com/xapi-project/xen-api/blob/83555067/ocaml/xenopsd/xc/xenops_server_xen.ml#L2290-L2291" _blank click VM.build_domain " https://github.com/xapi-project/xen-api/blob/83555067/ocaml/xenopsd/xc/xenops_server_xen.ml#L2250-L2288" _blank click VM.build_domain_exn " https://github.com/xapi-project/xen-api/blob/83555067/ocaml/xenopsd/xc/xenops_server_xen.ml#L2024-L2248" _blank click Domain.build " https://github.com/xapi-project/xen-api/blob/83555067/ocaml/xenopsd/xc/domain.ml#L1111-L1210" _blank end
Walk-through documents for the VM_build
phase:
- VM_build μ-op
Overview of the VM_build μ-op (runs after the VM_create μ-op created the domain).
- Domain.build
Prepare the build of a VM: Wait for scrubbing, do NUMA placement, run xenguest.
- xenguest
Perform building VMs: Allocate and populate the domain's system memory.