[libvirt] [PATCH 10/22] qemu: Split out NBD command generation