Am 15.11.2012 um 16:54 schrieb Paolo Bonzini <pbonz...@redhat.com>: > Il 15/11/2012 15:57, ronnie sahlberg ha scritto: >> I dont know if we should switch to use synchronous code here. >> It is much nicer if all code is async. > > bdrv_open is generally synchronous, so I think Peter's patch is ok.
would`t it be better to do the iscsi_inquiry commands and iscsi_readcapacity also sync? peter > > Paolo > >> Is it possible to add a timeout instead that would break out if the >> connect/login has not completed within a certain amount of time? >