mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Remove reduntant qemu: from error functions
This patch removes redundant "qemu:" from error functions. The link to the bitesized task is: http://wiki.qemu-project.org/Contribute/BiteSizedTasks#Error_checking Signed-off-by: Ishani Chugh <chugh.ishani@research.iiit.ac.in> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
12a95f320a
commit
d0e31a105e
6 changed files with 8 additions and 8 deletions
4
numa.c
4
numa.c
|
@ -174,7 +174,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp)
|
|||
}
|
||||
|
||||
if (node->has_mem && node->has_memdev) {
|
||||
error_setg(errp, "qemu: cannot specify both mem= and memdev=");
|
||||
error_setg(errp, "cannot specify both mem= and memdev=");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp)
|
|||
have_memdevs = node->has_memdev;
|
||||
}
|
||||
if (node->has_memdev != have_memdevs) {
|
||||
error_setg(errp, "qemu: memdev option must be specified for either "
|
||||
error_setg(errp, "memdev option must be specified for either "
|
||||
"all or no nodes");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue