diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-21 19:42:26 -0400 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-04-25 09:19:59 -0400 |
commit | f231b88db14f13ee9a41599896f57f3594c1ca8b (patch) | |
tree | cc9ae0ba27b5d6718fbc78eb26ae6b3bdea02f52 /hw/9pfs | |
parent | d73f0beadb57f885e678bffc362864f4401262e0 (diff) | |
download | qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.tar.gz qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.tar.bz2 qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.zip |
qerror.h: Remove QERR defines that are only used once
Just hardcode them in the callers
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/9pfs')
-rw-r--r-- | hw/9pfs/virtio-9p.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 83e4e93983..9aa6725f09 100644 --- a/hw/9pfs/virtio-9p.c +++ b/hw/9pfs/virtio-9p.c @@ -987,8 +987,9 @@ static void v9fs_attach(void *opaque) */ if (!s->migration_blocker) { s->root_fid = fid; - error_set(&s->migration_blocker, QERR_VIRTFS_FEATURE_BLOCKS_MIGRATION, - s->ctx.fs_root ? s->ctx.fs_root : "NULL", s->tag); + error_setg(&s->migration_blocker, + "Migration is disabled when VirtFS export path '%s' is mounted in the guest using mount_tag '%s'", + s->ctx.fs_root ? s->ctx.fs_root : "NULL", s->tag); migrate_add_blocker(s->migration_blocker); } out: |