qemu-file: Only set last_error if it is not already set
authorJuan Quintela <quintela@redhat.com>
Mon, 14 Jan 2013 12:36:28 +0000 (13:36 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 17 Jan 2013 12:54:16 +0000 (13:54 +0100)
commitafe419319de1e5e98b131368ba14f85f98ab3a76
tree2a826581351f961ec5e3ac90c0cd3644bbfcfd47
parent1e973051b96bac5eef46393eec15b68796e7c7d3
qemu-file: Only set last_error if it is not already set

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
savevm.c