diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-10 23:12:44 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-11 08:14:04 -0600 |
commit | d5f1f286ef8c7c96614779a40af724d7109175d5 (patch) | |
tree | f68d17c55e0da06c5fbdbc95cb85251c7b516c5c /block-migration.c | |
parent | 49295ebc56a303a60c6ca2ead6f548eae3521150 (diff) |
block-migration: improve "Unknown flags" error message
Show the actual flags value and include "block migration" in the error
message so it's clear where the error is coming from.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1360534366-26723-2-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block-migration.c')
-rw-r--r-- | block-migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-migration.c b/block-migration.c index 9ac7de6d78..573319a305 100644 --- a/block-migration.c +++ b/block-migration.c @@ -695,7 +695,7 @@ static int block_load(QEMUFile *f, void *opaque, int version_id) (addr == 100) ? '\n' : '\r'); fflush(stdout); } else if (!(flags & BLK_MIG_FLAG_EOS)) { - fprintf(stderr, "Unknown flags\n"); + fprintf(stderr, "Unknown block migration flags: %#x\n", flags); return -EINVAL; } ret = qemu_file_get_error(f); |