-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Allow KVM overcommit to work without reducing minimum VM memory when vm ballooning is disabled #7810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow KVM overcommit to work without reducing minimum VM memory when vm ballooning is disabled #7810
Changes from all commits
091ed9a
2dcc441
a5cac4c
4f82fa6
757adfc
b316059
90f9f55
6a14afd
63f3f56
d6d25e9
56fe36a
037bcbe
63cd85f
123b1e2
14c83ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -282,7 +282,7 @@ public void setMemBalloning(boolean memoryBalloning) { | |
| @Override | ||
| public String toString() { | ||
| StringBuilder response = new StringBuilder(); | ||
| response.append(String.format("<memory>%s</memory>\n", this.memory)); | ||
| response.append(String.format("<memory>%s</memory>\n", this.currentMemory)); | ||
| response.append(String.format("<currentMemory>%s</currentMemory>\n", this.currentMemory)); | ||
|
|
||
| if (this.memory > this.currentMemory) { | ||
|
|
@@ -1238,7 +1238,7 @@ public String getMemBalloonStatsPeriod() { | |
| @Override | ||
| public String toString() { | ||
| StringBuilder memBalloonBuilder = new StringBuilder(); | ||
| memBalloonBuilder.append("<memballoon model='" + memBalloonModel + "' autodeflate='on'>\n"); | ||
| memBalloonBuilder.append("<memballoon model='" + memBalloonModel + "'>\n"); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rohityadavcloud does this mean, the blocker issue #7794 is fixed here?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possibly - we need to check/test cc @DaanHoogland
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @harikrishna-patnala , yes as shown by |
||
| if (StringUtils.isNotBlank(memBalloonStatsPeriod)) { | ||
| memBalloonBuilder.append("<stats period='" + memBalloonStatsPeriod +"'/>\n"); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realised the maxRam seetting is fixed as in the KVMGuru the correct maxRam is passed now.
cc @DaanHoogland @weizhouapache let's test