qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V3 2/3] qerror: Add error telling that streaming


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH V3 2/3] qerror: Add error telling that streaming blocks migration
Date: Mon, 23 Jul 2012 14:39:14 +0100

On Mon, Jul 23, 2012 at 2:06 PM,  <address@hidden> wrote:
> From: BenoƮt Canet <address@hidden>
>
> Signed-off-by: Benoit Canet <address@hidden>
> ---
>  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

[Prev in Thread] Current Thread [Next in Thread]