summaryrefslogtreecommitdiffstats
path: root/wiki/src/contribute/release_process/test/erase_memory_on_shutdown/qemu_pmemsave.mdwn
blob: a1902f5d679a2db3ae4fa2aadd22ed53900617ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Note that you need the qemu command, which is provided on wheezy by the `qemu-system` package.

* Start the VM
  - with default CPU (pae)

        qemu -enable-kvm -cdrom tails.iso -m 5120 -no-reboot -no-shutdown

  - with 486 CPU

        qemu -enable-kvm -cpu 486 -cdrom tails.iso -m 5120 -no-reboot -no-shutdown

* Open the qemu console (CTRL-ALT-2).
* Save physical memory to the `tails.dump` file (length is an integer, max size for one dump is 4G = 0xF0000000):

        pmemsave <start address> <length> <filename>

  e.g for 5G one has to do two dumps:

        pmemsave 0 0xF0000000 tails14.dump
        pmemsave 0x100000000 0x40000000 tails5.dump