Re: [PATCH] virtio: Prepend "virtio" prefix in virtio_error

2023-05-14 Thread Alex Bennée
Maxim Kostin writes: > Rename virtio_error function to virtio_error_impl and wrap it with > virtio_error macro, it adds the "virtio" prefix to the error message. > > Remove redundant "virtio" prefixes in virtio_error calls. > > Signed-off-by: Maxim Kostin Reviewed-by: Alex Bennée -- Alex B

[PATCH] virtio: Prepend "virtio" prefix in virtio_error

2023-05-13 Thread Maxim Kostin
Rename virtio_error function to virtio_error_impl and wrap it with virtio_error macro, it adds the "virtio" prefix to the error message. Remove redundant "virtio" prefixes in virtio_error calls. Signed-off-by: Maxim Kostin --- hw/virtio/virtio.c | 10 +- include/hw/virtio/virtio