From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgxqw-0003L0-1B for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:29:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgxqr-0002Ze-CL for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:29:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgxqr-0002ZY-3X for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:29:29 -0400 Message-ID: <5447CD54.6080800@redhat.com> Date: Wed, 22 Oct 2014 09:29:24 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lI7PSP8rKQOeTC2BnKdIM0QmtkrBXH9Ls" Subject: Re: [Qemu-devel] A Patch to enable qemu-nbd run as an inetd service List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jun Sheng , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lI7PSP8rKQOeTC2BnKdIM0QmtkrBXH9Ls Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 >=20 > simple usage: > #!/bin/sh > # qemu-nbd wrapper, select image file according to client ip address > IMG_FILE=3D`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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --lI7PSP8rKQOeTC2BnKdIM0QmtkrBXH9Ls Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUR81UAAoJEKeha0olJ0Nqym8H/0+5KyIFXV1bQx2+dSSTrJ+J iOSCOEl3bLivqMusTAainQnyAljll5ZjidqcCpiTSjW4ztygCBDRLnfnl9N8zc88 Co8kq2ivDvSpfgrt4olgjWDS5ljotil0Yb+n4+xYGTdllsrZS7Y0HUiVWDzEZD8m ibawZ1Qpt/4T5OMKuBAodU63+hmXHG3Qrqd8IfnY2aUfTZ0q1UYTEAgSDsgR7rRU TUNTDkssDrK3/AujIGFTd7bV4U2W1Ji2i7uUIVa/H7qxhyHYrDqyaPxYotcu99k4 ZLkHMsKMIhex6Ekp6Of83VhFksDzkSzq2SL1gHFu7BZuljfB8MlxZ3VvH7NCLDQ= =7CfO -----END PGP SIGNATURE----- --lI7PSP8rKQOeTC2BnKdIM0QmtkrBXH9Ls--