mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-30 00:03:02 +00:00
Increate memory/performance limits
This commit is contained in:
parent
b99319a2fe
commit
17891a0024
6
appvm.go
6
appvm.go
@ -27,9 +27,9 @@ import (
|
|||||||
var xmlTmpl = `
|
var xmlTmpl = `
|
||||||
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
||||||
<name>%s</name>
|
<name>%s</name>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='GiB'>2</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
<currentMemory unit='GiB'>1</currentMemory>
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu>4</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type>
|
<type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type>
|
||||||
<kernel>%s/kernel</kernel>
|
<kernel>%s/kernel</kernel>
|
||||||
|
Loading…
Reference in New Issue
Block a user