> > > 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. > > So if I want to use the code from nbd.c, I need to write a specialized > BlockDriver for the vma format (to pass that to nbd_export_new())?
Yes. But I believe that would be a good thing to do anyway. For one thing, it gives you "automatic" coverage via qemu-iotests. Paolo