summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2015-04-24 19:41:26 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:48 +0300
commitc2cb2b041b56e113e43da78528c9dfd8257e0206 (patch)
tree22b2b66f92a696751d90725ef0b6652bdb68841b /backends
parent29b558d87710a962203a45d9dd57bf7eab19dca0 (diff)
downloadqemu-c2cb2b041b56e113e43da78528c9dfd8257e0206.tar.gz
qemu-c2cb2b041b56e113e43da78528c9dfd8257e0206.tar.bz2
qemu-c2cb2b041b56e113e43da78528c9dfd8257e0206.zip
hostmem: Fix mem-path property name in error report
The subtle difference between "property not found" and "property not set" is already confusing enough. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'backends')
-rw-r--r--backends/hostmem-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c
index 51799943f1..4b55361010 100644
--- a/backends/hostmem-file.c
+++ b/backends/hostmem-file.c
@@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp)
return;
}
if (!fb->mem_path) {
- error_setg(errp, "mem_path property not set");
+ error_setg(errp, "mem-path property not set");
return;
}
#ifndef CONFIG_LINUX