Is there a way to attach an nbd device via eg: virsh attach-device, and provide custom qemu flags? I'm particularly interested in the flag "reconnect-delay".

I'm fine with using a language binding (eg: C, Java) for this.

Thanks