From: Wei Liu Subject: Re: [RFC Patch v3 16/18] update libxl__device_disk_from_xs_be() to support blktap device Date: Fri, 12 Sep 2014 09:53:15 +0100 Message-ID: <20140912085315.GB31343@zion.uk.xensource.com> References: <1409908261-18682-1-git-send-email-wency@cn.fujitsu.com> <1409908261-18682-17-git-send-email-wency@cn.fujitsu.com> <1410176567.10156.201.camel@kazak.uk.xensource.com> <5411562D.8000604@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5411562D.8000604@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wen Congyang Cc: wei.liu2@citrix.com, Ian Campbell , Ian Jackson , Jiang Yunhong , Dong Eddie , xen devel , Shriram Rajagopalan , Yang Hongyang , Lai Jiangshan List-Id: xen-devel@lists.xenproject.org On Thu, Sep 11, 2014 at 03:58:37PM +0800, Wen Congyang wrote: > On 09/08/2014 07:42 PM, Ian Campbell wrote: > > On Fri, 2014-09-05 at 17:10 +0800, Wen Congyang wrote: > >> > >> +int libxl_string_to_format(libxl_ctx *ctx, char *s, libxl_disk_format > >> *format) > >> +{ > > > > This already exists as libxl_disk_format_to_string. > > Another question: > We store format:file to tapdisk-params/params. But we store aio if the format > is raw. libxl_disk_format_to_string() doesn't recognize aio... > I think you're talking about libxl_disk_format_from_string... FWIW, have you looked at libxl__device_disk_string_of_format? Wei. > Is it ok to change the value stored in tapdisk-params/params? > > Thanks > Wen Congyang > > > > > Ian. > > > > . > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel