ivshmem: use error_report
commitdbc464d401f989bbca7812b068c3aded1d834f79
authorAndrew Jones <drjones@redhat.com>
Tue, 7 Oct 2014 11:24:02 +0000 (7 13:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 Oct 2014 16:02:22 +0000 (31 17:02 +0100)
tree188ffa08bf8b4ccd62916556be2be414a09a9798
parent3a31cff11203bf62ebafa6d74b1fcf2aba345eed
ivshmem: use error_report

Replace all the fprintf(stderr, ...) calls with error_report.
Also make sure exit() consistently uses the error code 1. A few calls
used -1. While at it cleanup some indentation in the printf argument
lists.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/ivshmem.c