Xen guest total memory size smaller than specified in virtual configuration due to Xen balloon driver
Bug #1622567 reported by
Dan Streetman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
[Impact]
On virtual systems under Xen, the kernel does not correctly calculate the total amount of memory. This results in the system having slightly less memory available for use than the actual amount provided by Xen.
[Fix]
See first comment.
[Test Case]
Load a virtual Xen guest with the latest precise (3.2) kernel, and notice that its total memory is less than what is allocated in the Xen configuration. Also possible is to load a virtual Xen guest, with the exact same Xen guest config/parameters, with the latest trusty (3.13) kernel; on trusty and later, the total amount of memory is correctly detected.
[Regression Potential]
None known.
description: | updated |
summary: |
- kernel does not calculate correct total memory size + Xen guest total memory size smaller than specified in virtual + configuration due to Xen balloon driver |
To post a comment you must log in.
This is fixed by commit: f732843b11659d8 92235faff7 (xen/balloon: Set balloon's initial state to number of existing RAM pages)
c275a57f5ec3056
which requires part of commit: 0192d80ca84d7f1 5d6dee0807 (mm: introduce helper function mem_init_ print_info( ) to simplify mem_init())
7ee3d4e8cd56050