4 * Copyright (C) 2009 Red Hat Inc.
7 * Luiz Capitulino <lcapitulino@redhat.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
16 * These macros will go away, please don't use in new code, and do not
20 #define QERR_BUS_NO_HOTPLUG \
21 "Bus '%s' does not support hotplugging"
23 #define QERR_DEVICE_HAS_NO_MEDIUM \
24 "Device '%s' has no medium"
26 #define QERR_DEVICE_IN_USE \
27 "Device '%s' is in use"
29 #define QERR_DEVICE_NO_HOTPLUG \
30 "Device '%s' does not support hotplugging"
32 #define QERR_INVALID_PARAMETER \
33 "Invalid parameter '%s'"
35 #define QERR_INVALID_PARAMETER_TYPE \
36 "Invalid parameter type for '%s', expected: %s"
38 #define QERR_INVALID_PARAMETER_VALUE \
39 "Parameter '%s' expects %s"
41 #define QERR_IO_ERROR \
42 "An IO error has occurred"
44 #define QERR_MIGRATION_ACTIVE \
45 "There's a migration process in progress"
47 #define QERR_MISSING_PARAMETER \
48 "Parameter '%s' is missing"
50 #define QERR_PROPERTY_VALUE_BAD \
51 "Property '%s.%s' doesn't take value '%s'"
53 #define QERR_PROPERTY_VALUE_OUT_OF_RANGE \
54 "Property %s.%s doesn't take value %" PRId64 " (minimum: %" PRId64 ", maximum: %" PRId64 ")"
56 #define QERR_QGA_COMMAND_FAILED \
57 "Guest agent command failed, error was '%s'"
59 #define QERR_UNSUPPORTED \
60 "this feature or command is not currently supported"