qemu-patch-raspberry4/include/sysemu
Laszlo Ersek c5d7f60f06 dump: populate guest_phys_blocks
While the machine is paused, in guest_phys_blocks_append() we register a
one-shot MemoryListener, solely for the initial collection of the valid
guest-physical memory ranges that happens at listener registration time.

For each range that is reported to guest_phys_blocks_region_add(), we
attempt to merge the range with the preceding one.

Ranges can only be joined if they are contiguous in both guest-physical
address space, and contiguous in host virtual address space.

The "maximal" ranges that remain in the end constitute the guest-physical
memory map that the dump will be based on.

Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=981582

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2013-08-08 11:01:46 -04:00
..
arch_init.h audio: look for the ISA and PCI buses 2013-04-29 12:16:57 -05:00
balloon.h softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
blockdev.h blockdev: Keep a copy of DriveInfo.serial 2013-03-15 16:07:49 +01:00
bt.h sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char.h chardev: fix CHR_EVENT_OPENED events for mux chardevs 2013-07-30 18:48:21 -05:00
cpus.h cpus.c: Drop unnecessary set_cpu_log() 2013-02-16 10:45:19 +00:00
device_tree.h device_tree: Add qemu_devtree_setprop_sized_cells() utility functions 2013-07-19 12:58:46 +01:00
dma.h dma: keep a device alive while it has SGLists 2013-07-04 17:42:30 +02:00
dump.h cpu: Move cpu_write_elfXX_note() functions to CPUState 2013-05-01 13:04:19 +02:00
kvm.h kvm: Change prototype of kvm_update_guest_debug() 2013-07-26 23:05:31 +02:00
memory_mapping.h dump: populate guest_phys_blocks 2013-08-08 11:01:46 -04:00
os-posix.h Add option to mlock qemu and guest memory 2013-04-22 08:52:23 -05:00
os-win32.h Add option to mlock qemu and guest memory 2013-04-22 08:52:23 -05:00
qtest.h accel: change {xen, kvm, tcg, qtest}_allowed from int to bool 2013-02-01 15:08:02 -06:00
rng-random.h sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
rng.h Trivial grammar and spelling fixes 2013-05-01 20:55:21 +04:00
seccomp.h softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
sysemu.h spice: fix display initialization 2013-07-30 10:25:47 +02:00
tpm.h tpm: reorganize headers and split hardware part 2013-04-15 18:19:25 +02:00
tpm_backend.h Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
tpm_backend_int.h tpm: reorganize headers and split hardware part 2013-04-15 18:19:25 +02:00
watchdog.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
xen-mapcache.h softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00