All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <Laurent.Vivier@bull.net>, Paul.Clements@steeleye.com
Subject: Re: [Qemu-devel] [PATCH][RFC] qemu-nbd:multiple files server
Date: Wed, 10 Sep 2008 10:27:34 -0500	[thread overview]
Message-ID: <48C7E766.2040009@codemonkey.ws> (raw)
In-Reply-To: <1220867251.4147.30.camel@frecb07144>

Laurent Vivier wrote:
> This patch allows the NBD client to select the file to use.
>
> It modifies the NBD protocol to allow the client to provide a filename
> if the NBD server reports a disk size of 0.
>   

I don't have a problem with it from a client/server perspective, but we 
need to make sure that we're extending the NBD protocol in a way that's 
compatible with other implementations.

So please make sure Paul is on board with how you're extending the protocol.

Regards,

Anthony Liguori

> Example:
>
> # add in /etc/services
>
> 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 --directory /ISO
>
> In /ISO, there are:
>
> debian-31r0a-amd64-netinst.iso   openSUSE-10.3-GM-x86_64-mini.iso
> debian-40r0-i386-netinst.iso     ubuntu-6.06-desktop-amd64.iso
> debian-40r0-i386-xfce-CD-1.iso   ubuntu-7.10-desktop-amd64.iso
> debian-40r1-amd64-netinst.iso    ubuntu-8.04-desktop-i386.iso
> debian-40r1-powerpc-netinst.iso  winxp_64.iso
>
> Then I can start qemu with:
>
> x86_64-softmmu/qemu-system-x86_64 -net nic -net tap -hda new_disk.qcow2 -cdrom nbd:my_nbd_server:1024:ubuntu-6.06-desktop-amd64.iso -boot d
>
> or
>
> x86_64-softmmu/qemu-system-x86_64 -net nic -net tap -hda new_disk.qcow2 -cdrom nbd:my_nbd_server:1024:winxp_64.iso -boot d
>
> My goal is to be able to provide an install CD server, without
> configuring BOOTD/DHCP/TFTP server.
>
> Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
>   

      reply	other threads:[~2008-09-10 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08  9:47 [Qemu-devel] [PATCH][RFC] qemu-nbd:multiple files server Laurent Vivier
2008-09-10 15:27 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C7E766.2040009@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=Laurent.Vivier@bull.net \
    --cc=Paul.Clements@steeleye.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.