On Mon, Jul 23, 2012 at 2:06 PM,  <benoit.ca...@gmail.com> wrote:
> From: BenoƮt Canet <ben...@irqsave.net>
>
> Signed-off-by: Benoit Canet <ben...@irqsave.net>
> ---
>  qerror.c |    4 ++++
>  qerror.h |    3 +++
>  2 files changed, 7 insertions(+)
>
> diff --git a/qerror.c b/qerror.c
> index 92c4eff..c7889fe 100644
> --- a/qerror.c
> +++ b/qerror.c
> @@ -283,6 +283,10 @@ static const QErrorStringTable qerror_table[] = {
>          .desc      = "Could not set password",
>      },
>      {
> +        .error_fmt = QERR_MIGRATION_BLOCKED_BY_STREAMING,
> +        .desc      = "Migration is blocked by streaming",

bdrv_in_use() is general and the error message should be too.  There
may be other operations besides streaming that prevent migration.

Stefan

Reply via email to