KVM: Use return value for error print
commit521f438e36b0265d66862e9cd35e4db82686ca9f
authorAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 14:18:09 +0000 (27 15:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Feb 2014 10:19:34 +0000 (21 11:19 +0100)
tree09934f974aef9eed87552883eec20cc5fb03ad92
parent7c08db30e6a43f7083a881eb07bfbc878e001e08
KVM: Use return value for error print

Commit 94ccff13 introduced a more verbose failure message and retry
operations on KVM VM creation. However, it ended up using a variable
for its failure message that hasn't been initialized yet.

Fix it to use the value it meant to set.

Cc: qemu-stable@nongnu.org
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm-all.c