aboutsummaryrefslogtreecommitdiff
path: root/page_cache.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-01-11 11:25:02 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-01-14 12:08:05 -0600
commit7868181f98ff1fbcd7f7034153eec5e03615d023 (patch)
treef21742910b9c785a0ccce41989f5f1826eb55858 /page_cache.c
parentd4f4a3efdf0a71621ae5351176f5f15b522d0026 (diff)
downloadqemu-7868181f98ff1fbcd7f7034153eec5e03615d023.zip
qemu-7868181f98ff1fbcd7f7034153eec5e03615d023.tar.gz
qemu-7868181f98ff1fbcd7f7034153eec5e03615d023.tar.bz2
qemu-ga: Handle errors uniformely in ga_channel_open()
We detect errors in several places. One reports with g_error(), which calls abort(), the others report with g_critical(). Three of them exit(), three return false. Always report with g_critical(), and return false. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> *minor fix-up of commit msg Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'page_cache.c')
0 files changed, 0 insertions, 0 deletions