On 10/22/2014 12:41 AM, Jun Sheng wrote: > run qemu-nbd as an inetd service has some benefits > * more scriptable, such as serve multiple images to different clients > on one ip/port > * access control using tcpd > > simple usage: > #!/bin/sh > # qemu-nbd wrapper, select image file according to client ip address > IMG_FILE=`sed -n "s/$REMOTE_HOST //p" /path/to/image_list.txt` > qemu-nbd -i 10 $IMG_FILE 10<&0- 1>/tmp/log 2>/tmp/log2
Thanks for the patch. However, it is lacking a Signed-off-by line, and was sent in an awkward manner (we prefer the patch inline as part of the mail, rather than an attachment; git send-email does this properly). You may have better luck if you review http://wiki.qemu.org/Contribute/SubmitAPatch and try again. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature