Il 22/02/2013 18:49, Dietmar Maurer ha scritto: >>>> > >> unix sockets works with qemu nbd code? >>> > > >>> > > Sure. nbd+unix:///exportname?socket=path is the new URI syntax, I >>> > > honestly forgot the old one. SCM_CREDENTIALS checks (qemu-nbd --pid >>> > > or something like that) is not supported, but patches would be very >>> > > welcome. >> > >> > Yes, this is better than my tcp suggestion. > If we use nbd, how can we pass additional information to the other side, for > example > information about unallocated regions? >
You can either send trim commands, or just skip those regions and let the other side figure it out. Paolo