CEPH filesystem development
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: libvir-list@redhat.com, sheepdog@lists.wpkg.org,
	ceph-devel@vger.kernel.org
Subject: Re: [PATCH v2] add network disk support
Date: Thu, 9 Dec 2010 11:09:25 +0000	[thread overview]
Message-ID: <20101209110925.GA5313@redhat.com> (raw)
In-Reply-To: <1291620249-19645-1-git-send-email-morita.kazutaka@lab.ntt.co.jp>

On Mon, Dec 06, 2010 at 04:24:09PM +0900, MORITA Kazutaka wrote:
> This patch adds network disk support to libvirt/QEMU.  The currently
> supported protocols are nbd, rbd, and sheepdog.  The XML syntax is like
> this:
> 
>     <disk type="network" device="disk">
>       <driver name="qemu" type="raw" />
>       <source protocol='rbd|sheepdog|nbd' name="...some image identifier...">
>         <host name="mon1.example.org" port="6000">
>         <host name="mon2.example.org" port="6000">
>         <host name="mon3.example.org" port="6000">
>       </source>
>       <target dev="vda" bus="virtio" />
>     </disk>
> 
> Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
> ---
> 
> Hi,
> 
> Thanks for your comments, Daniel.  Here is a fixed version.
> 
> Changes from v1 to v2 are:
>  - check whether the XML input is valid or not more strictly
>  - fix memory leak in the error path
>  - add NULL check of the return value of strdup()
> 
> Thanks,
> 
> Kazutaka
> 
> 
>  docs/schemas/domain.rng |   31 +++++++
>  src/conf/domain_conf.c  |   95 +++++++++++++++++++-
>  src/conf/domain_conf.h  |   20 ++++
>  src/qemu/qemu_conf.c    |  221 ++++++++++++++++++++++++++++++++++++++++++++++-
>  4 files changed, 358 insertions(+), 9 deletions(-)

ACK

Daniel

  parent reply	other threads:[~2010-12-09 11:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 20:49 [PATCH] add network disk support MORITA Kazutaka
2010-12-02 13:19 ` Daniel P. Berrange
     [not found]   ` <20101202131928.GV2502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-06  7:24     ` [PATCH v2] " MORITA Kazutaka
2010-12-07 19:54       ` [PATCH 0/2] rbd " Josh Durgin
     [not found]       ` <1291620249-19645-1-git-send-email-morita.kazutaka-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2010-12-07 19:56         ` [PATCH 1/2] qemu: Add RBD support and some network disk fixes Josh Durgin
2010-12-09 11:10           ` [libvirt] " Daniel P. Berrange
2010-12-07 19:57       ` [PATCH 2/2] tests: Add tests for network disks Josh Durgin
2010-12-09 11:10         ` [libvirt] " Daniel P. Berrange
2010-12-09 11:09       ` Daniel P. Berrange [this message]
2010-12-09 19:13         ` [libvirt] [PATCH v2] add network disk support Eric Blake
2010-12-09 21:31           ` Eric Blake

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=20101209110925.GA5313@redhat.com \
    --to=berrange@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=libvir-list@redhat.com \
    --cc=morita.kazutaka@lab.ntt.co.jp \
    --cc=sheepdog@lists.wpkg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox