xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: "Cédric Bosdonnat" <cbosdonnat@suse.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH v2] libxl: QED disks support
Date: Mon, 12 Dec 2016 13:39:33 +0000	[thread overview]
Message-ID: <20161212133933.GX2709@citrix.com> (raw)
In-Reply-To: <20161208135250.26380-1-cbosdonnat@suse.com>

On Thu, Dec 08, 2016 at 02:52:50PM +0100, Cédric Bosdonnat wrote:
> Qdisk supports qcow and qcow2, extend it to also support qed disk
> format.
> 
> Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com>
> ---
>  v2:
>    * Add qed to the list for possible format values in xl-disk-configuration.txt
>    * Add LIBXL_HAVE_QED
> 
> ---
>  docs/misc/xl-disk-configuration.txt |    4 +-
>  tools/libxl/libxl.h                 |    7 +
>  tools/libxl/libxl_device.c          |    1 +
>  tools/libxl/libxl_dm.c              |    1 +
>  tools/libxl/libxl_types.idl         |    1 +
>  tools/libxl/libxl_utils.c           |    2 +
>  tools/libxl/libxlu_disk_l.c         | 1018 ++++++++++++++++++-----------------
>  tools/libxl/libxlu_disk_l.h         |   53 +-
>  tools/libxl/libxlu_disk_l.l         |    3 +-
>  9 files changed, 548 insertions(+), 542 deletions(-)
> 
> diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt
> index b3402bc33a..310d2586c0 100644
> --- a/docs/misc/xl-disk-configuration.txt
> +++ b/docs/misc/xl-disk-configuration.txt
> @@ -87,7 +87,7 @@ format
>  ------
>  
>  Description:           Specifies the format of image file.
> -Supported values:      raw, qcow, qcow2, vhd
> +Supported values:      raw, qcow, qcow2, vhd, qed
>  Deprecated values:     None
>  Default value:         raw
>  
> @@ -311,7 +311,7 @@ are found prepended to the format parameter - eg "tap:aio:qcow:".
>  ---------
>  
>  Description:           Specifies the format (deprecated)
> -Supported values:      raw:  qcow2:  vhd:
> +Supported values:      raw:  qcow2:  vhd:  qed:

Sorry for not having noticed this earlier: we shouldn't extend the
deprecated syntax here.

I presume there is change to .l file to support this, please remove it.

Other than the issue mentioned above, this patch looks good to me.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

      reply	other threads:[~2016-12-12 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 13:52 [PATCH v2] libxl: QED disks support Cédric Bosdonnat
2016-12-12 13:39 ` Wei Liu [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=20161212133933.GX2709@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=cbosdonnat@suse.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).