diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-06-24 18:55:47 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-06-09 06:59:44 +0200 |
commit | 28c78fe818257eb1229448ac672e9f350b37437d (patch) | |
tree | 0418451c7b34effc17c086b0e7d160ad546760db /include/hw/misc | |
parent | 6007523a80bc5100c22a1caf642a9e8a3ea7bd15 (diff) | |
download | qemu-28c78fe818257eb1229448ac672e9f350b37437d.zip qemu-28c78fe818257eb1229448ac672e9f350b37437d.tar.gz qemu-28c78fe818257eb1229448ac672e9f350b37437d.tar.bz2 |
hw/misc/empty_slot: Name the slots when created
Directly set the slot name when creating the device,
to display the device name in trace events.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>
Message-Id: <20200510152840.13558-8-f4bug@amsat.org>
Diffstat (limited to 'include/hw/misc')
-rw-r--r-- | include/hw/misc/empty_slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/misc/empty_slot.h b/include/hw/misc/empty_slot.h index b023bc2..dec56e5 100644 --- a/include/hw/misc/empty_slot.h +++ b/include/hw/misc/empty_slot.h @@ -14,6 +14,6 @@ #include "exec/hwaddr.h" -void empty_slot_init(hwaddr addr, uint64_t slot_size); +void empty_slot_init(const char *name, hwaddr addr, uint64_t slot_size); #endif |