Re: [Qemu-devel] [PATCH][v2] inetd enabled qemu-nbd

2014-11-03 Thread Markus Armbruster
Copying the maintainer. Please do that yourself in future patch submissions. You can list maintainers with "scripts/get_maintainer.pl --no-git-fallback *.patch". Jun Sheng writes: > run qemu-nbd as an inetd service has some benefits > * more scriptable, such as serve multiple images to differe

[Qemu-devel] [PATCH][v2] inetd enabled qemu-nbd

2014-11-02 Thread Jun Sheng
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" /pa

[Qemu-devel] [PATCH] [v2] inetd enabled qemu-nbd

2014-11-02 Thread Jun Sheng
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" /pa