]> git.proxmox.com Git - mirror_qemu.git/commit
hw/core/qdev.c: add qdev_get_human_name()
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Tue, 30 Jan 2024 07:30:31 +0000 (09:30 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 30 Jan 2024 21:19:00 +0000 (16:19 -0500)
commit956ef499902b09aa8a3e70791455ccf45645032d
tree669bbf7ddf876874cbdb993ca630e7a850af4be3
parentd5eaeefbdac30d9ca62612f18e2d3f4509272856
hw/core/qdev.c: add qdev_get_human_name()

Add a simple method to return some kind of human readable identifier for
use in error messages.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-id: 8b566bfced98ae44be1fcc1f8e7215f0c3393aa1.1706598705.git.manos.pitsidianakis@linaro.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/core/qdev.c
include/hw/qdev-core.h