qemu-e2k/include/sysemu
Alexey Kardashevskiy 8072aae377 hmp: Print if memory section is registered with an accelerator
This adds an accelerator name to the "into mtree -f" to tell the user if
a particular memory section is registered with the accelerator;
the primary user for this is KVM and such information is useful
for debugging purposes.

This adds a has_memory() callback to the accelerator class allowing any
accelerator to have a label in that memory tree dump.

Since memory sections are passed to memory listeners and get registered
in accelerators (rather than memory regions), this only prints new labels
for flatviews attached to the system address space.

An example:
 Root memory region: system
  0000000000000000-0000002fffffffff (prio 0, ram): /objects/mem0 kvm
  0000003000000000-0000005fffffffff (prio 0, ram): /objects/mem1 kvm
  0000200000000020-000020000000003f (prio 1, i/o): virtio-pci
  0000200080000000-000020008000003f (prio 0, i/o): capabilities

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20190614015237.82463-1-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-07-19 19:04:49 +02:00
..
accel.h hmp: Print if memory section is registered with an accelerator 2019-07-19 19:04:49 +02:00
arch_init.h
balloon.h
block-backend.h block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
blockdev.h
bt.h
cpus.h target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
cryptodev-vhost-user.h
cryptodev-vhost.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
cryptodev.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
device_tree.h
dma.h
dump-arch.h
dump.h qapi: Split dump.json off misc.json 2019-07-02 13:37:00 +02:00
hax.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
hostmem.h qapi: Split machine.json off misc.json 2019-07-02 13:37:00 +02:00
hvf.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
hw_accel.h
iothread.h iothread: create the gcontext unconditionally 2019-03-08 10:16:15 +00:00
kvm_int.h kvm: Introduce slots lock for memory listener 2019-07-15 15:39:03 +02:00
kvm.h target/i386: kvm: Add support for save and restore nested state 2019-06-21 13:23:47 +02:00
memory_mapping.h
numa.h hw/core: Collect QMP command handlers in hw/core/ 2019-07-02 13:37:00 +02:00
os-posix.h
os-win32.h
qtest.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
replay.h
reset.h
rng-random.h
rng.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
seccomp.h
sev.h
sysemu.h vl: add qemu_add_vm_change_state_handler_prio() 2019-07-08 16:00:26 +02:00
tcg.h qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
tpm_backend.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
tpm.h
vhost-user-backend.h Add vhost-user-backend 2019-05-10 12:48:35 +02:00
watchdog.h
whpx.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
xen-mapcache.h