On Thu, Jun 27, 2013 at 03:11:31PM +0200, Peter Lieven wrote: > @@ -1481,7 +1483,75 @@ static int iscsi_create(const char *filename, > QEMUOptionParameter *options) > } > > ret = 0; > + > + if (iscsilun->lbpu && iscsilun->lbprz) {
Moving this block of code into a function would be nice.