[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Balloon Driver Internals
Hi All, I am quite new to Xen and am trying to understand the way balloon driver works in XenoLinux. I have the following observations and questions; please correct me if I am wrong: 1. Balloon driver adds pages between xen_start_info->nr_pages and max_pfn to the ballooned list. While nr_pages is derived from the 'memory' parameter specified while creating the domain, how is the value of max_pfn evaluated/specified? 2. The memory/target in the xenstore on domain0 indicates the target number of pages for each domain. If the value changes, watch_target function of the balloon driver gets invoked. Right? Accordingly the balloon driver increases/decreases the number of pages (using increase_reservation/decrease_reservation). 3. It seems that increasing/decreasing reservation happens manually by modifying memory/target in xenstore. What all needs to be done to have a dynamic scenario where the domains can increase/decrease their reservation according to their requirements? Would this require modification to memory manager of guest OS? Consider the following scenario:
Sorry for the long mail. Thanks in advance, Gaurav _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |