diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-01-18 14:40:52 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-01-26 14:49:18 +0100 |
commit | 019b8cbf76fc3126d300c401acca3102c69e7876 (patch) | |
tree | e715e78c1c7295a98aebbb21530b1c7af2129bb3 /qerror.c | |
parent | e8a6bb9caa5379b0fcaca4e0a12aa6d2913961f3 (diff) | |
download | qemu-019b8cbf76fc3126d300c401acca3102c69e7876.zip qemu-019b8cbf76fc3126d300c401acca3102c69e7876.tar.gz qemu-019b8cbf76fc3126d300c401acca3102c69e7876.tar.bz2 |
add QERR_BASE_NOT_FOUND
This qerror will be raised when a given streaming base (backing file)
cannot be found.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qerror.c')
-rw-r--r-- | qerror.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -52,6 +52,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "Device '%(device)' can't go on a %(bad_bus_type) bus", }, { + .error_fmt = QERR_BASE_NOT_FOUND, + .desc = "Base '%(base)' not found", + }, + { .error_fmt = QERR_BLOCK_FORMAT_FEATURE_NOT_SUPPORTED, .desc = "Block format '%(format)' used by device '%(name)' does not support feature '%(feature)'", }, |