mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
29b558d877
commit
c2cb2b041b
|
@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!fb->mem_path) {
|
if (!fb->mem_path) {
|
||||||
error_setg(errp, "mem_path property not set");
|
error_setg(errp, "mem-path property not set");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifndef CONFIG_LINUX
|
#ifndef CONFIG_LINUX
|
||||||
|
|
Loading…
Reference in New Issue