Signed-off-by: Marcelo Tosatti <mtosa...@redhat.com> Index: stefanha/qerror.c =================================================================== --- stefanha.orig/qerror.c +++ stefanha/qerror.c @@ -254,6 +254,10 @@ static const QErrorStringTable qerror_ta .error_fmt = QERR_INVALID_PARAMETER_COMBINATION, .desc = "Invalid paramter combination", }, + { + .error_fmt = QERR_BASE_ID_NOT_FOUND, + .desc = "The base id %(base_id) has not been found", + }, {} }; Index: stefanha/qerror.h =================================================================== --- stefanha.orig/qerror.h +++ stefanha/qerror.h @@ -210,4 +210,7 @@ QError *qobject_to_qerror(const QObject #define QERR_INVALID_PARAMETER_COMBINATION \ "{ 'class': 'InvalidParameterCombination', 'data': {} }" +#define QERR_BASE_ID_NOT_FOUND \ + "{ 'class': 'BaseIdNotFound', 'data': { 'base_id': %s } }" + #endif /* QERROR_H */
- [Qemu-devel] [patch 0/5] block streaming base support Marcelo Tosatti
- [Qemu-devel] [patch 2/5] block: implement bdrv_find_b... Marcelo Tosatti
- Re: [Qemu-devel] [patch 2/5] block: implement bdr... Stefan Hajnoczi
- [Qemu-devel] [patch 3/5] add QERR_BASE_ID_NOT_FOUND Marcelo Tosatti
- [Qemu-devel] [patch 5/5] add doc to describe live blo... Marcelo Tosatti
- [Qemu-devel] [patch 1/5] block: add bdrv_find_backing... Marcelo Tosatti
- [Qemu-devel] [patch 4/5] block stream: add support fo... Marcelo Tosatti
- Re: [Qemu-devel] [patch 4/5] block stream: add su... Stefan Hajnoczi
- Re: [Qemu-devel] [patch 4/5] block stream: ad... Marcelo Tosatti
- [Qemu-devel] [patch 0/4] block streaming base support... Marcelo Tosatti
- [Qemu-devel] [patch 1/4] block: add bdrv_find_bac... Marcelo Tosatti
- [Qemu-devel] [patch 3/4] block stream: add suppor... Marcelo Tosatti
- Re: [Qemu-devel] [patch 3/4] block stream: ad... Eric Blake
- Re: [Qemu-devel] [patch 3/4] block stream... Marcelo Tosatti