X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=qm.adoc;h=06e88e3ae975b3ac0cbba4b3f257f358238c6ceb;hp=154c5c192385896a433c2d33b3b4b11bda766d7f;hb=1821b137ad48df7a9cee1d0c65db238606e12876;hpb=7eb69fd2b7da99cf24f94e8f5c66136d05a99140 diff --git a/qm.adoc b/qm.adoc index 154c5c1..06e88e3 100644 --- a/qm.adoc +++ b/qm.adoc @@ -163,7 +163,7 @@ On each controller you attach a number of emulated hard disks, which are backed by a file or a block device residing in the configured storage. The choice of a storage type will determine the format of the hard disk image. Storages which present block devices (LVM, ZFS, Ceph) will require the *raw disk image format*, -whereas files based storages (Ext4, NFS, GlusterFS) will let you to choose +whereas files based storages (Ext4, NFS, CIFS, GlusterFS) will let you to choose either the *raw disk image format* or the *QEMU image format*. * the *QEMU image format* is a copy on write format which allows snapshots, and @@ -418,27 +418,26 @@ For each VM you have the option to set a fixed size memory or asking host. .Fixed Memory Allocation -[thumbnail="gui-create-vm-memory-fixed.png"] +[thumbnail="gui-create-vm-memory.png"] -When choosing a *fixed size memory* {pve} will simply allocate what you -specify to your VM. +When setting memory and minimum memory to the same amount +{pve} will simply allocate what you specify to your VM. Even when using a fixed memory size, the ballooning device gets added to the VM, because it delivers useful information such as how much memory the guest really uses. In general, you should leave *ballooning* enabled, but if you want to disable it (e.g. for debugging purposes), simply uncheck -*Ballooning* or set +*Ballooning Device* or set balloon: 0 in the configuration. .Automatic Memory Allocation -[thumbnail="gui-create-vm-memory-dynamic.png", float="left"] // see autoballoon() in pvestatd.pm -When choosing to *automatically allocate memory*, {pve} will make sure that the +When setting the minimum memory lower than memory, {pve} will make sure that the minimum amount you specified is always available to the VM, and if RAM usage on the host is below 80%, will dynamically add memory to the guest up to the maximum memory specified. @@ -503,7 +502,8 @@ have direct access to the Ethernet LAN on which the host is located. the Qemu user networking stack, where a built-in router and DHCP server can provide network access. This built-in DHCP will serve addresses in the private 10.0.2.0/24 range. The NAT mode is much slower than the bridged mode, and -should only be used for testing. +should only be used for testing. This mode is only available via CLI or the API, +but not via the WebUI. You can also skip adding a network device when creating a VM by selecting *No network device*. @@ -884,7 +884,11 @@ Finally attach the unused disk to the SCSI controller of the VM: The VM is ready to be started. +ifndef::wiki[] include::qm-cloud-init.adoc[] +endif::wiki[] + + Managing Virtual Machines with `qm` ------------------------------------ @@ -1016,6 +1020,16 @@ CAUTION: Only do that if you are sure the action which set the lock is no longer running. +ifdef::wiki[] + +See Also +~~~~~~~~ + +* link:/wiki/Cloud-Init_Support[Cloud-Init Support] + +endif::wiki[] + + ifdef::manvolnum[] Files