The Service VM is a lightweight, bare-metal virtual machine specifically designed to run various services for other virtual machines. It fulfills the following requirements:
The instance ID is incorporated into the CDI values calculation of each VM loaded by pVM Firmware to ensure consistent CDI values for the VM across all reboots.
Service VM is used as the bare-metal kernel for the Service VM. It shares some low-level setup, such as memory management and virtio device parsing, with pvmfw. The common setup code is grouped in libvmbase/.
The main functionality of the Service VM is to process requests from the host and provide responses for each request. The requests and responses are serialized in CBOR format and transmitted over a virtio-vsock device.
The Service VM's primary function is to facilitate VM remote attestation through Remote Key Provisioning (RKP). To perform this task, the Service VM undergoes validation by the RKP Server. It then operates as a remotely provisioned component that verifies the integrity of other virtual machines. For details, see VM remote attestation.