mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5968 last patch fixes setting low currentMemory during
overprovision, this one explicitly tells libvirt we dont want a balloon device (won't use it anyway, and will just suck up a percent of vm memory)
This commit is contained in:
parent
0c28b66362
commit
05189361b7
|
|
@ -162,6 +162,8 @@ public class LibvirtVMDef {
|
|||
}
|
||||
if (_memBalloning) {
|
||||
resBuidler.append("<devices>\n" + "<memballoon model='virtio'/>\n" + "</devices>\n");
|
||||
} else {
|
||||
resBuidler.append("<devices>\n" + "<memballoon model='none'/>\n" + "</devices>\n");
|
||||
}
|
||||
if (_vcpu != -1) {
|
||||
resBuidler.append("<vcpu>" + _vcpu + "</vcpu>\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue