Handle memory sizes properly.
This commit is contained in:
parent
a8dc63810d
commit
7dffeb8665
1 changed files with 2 additions and 2 deletions
|
|
@ -69,8 +69,8 @@
|
|||
</#if>
|
||||
# * Provide RAM
|
||||
- [ "-object", "memory-backend-ram,id=pc.ram,\
|
||||
size=${ vm.maximumRam!"1G" }" ]
|
||||
- [ "-m", "${ vm.maximumRam!"1G" }" ]
|
||||
size=${ (vm.maximumRam!1073741824)?c }" ]
|
||||
- [ "-m", "${ ((vm.maximumRam!1073741824)/1048576)?c }" ]
|
||||
- [ "-device", "virtio-balloon-pci,id=balloon0" ]
|
||||
<#if vm.useTpm>
|
||||
# Attach TPM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue