vhost-user-scsi: glib calls that allocate don't return NULL
commitb4fe56e9ed8d981519802d39a13a0ebb28c546d4
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 16 Aug 2017 18:40:46 +0000 (16 20:40 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 10 Oct 2017 21:31:09 +0000 (10 23:31 +0200)
treeeb608c1f9a9511cfb0ed90cef181f881d0a19c2f
parent3d9ad8be3d83519304bf8d935913567ce40a25b8
vhost-user-scsi: glib calls that allocate don't return NULL

They abort instead, so get rid of failure conditions.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
contrib/vhost-user-scsi/vhost-user-scsi.c