Mem-hotplug » История » Версия 1
Андрей Волков, 2016-08-12 18:29
1 | 1 | Андрей Волков | h1. Добавление памяти (ACPI) |
---|---|---|---|
2 | |||
3 | *qmp-shell -H /run/qemu/qemu5521.control.sock* |
||
4 | |||
5 | <pre> |
||
6 | (QEMU) info memory-devices |
||
7 | (QEMU) object_add memory-backend-ram,id=mem1,size=2G |
||
8 | (QEMU) device_add pc-dimm,id=dimm1,memdev=mem1 |
||
9 | (QEMU) info memory-devices |
||
10 | Memory device [dimm]: "dimm1" |
||
11 | addr: 0x2c0000000 |
||
12 | slot: 0 |
||
13 | node: 0 |
||
14 | size: 2147483648 |
||
15 | memdev: /objects/mem1 |
||
16 | hotplugged: true |
||
17 | hotpluggable: true |
||
18 | </pre> |