Lines Matching refs:memory

1 QEMU memory hotplug
4 This document explains how to use the memory hotplug feature in QEMU,
7 Guest support is required for memory hotplug to work.
12 In order to be able to hotplug memory, QEMU has to be told how many
13 hotpluggable memory slots to create and what is the maximum amount of
14 memory the guest can grow. This is done at startup time by means of
22 - "slots" is the number of hotpluggable memory slots
29 Creates a guest with 1GB of memory and three hotpluggable memory slots.
30 The hotpluggable memory slots are empty when the guest is booted, so all
31 memory the guest will see after boot is 1GB. The maximum memory the
33 hotplugged by using any combination of the available memory slots.
35 Two monitor commands are used to hotplug memory:
37 - "object_add": creates a memory backend object
44 (qemu) object_add memory-backend-ram,id=mem1,size=1G
50 Besides basic RAM hotplug, QEMU also supports using files as a memory
58 (qemu) object_add memory-backend-file,id=mem1,size=1G,mem-path=/mnt/hugepages-1GB
61 It's also possible to start a guest with memory cold-plugged into the
62 hotpluggable memory slots. This might seem counterintuitive at first,
67 2MB pages. Also, the guest has additional memory slots to hotplug more
71 -object memory-backend-file,id=mem1,size=1G,mem-path=/mnt/hugepages-1G \
73 -object memory-backend-file,id=mem2,size=256M,mem-path=/mnt/hugepages-2MB \
81 of pc-dimm device and memory backend object. The ids were assigned when you hot
82 plugged memory.
84 Two monitor commands are used to hot unplug memory:
87 - "object_del": deletes a memory backend object
89 For example, assuming that the pc-dimm device with id "dimm1" exists, and its memory