OSDN Git Service

hw/virtio/pci: include vdev name in registered PCI sections
authorAlex Bennée <alex.bennee@linaro.org>
Sat, 13 Feb 2021 13:03:03 +0000 (13:03 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 18 Feb 2021 08:16:42 +0000 (08:16 +0000)
commitb74259e3de6c496a3fe27076e85ec63bd656b208
tree53138803202900f2df1f257e21d556179f2fc6a7
parent1af5629673bb5c1592d993f9fb6119a62845f576
hw/virtio/pci: include vdev name in registered PCI sections

When viewing/debugging memory regions it is sometimes hard to figure
out which PCI device something belongs to. Make the names unique by
including the vdev name in the name string.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20210213130325.14781-2-alex.bennee@linaro.org>
hw/virtio/virtio-pci.c