|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] qemu-nbd: inetd support |
Date: | Wed, 10 Sep 2008 10:24:07 -0500 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Laurent Vivier wrote:
This patch allows to put qemu-nbd in inetd.conf by using stdin/stdout instead of a socket. This behavior is enabled by specifying "--port=0".
That's kind of non-intuitive. Why not just add a --inetd option or a flag that explicitly means read from stdio?
Regards, Anthony Liguori
example: # add in /etc/services.conf nbd 1024/tcp # add in /etc/inetd.conf nbd stream tcp nowait root /usr/local/bin/qemu-nbd /usr/local/bin/qemu-nbd --nocache --read-only --port 0 /ISO/ubuntu-7.10-desktop-amd64.iso Signed-off-by: Laurent Vivier <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |