vhost-user-scsi: connect unix socket before allocating
commit0644fe4ad07ea00f45cf0a641dfa44a4247315b5
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 16 Aug 2017 18:30:31 +0000 (16 20:30 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 10 Oct 2017 21:31:08 +0000 (10 23:31 +0200)
treee26a4566664d03e522da72a3a7860dbf47e2fc4e
parentb085b050c6a6ad5160ffc371b97e2113b7de9f66
vhost-user-scsi: connect unix socket before allocating

This simplify a little bit memory management in the following patches.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
contrib/vhost-user-scsi/vhost-user-scsi.c