libxenguest

Introduction

libxenguest is a library written in C provided for the Xen Hypervisor in Dom0.

For example, it used as the low-level interface building Xen Guest domains.

Its source is located in the folder tools/libs/guest of the Xen repository.

Responsibilities

Allocating the boot memory for new & migrated VMs

One important responsibility of libxenguest is creating the memory layout of new and migrated VMs.

The boot memory setup of xenguest and libxl (used by the xl CLI command) call xc_dom_boot_mem_init() which dispatches the call to meminit_hvm() and meminit_pv() which layout, allocate and populate the boot memory of domains.

Functions