Operation Walk-Throughs

Let’s trace through interesting operations to see how the whole system works.

  • Starting a VM

    Complete walkthrough of starting a VM, from receiving the request to unpause.

    • Building a VM

      After VM_create, VM_build builds the core of the domain (vCPUs, memory)

      • 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.

    • Migrating a VM

      Walkthrough of migrating a VM from one host to another.

      • Live Migration

        Sequence diagram of the process of Live Migration.

        Inspiration for other walk-throughs:

        • Shutting down a VM and waiting for it to happen
        • A VM wants to reboot itself
        • A disk is hotplugged
        • A disk refuses to hotunplug
        • A VM is suspended