mirror of
https://github.com/qemu/qemu.git
synced 2025-08-05 02:04:04 +00:00
virtio-bus: avoid breaking build when open DEBUG switch
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
8b310fc4f9
commit
2c80ab15e2
@ -58,7 +58,7 @@ void virtio_bus_reset(VirtioBusState *bus)
|
||||
{
|
||||
VirtIODevice *vdev = virtio_bus_get_device(bus);
|
||||
|
||||
DPRINTF("%s: reset device.\n", qbus->name);
|
||||
DPRINTF("%s: reset device.\n", BUS(bus)->name);
|
||||
if (vdev != NULL) {
|
||||
virtio_reset(vdev);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user