summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorCole Robinson2014-03-22 00:42:27 +0100
committerLuiz Capitulino2014-04-25 15:19:59 +0200
commit0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8 (patch)
treea7d04082d3672992a751f04fd712cf61c730c20b /stubs
parentqerror.h: Remove QERR defines that are only used once (diff)
downloadqemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.tar.gz
qemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.tar.xz
qemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.zip
qerror.h: Replace QERR_NOT_SUPPORTED with QERR_UNSUPPORTED
The former is only used twice, the latter is used over 30 times, and has a nicer error message. Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/arch-query-cpu-def.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/arch-query-cpu-def.c b/stubs/arch-query-cpu-def.c
index fa6789598a..22e0b43de9 100644
--- a/stubs/arch-query-cpu-def.c
+++ b/stubs/arch-query-cpu-def.c
@@ -4,6 +4,6 @@
CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp)
{
- error_set(errp, QERR_NOT_SUPPORTED);
+ error_set(errp, QERR_UNSUPPORTED);
return NULL;
}