summaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-07 21:36:59 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:34:32 -0600
commit0df37c411ccf9f830f38f3f6405fac9320a70bac (patch)
treea48dcc60efe8cd4e15a90fbcd876ed01f73ec901 /qerror.c
parentad382a12571dbb83f952a206ce3e46df37e89e7b (diff)
downloadqemu-0df37c411ccf9f830f38f3f6405fac9320a70bac.tar.gz
qemu-0df37c411ccf9f830f38f3f6405fac9320a70bac.tar.bz2
qemu-0df37c411ccf9f830f38f3f6405fac9320a70bac.zip
QError: new class for device encrypted errors
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Markus Armbruster <armbru@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 eb4ce33312..d90529cd49 100644
--- a/qerror.c
+++ b/qerror.c
@@ -45,6 +45,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "The command %(name) has not been found",
},
{
+ .error_fmt = QERR_DEVICE_ENCRYPTED,
+ .desc = "The %(device) is encrypted",
+ },
+ {
.error_fmt = QERR_DEVICE_NOT_FOUND,
.desc = "The %(device) device has not been found",
},