projects
/
invirt/packages/invirt-xen-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the fact that we can't bump RAM quotas above 2048M
[invirt/packages/invirt-xen-config.git]
/
invirt-database
diff --git
a/invirt-database
b/invirt-database
index
e5ceec1
..
adee177
100644
(file)
--- a/
invirt-database
+++ b/
invirt-database
@@
-27,7
+27,7
@@
if machine_type.hvm:
# Disable populate-on-demand
maxmem = memory
else:
- maxmem = '2048'
+ maxmem = max(memory, 4096)
check(re.match('^[A-Za-z0-9][A-Za-z0-9._-]*$', machine.name))
name = prefix + machine_name
check(re.match('^[0-9a-f-]+$', machine.uuid))