diff options
author | 2009-12-07 21:36:59 +0100 | |
---|---|---|
committer | 2009-12-07 16:36:49 -0600 | |
commit | bcddbd0f6aff8e0061f2ab6686b29892544a076d (patch) | |
tree | 3f6f98eb250149d4859610258abef65c05567c7b /qerror.c | |
parent | monitor: Introduce 'block_passwd' command (diff) | |
download | qemu-kvm-bcddbd0f6aff8e0061f2ab6686b29892544a076d.tar.gz qemu-kvm-bcddbd0f6aff8e0061f2ab6686b29892544a076d.tar.bz2 qemu-kvm-bcddbd0f6aff8e0061f2ab6686b29892544a076d.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>
(cherry picked from commit 0df37c411ccf9f830f38f3f6405fac9320a70bac)
Diffstat (limited to 'qerror.c')
-rw-r--r-- | qerror.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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", }, |