summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2014-06-10 19:56:27 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-10 20:07:01 +0400
commit1a2858995d283ddad4a745460d1cc770a9b93fc1 (patch)
tree7186ab9b901ab1d7e67a2097d8825c1691aba478 /hw
parente2bb4ae74687c06a256d8058e340295c7a084fe4 (diff)
downloadqemu-1a2858995d283ddad4a745460d1cc770a9b93fc1.tar.gz
qemu-1a2858995d283ddad4a745460d1cc770a9b93fc1.tar.bz2
qemu-1a2858995d283ddad4a745460d1cc770a9b93fc1.zip
virtio.c: fix error message
Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index 3557c178f1..a07ae8ad91 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);
}
}