aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:32 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:20 -0600
commit357b6156f998c007a90419f34b24b3fc1d1d4b22 (patch)
treec8f119836b1165eb597ec417c58b2c8c0f517897 /qerror.c
parentmonitor: QError support (diff)
downloadqemu-kvm-357b6156f998c007a90419f34b24b3fc1d1d4b22.tar.gz
qemu-kvm-357b6156f998c007a90419f34b24b3fc1d1d4b22.tar.bz2
qemu-kvm-357b6156f998c007a90419f34b24b3fc1d1d4b22.zip
QError: Add QERR_DEVICE_NOT_FOUND
New class for device not found errors. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qerror.c b/qerror.c
index 10b0939f6..a12e7f7b1 100644
--- a/qerror.c
+++ b/qerror.c
@@ -40,6 +40,10 @@ static const QType qerror_type = {
* "running out of foo: %(foo)%%"
*/
const QErrorStringTable qerror_table[] = {
+ {
+ .error_fmt = QERR_DEVICE_NOT_FOUND,
+ .desc = "The %(device) device has not been found",
+ },
{}
};