Device-assignment: fixup error reporting
commitca6d834930e81aa60a830ad3ae2f6bde5e08108e
authorMark McLoughlin <markmc@redhat.com>
Fri, 28 Nov 2008 17:10:43 +0000 (28 17:10 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 30 Nov 2008 10:40:11 +0000 (30 12:40 +0200)
treedfc66577890abb3df8d627ce40dd50335fe407e6
parent7865b590ac3746bc4ffd5a3d8680dd2aa5677381
Device-assignment: fixup error reporting

If kvm_assign_pci_device(), there's no need for us to print
two lines of error messages. The string translation of errno
is very useful though, so include that in the message using
strerror().

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c