]> git.proxmox.com Git - mirror_qemu.git/commit - hw/mem/memory-device.c
memory-device: trace when pre_plugging/plugging/unplugging
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Oct 2018 09:20:24 +0000 (11:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (06:44 -0300)
commit005feccf626ad2078e27d831173c88f29832d99e
tree34ffb74f71610c7f047bad9c4280eea284c954c1
parent8288590d230c31e891965c30fa579ba3ac0f4c80
memory-device: trace when pre_plugging/plugging/unplugging

Let's trace the address and the id of a memory device when
pre_plugging/plugging/unplugging succeeded.

Trace it when pre_plugging as well as when plugging, so we really know
when a specific address is actually used.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-17-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/mem/memory-device.c
hw/mem/pc-dimm.c
hw/mem/trace-events