I started investigating how virtual machines are scheduled in KVM, and stumbled upon the vm_list, but I got stuck. So what is the purpose of the vm_list? Any relation to scheduling?

有帮助吗?

解决方案

Following the basic cloud architecture which had VMs on the top of Hypervisor;

KVM ideally allocates and tracks resource of all the VMs .

The two structs mm_struct and vm_list are a part of kvm struct to maintain resource allocation to n number of VMs spawn by KVM

Hope it helped.

Cheers!!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top