Il 19/07/2013 03:13, Fam Zheng ha scritto: >>> > > Also set target->backing_file and target->backing_format here? Paolo? >> > >> > I don't think so, it is temporary while the job runs so that the NBD >> > server can already return the actual data. > OK. > > For NBD export, it's also going to have a name, to be used with > nbd_server_add. So should we call bdrv_set_in_use() here to protect > target from being used elsewhere?
I think it'd still be safe, but it's probably a good idea anyway. Paolo