qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qemu-nbd: inetd support


From: Laurent Vivier
Subject: [Qemu-devel] [PATCH] qemu-nbd: inetd support
Date: Mon, 08 Sep 2008 11:30:12 +0200

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".

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>
-- 
----------------- address@hidden  ------------------
  "La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry

Attachment: qemu-nbd-inetd.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]