summaryrefslogtreecommitdiffstats
path: root/hw/mips/malta.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-06-24 18:55:47 +0200
committerPhilippe Mathieu-Daudé2020-06-09 06:59:44 +0200
commit28c78fe818257eb1229448ac672e9f350b37437d (patch)
tree0418451c7b34effc17c086b0e7d160ad546760db /hw/mips/malta.c
parenthw/misc/empty_slot: Move the 'hw/misc' and cover in MAINTAINERS (diff)
downloadqemu-28c78fe818257eb1229448ac672e9f350b37437d.tar.gz
qemu-28c78fe818257eb1229448ac672e9f350b37437d.tar.xz
qemu-28c78fe818257eb1229448ac672e9f350b37437d.zip
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 'hw/mips/malta.c')
-rw-r--r--hw/mips/malta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/malta.c b/hw/mips/malta.c
index c973c76b2a..62063b2305 100644
--- a/hw/mips/malta.c
+++ b/hw/mips/malta.c
@@ -1241,7 +1241,7 @@ void mips_malta_init(MachineState *machine)
* exception when accessing invalid memory. Create an empty slot to
* emulate this feature.
*/
- empty_slot_init(0, 0x20000000);
+ empty_slot_init("GT64120", 0, 0x20000000);
qdev_init_nofail(dev);