* [Qemu-devel] [PATCH] virtio.c: fix error message
@ 2014-06-10 15:58 Michael Tokarev
2014-06-11 11:38 ` Benoît Canet
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2014-06-10 15:58 UTC (permalink / raw)
To: qemu-trivial; +Cc: Peter Maydell, Michael Tokarev, qemu-devel
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
hw/virtio/virtio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index 3557c17..a07ae8a 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -440,7 +440,7 @@ void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
len = sg[i].iov_len;
sg[i].iov_base = cpu_physical_memory_map(addr[i], &len, is_write);
if (sg[i].iov_base == NULL || len != sg[i].iov_len) {
- error_report("virtio: trying to map MMIO memory");
+ error_report("virtio: error trying to map MMIO memory");
exit(1);
}
}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] virtio.c: fix error message
2014-06-10 15:58 [Qemu-devel] [PATCH] virtio.c: fix error message Michael Tokarev
@ 2014-06-11 11:38 ` Benoît Canet
0 siblings, 0 replies; 2+ messages in thread
From: Benoît Canet @ 2014-06-11 11:38 UTC (permalink / raw)
To: Michael Tokarev; +Cc: qemu-trivial, Peter Maydell, qemu-devel
The Tuesday 10 Jun 2014 à 19:58:44 (+0400), Michael Tokarev wrote :
> Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> hw/virtio/virtio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
> index 3557c17..a07ae8a 100644
> --- a/hw/virtio/virtio.c
> +++ b/hw/virtio/virtio.c
> @@ -440,7 +440,7 @@ void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
> len = sg[i].iov_len;
> sg[i].iov_base = cpu_physical_memory_map(addr[i], &len, is_write);
> if (sg[i].iov_base == NULL || len != sg[i].iov_len) {
> - error_report("virtio: trying to map MMIO memory");
> + error_report("virtio: error trying to map MMIO memory");
> exit(1);
> }
> }
> --
> 1.7.10.4
>
>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-11 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 15:58 [Qemu-devel] [PATCH] virtio.c: fix error message Michael Tokarev
2014-06-11 11:38 ` Benoît Canet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).